/* ==========================================
   Shout-FM Layout & Dashboard Styles
   ========================================== */

:root {
  --bg-main: #060913;
  --bg-sidebar: #0b0f19;
  --bg-card: #111827;
  --bg-card-inner: #1e293b;
  --accent-blue: #3b82f6;
  --accent-blue-hover: #2563eb;
  --accent-red: #dc2626;
  --accent-green: #22c55e;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.08);
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  margin: 0;
  padding: 0;
}

/* ==========================================
   PUBLIC STARTSEITE (INDEX.PHP / IFRAME)
   ========================================== */

.public-body {
  background: transparent !important;
  color: #ffffff;
  min-height: auto;
  padding: 0;
}

.public-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

/* HEADER BAR – IDENTISCH ZUR TRACKLISTE */
.header-bar {
  width: 100%;
  background: #111B31;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 14px 30px;
  margin-bottom: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-title h1 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.radio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4d7cfe;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1;
}

.week-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}

.kw-badge {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==========================================
   WOCHENTAGE TABS GRID
   ========================================== */

/* Gemeinsame Hintergrund-Card */
.week-days-grid {
  display: flex;
  gap: 12px;
  width: 100%;
  overflow-x: auto;

  background: #111B31;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-sizing: border-box;

  margin-bottom: 6px;
}

/* Einzelne Tages-Cards */
.day-tab {
  flex: 1;
  min-width: 85px;
  background: #192338;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: white;
  transition: all 0.2s ease;
  text-align: center;
}

/* Hover – blaue Umrandung */
.day-tab:hover {
  border-color: var(--accent-blue);
  background: #192338;
  transform: translateY(-2px);
}

/* Aktiver Tag */
.day-tab.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.day-name-short {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.day-number {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.day-count-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.68rem;
  white-space: nowrap;
  opacity: 0.85;
}

.day-tab.active .day-count-badge {
  background: rgba(0, 0, 0, 0.2);
}

/* ==========================================
   TAGES-DETAILS & SENDUNGS-CARDS
   ========================================== */

.day-detail-panel {
  background: #111B31;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  overflow: hidden;
}

.day-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  margin: 0 0 20px 0;
  padding: 0;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.day-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-icon {
  font-size: 1.1rem;
}

.day-title h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
}

.day-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-pill {
  background: var(--accent-red);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.day-summary-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.shows-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================
   EINZELNE SENDUNGS-CARD
   ========================================== */

.show-card {
  background: #101624;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.show-card:hover {
  border-color: rgba(77, 124, 254, 0.8);
  background: #101624;
  box-shadow: 0 4px 20px rgba(77, 124, 254, 0.2);
}

.show-time-box {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 95px;
  text-align: center;
  flex-shrink: 0;
}

.time-start {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent-blue);
}

.time-end {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.show-info {
  flex: 1;
  min-width: 0;
}

.show-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.show-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
}

.show-dj {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.show-description {
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
}

/* FIX FÜR BILDGRÖSSE & PLACEHOLDER */
.show-image {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.show-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.show-image-placeholder span {
  font-size: 1.8rem;
}

.empty-shows {
  color: var(--text-muted);
  text-align: center;
  padding: 40px 0;
  font-size: 0.95rem;
}

/* ==========================================
   ADMIN & SIDEBAR LAYOUT STYLES
   ========================================== */

.admin-body {
  margin: 0;
  background: var(--bg-main);
}

.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
}

.sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
}

.sidebar-nav {
  padding: 20px 12px;
  flex: 1;
  overflow-y: auto;
}

.nav-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding: 12px 12px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2px;
  transition: all 0.15s ease;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.nav-item.active {
  background: var(--accent-blue);
  color: white;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-circle {
  width: 36px;
  height: 36px;
  background: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}

.user-role {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.btn-logout {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
}

.btn-logout:hover {
  color: var(--accent-red);
}

.admin-content {
  margin-left: 260px;
  padding: 40px;
  flex: 1;
  max-width: 1200px;
}

.admin-content h1 {
  font-size: 1.8rem;
  margin: 0 0 6px 0;
}

.subtitle {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.card-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  flex: 1;
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-sidebar);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: white;
  box-sizing: border-box;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--accent-blue);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
}

/* ==========================================
   SYSTEM MELDUNGEN
   ========================================== */

.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.alert-error {
  background-color: #7f1d1d;
  border: 2px solid #ef4444;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

/* ==========================================
   WOCHEN-GRID TABLE (SENDEPLANUNG.PHP)
   ========================================== */

.grid-container {
  overflow-x: auto;
}

.schedule-grid {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.schedule-grid th,
.schedule-grid td {
  border: 1px solid var(--border-color);
  padding: 8px;
  vertical-align: top;
  text-align: left;
}

.schedule-grid th {
  background: var(--bg-sidebar);
  padding: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.time-col {
  width: 70px;
  text-align: center !important;
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 0.85rem;
  background: var(--bg-sidebar);
}

.grid-show-card {
  background: var(--accent-blue);
  color: white;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
  cursor: pointer;
}

.grid-show-card:hover {
  transform: translateY(-2px);
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 117, 255, 0.35);
}

/* ==========================================
   RESPONSIVE ANPASSUNG FÜR MOBILE ENDGERÄTE
   ========================================== */

@media (max-width: 640px) {

  .public-container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .day-detail-panel {
    background: #111B31;
    padding: 16px 12px;
  }

  .header-bar {
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 2px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

  .logo-title {
    justify-content: flex-start;
    width: 100%;
  }

  .week-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .week-days-grid {
    margin-bottom: 2px;
  }

  .show-card {
    flex-direction: column;
    background: #101624;
  }

  .show-time-box {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    background: rgba(59, 130, 246, 0.1) !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
  }

  .show-time-box .time-start {
    color: var(--accent-blue) !important;
  }

  .show-time-box .time-end {
    color: var(--text-secondary) !important;
  }
}

/* ==========================================
   SEITENVERWALTUNG
   ========================================== */

.pages-admin {
  max-width: 1450px;
}

.page-admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.page-admin-eyebrow {
  color: var(--accent-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.page-admin-hero h1 {
  margin: 0 0 7px;
}

.page-admin-hero p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.55;
}

.page-admin-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  gap: 20px;
  align-items: start;
}

.page-list-card,
.page-editor-card {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.025);
}

.panel-heading h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: #fff;
}

.panel-heading span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.editor-badge {
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #7fb0ff !important;
  font-weight: 700;
}

.managed-page-list {
  padding: 10px;
}

.managed-page-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: 0.18s ease;
  margin-bottom: 6px;
}

.managed-page-item:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border-color);
}

.managed-page-item.selected {
  background: rgba(59, 130, 246, 0.09);
  border-color: rgba(59, 130, 246, 0.35);
}

.managed-page-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #18243b;
  font-size: 1.25rem;
}

.managed-page-info {
  min-width: 0;
  flex: 1;
}

.managed-page-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.managed-page-slug {
  color: var(--text-muted);
  font: 12px ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.managed-page-meta {
  display: flex;
  gap: 8px;
  margin-top: 7px;
  align-items: center;
  flex-wrap: wrap;
}

.page-status {
  font-size: 0.7rem;
  font-weight: 700;
}

.page-status.is-active {
  color: #4ade80;
}

.page-status.is-inactive {
  color: #94a3b8;
}

.page-tag {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 0.66rem;
}

.managed-page-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.managed-page-actions form {
  margin: 0;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font: 600 0.82rem inherit;
  cursor: pointer;
  transition: 0.18s ease;
  box-sizing: border-box;
}

.page-btn-primary {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 0 5px 16px rgba(59, 130, 246, 0.18);
}

.page-btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
}

.page-btn-edit {
  background: rgba(59, 130, 246, 0.1);
  color: #8bb7ff;
  border-color: rgba(59, 130, 246, 0.24);
}

.page-btn-edit:hover {
  background: rgba(59, 130, 246, 0.18);
  color: #fff;
}

.page-btn-danger {
  background: rgba(220, 38, 38, 0.09);
  color: #fca5a5;
  border-color: rgba(220, 38, 38, 0.2);
}

.page-btn-danger:hover {
  background: #dc2626;
  color: #fff;
}

.page-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border-color: var(--border-color);
}

.page-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.page-alert {
  margin-bottom: 18px;
  padding: 12px 15px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.88rem;
}

.page-alert-success {
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.page-alert-error {
  color: #fca5a5;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.page-editor-form {
  padding: 22px;
}

.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.editor-content-group {
  margin-top: 2px;
}

.editor-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}

.editor-label-row label {
  margin: 0;
}

.editor-label-row span {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.page-editor-form .form-group label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.page-editor-form .form-group input,
.page-editor-form textarea {
  width: 100%;
  background: #0b1120;
  color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 11px 12px;
  outline: none;
}

.page-editor-form .form-group input:focus,
.page-editor-form textarea:focus {
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.page-editor-form textarea {
  min-height: 430px;
  resize: vertical;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--border-color);
}

.editor-buttons {
  display: flex;
  gap: 8px;
}

.page-switch {
  display: flex !important;
  align-items: center;
  gap: 9px;
  color: #cbd5e1 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  margin: 0 !important;
}

.page-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-switch span {
  width: 38px;
  height: 21px;
  border-radius: 999px;
  background: #334155;
  position: relative;
  transition: 0.2s;
}

.page-switch span:after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s;
}

.page-switch input:checked + span {
  background: var(--accent-blue);
}

.page-switch input:checked + span:after {
  transform: translateX(17px);
}

.page-editor-empty {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 35px;
}

.page-editor-empty .empty-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.page-editor-empty h2 {
  margin: 0 0 8px;
  color: #fff;
}

.page-editor-empty p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 380px;
  line-height: 1.6;
}

.managed-page-card {
  max-width: 1200px;
  margin: 0 auto;
  color: #d1d5db;
  line-height: 1.7;
}

.managed-page-header {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
  padding-bottom: 15px;
}

.managed-page-header h1 {
  margin: 0;
  color: #fff;
}

.managed-page-content:empty {
  min-height: 360px;
}

/* ==========================================
   RESPONSIVE SEITENVERWALTUNG
   ========================================== */

@media (max-width: 1000px) {

  .page-admin-layout {
    grid-template-columns: 1fr;
  }

  .page-admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {

  .admin-content {
    margin-left: 0;
    padding: 20px 14px;
  }

  .sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
  }

  .admin-wrapper {
    display: block;
  }

  .page-admin-hero {
    gap: 15px;
  }

  .page-admin-hero form,
  .page-admin-hero .page-btn {
    width: 100%;
  }

  .managed-page-item {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .managed-page-actions {
    width: 100%;
    justify-content: flex-start;
    padding-left: 55px;
  }

  .editor-grid {
    grid-template-columns: 1fr;
  }

  .editor-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .editor-buttons {
    width: 100%;
  }

  .editor-buttons .page-btn {
    flex: 1;
  }
}