/* Admin console theme */
:root {
  --ad-accent: #4f46e5;
  --ad-accent-dark: #4338ca;
  --ad-accent-soft: #eef2ff;
  --ad-ink: #0f172a;
  --ad-ink-2: #334155;
  --ad-muted: #64748b;
  --ad-line: #e2e8f0;
  --ad-line-soft: #f1f5f9;
  --ad-bg: #f6f7fb;
  --ad-side: #0f172a;
  --ad-side-2: #1e293b;
  --bar-h: 60px;
  --side-w: 252px;
  --wp-bg: var(--ad-bg);
}

.wp-admin {
  background: var(--ad-bg);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ad-ink);
  font-family: 'Inter', 'Hind Siliguri', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bs-body-font-size: 14px;
  --bs-border-color: var(--ad-line);
  --bs-link-color-rgb: 79, 70, 229;
  --bs-link-hover-color-rgb: 67, 56, 202;
  --bs-focus-ring-color: rgba(79, 70, 229, 0.18);
}

.wp-admin a {
  color: var(--ad-accent);
  text-decoration: none;
}

.wp-admin a:hover {
  color: var(--ad-accent-dark);
}

/* ---------- Top bar ---------- */
.wp-adminbar {
  position: fixed;
  top: 0;
  left: var(--side-w);
  right: 0;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--ad-line);
  z-index: 1030;
}

.topbar-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  min-width: 0;
  white-space: nowrap;
}

.topbar-title .bi {
  font-size: 11px;
  color: #94a3b8;
}

.topbar-title strong {
  font-weight: 600;
  color: var(--ad-ink);
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--ad-line);
  background: #fff;
  color: var(--ad-ink-2);
  font-size: 18px;
}

/* ---------- Sidebar ---------- */
.wp-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--side-w);
  display: flex;
  flex-direction: column;
  background: var(--ad-side);
  color: #cbd5e1;
  z-index: 1040;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-admin .wp-sidebar a.sidebar-brand,
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  height: var(--bar-h);
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  flex-shrink: 0;
}

.sidebar-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #6366f1, #4338ca);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Hind Siliguri', sans-serif;
}

.sidebar-brand-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-brand-sub {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.3;
}

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent;
}

.sidebar-label {
  margin: 18px 10px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.wp-admin .wp-sidebar .sidebar-scroll a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  margin-bottom: 2px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.wp-sidebar .sidebar-scroll a i {
  font-size: 16px;
  width: 18px;
  text-align: center;
  color: #64748b;
  transition: color 0.15s ease;
}

.wp-admin .wp-sidebar .sidebar-scroll a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.wp-sidebar .sidebar-scroll a:hover i {
  color: #cbd5e1;
}

.wp-admin .wp-sidebar .sidebar-scroll a.current {
  background: rgba(99, 102, 241, 0.16);
  color: #fff;
  box-shadow: inset 2px 0 0 #818cf8;
}

.wp-sidebar .sidebar-scroll a.current i {
  color: #a5b4fc;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ad-side-2);
  border: 1px solid #334155;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 13px;
}

.user-name {
  display: block;
  color: #f1f5f9;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  display: block;
  color: #64748b;
  font-size: 11.5px;
  text-transform: capitalize;
}

.wp-sidebar .sidebar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  font-size: 16px;
}

.wp-sidebar .sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.wp-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1035;
}

.wp-sidebar-backdrop.show {
  display: block;
}

/* ---------- Layout ---------- */
.wp-wrap {
  padding-top: var(--bar-h);
  min-height: 100vh;
}

.wp-content {
  margin-left: var(--side-w);
  padding: 28px 32px 48px;
  max-width: calc(1440px + var(--side-w));
}

@media (max-width: 991.98px) {
  .wp-sidebar {
    transform: translateX(-100%);
  }

  .wp-sidebar.open {
    transform: translateX(0);
    box-shadow: 8px 0 30px rgba(15, 23, 42, 0.3);
  }

  .wp-adminbar {
    left: 0;
    padding: 0 14px;
  }

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

/* ---------- Headings ---------- */
.wp-heading {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ad-ink);
}

.page-sub {
  color: var(--ad-muted);
  margin: -12px 0 22px;
}

.wp-admin h2.h6,
.wp-admin .h6 {
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.wp-admin .btn {
  font-weight: 500;
  border-radius: 8px;
  --bs-btn-focus-box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

.wp-admin .btn-sm {
  padding: 5px 11px;
  font-size: 13px;
}

.btn-wp,
.wp-admin a.btn-wp,
.login-page-wrap .btn-wp {
  background: var(--ad-accent);
  border: 1px solid var(--ad-accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.25);
}

.btn-wp:hover,
.btn-wp:focus,
.wp-admin a.btn-wp:hover,
.login-page-wrap .btn-wp:hover {
  background: var(--ad-accent-dark);
  border-color: var(--ad-accent-dark);
  color: #fff;
}

.btn-outline-wp,
.wp-admin a.btn-outline-wp {
  border: 1px solid var(--ad-line);
  color: var(--ad-ink-2);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-outline-wp:hover,
.wp-admin a.btn-outline-wp:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--ad-ink);
}

.wp-admin .btn-outline-secondary,
.wp-admin a.btn-outline-secondary {
  --bs-btn-color: var(--ad-ink-2);
  --bs-btn-border-color: var(--ad-line);
  --bs-btn-bg: #fff;
  --bs-btn-hover-color: var(--ad-ink);
  --bs-btn-hover-bg: #f8fafc;
  --bs-btn-hover-border-color: #cbd5e1;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ad-ink);
  --bs-btn-active-border-color: var(--ad-ink);
  color: var(--ad-ink-2);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.wp-admin .btn-outline-secondary:hover {
  color: var(--ad-ink);
}

.wp-admin .btn-outline-secondary.active {
  color: #fff;
}

.wp-admin .btn-light {
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: #e2e8f0;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: #e2e8f0;
  color: var(--ad-ink-2);
}

.wp-admin .btn-outline-danger {
  --bs-btn-color: #dc2626;
  --bs-btn-border-color: #fecaca;
  --bs-btn-bg: #fff;
  --bs-btn-hover-bg: #dc2626;
  --bs-btn-hover-border-color: #dc2626;
}

/* ---------- Forms ---------- */
.wp-admin .form-control,
.wp-admin .form-select,
.login-page-wrap .form-control {
  border-color: #d5dbe5;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ad-ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wp-admin .form-control-sm,
.wp-admin .form-select-sm {
  font-size: 13px;
  border-radius: 7px;
  min-height: 32px;
}

.wp-admin .form-control-lg,
.login-page-wrap .form-control-lg {
  font-size: 15px;
  border-radius: 9px;
  padding: 10px 14px;
}

.wp-admin .form-control:focus,
.wp-admin .form-select:focus,
.login-page-wrap .form-control:focus {
  border-color: #a5b4fc;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.wp-admin .form-control::placeholder {
  color: #94a3b8;
}

.wp-admin .form-label,
.login-page-wrap .form-label {
  font-weight: 500;
  font-size: 13px;
  color: var(--ad-ink-2);
  margin-bottom: 6px;
}

.wp-admin .form-check-input {
  border-color: #cbd5e1;
}

.wp-admin .form-check-input:checked {
  background-color: var(--ad-accent);
  border-color: var(--ad-accent);
}

.wp-admin .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  border-color: #a5b4fc;
}

/* Settings-style form tables become a card */
.form-table {
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 20px !important;
}

.form-table th,
.form-table td {
  padding: 18px 22px !important;
  border-bottom: 1px solid var(--ad-line-soft);
  background: transparent;
}

.form-table tr:last-child th,
.form-table tr:last-child td {
  border-bottom: 0;
}

.form-table th {
  width: 230px;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ad-ink-2);
  vertical-align: top;
  padding-top: 24px !important;
}

/* ---------- Notices ---------- */
.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--ad-line);
  border-left: 4px solid #6366f1;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 12px 44px 12px 16px;
  margin-bottom: 20px;
  position: relative;
  font-weight: 500;
}

.notice::before {
  font-family: 'bootstrap-icons';
  font-size: 16px;
  content: '\f431';
  color: #6366f1;
}

.notice-success {
  border-left-color: #16a34a;
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #14532d;
}

.notice-success::before {
  content: '\f26a';
  color: #16a34a;
}

.notice-danger {
  border-left-color: #dc2626;
  background: #fef2f2;
  border-color: #fecaca;
  color: #7f1d1d;
}

.notice-danger::before {
  content: '\f33a';
  color: #dc2626;
}

.notice-info {
  border-left-color: #6366f1;
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #312e81;
}

.notice .btn-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
}

/* ---------- Cards / panels ---------- */
.postbox {
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  margin-bottom: 20px;
  overflow: hidden;
}

.postbox-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 18px;
  margin: 0;
  background: #fff;
  border-bottom: 1px solid var(--ad-line-soft);
  color: var(--ad-ink);
}

.postbox-title .bi {
  color: var(--ad-muted);
}

.postbox-title .ms-auto,
.postbox-title a {
  font-weight: 500;
  font-size: 13px;
}

.postbox > .p-3 {
  padding: 18px !important;
}

/* Stat cards */
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: 12px;
  padding: 18px;
  height: 100%;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wp-admin a.stat-card {
  color: var(--ad-ink);
}

.wp-admin a.stat-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 24px -10px rgba(79, 70, 229, 0.25);
  color: var(--ad-ink);
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 18px;
  background: var(--ad-accent-soft);
  color: var(--ad-accent);
}

.stat-icon.green { background: #ecfdf5; color: #059669; }
.stat-icon.amber { background: #fffbeb; color: #d97706; }
.stat-icon.sky { background: #f0f9ff; color: #0284c7; }
.stat-icon.rose { background: #fff1f2; color: #e11d48; }

.stat-value {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: var(--ad-muted);
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}

.glance-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.glance-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
}

.glance-list li + li {
  border-top: 1px solid var(--ad-line-soft);
}

.glance-list .bi {
  color: var(--ad-muted);
  font-size: 16px;
}

.glance-list .num {
  margin-left: auto;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- Tables ---------- */
.wp-admin .table {
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: #f8fafc;
  --bs-table-border-color: var(--ad-line-soft);
  margin-bottom: 0;
}

.wp-table {
  background: #fff;
  font-size: 13.5px;
}

.table-responsive > .wp-table,
form > .wp-table,
.wp-admin > .wp-table {
  border: 1px solid var(--ad-line);
}

.table-responsive {
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  margin-bottom: 16px;
}

.table-responsive > .wp-table {
  border: 0;
  margin-bottom: 0;
}

.wp-table > :not(caption) > * > * {
  padding: 12px 16px;
  border-bottom-color: var(--ad-line-soft);
  box-shadow: none;
}

.wp-table thead th {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ad-muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--ad-line);
  white-space: nowrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.wp-table tbody tr {
  transition: background 0.12s ease;
}

.wp-table tbody tr:hover > * {
  background: #f8fafc;
}

.wp-table tbody tr:last-child > * {
  border-bottom: 0;
}

.wp-admin .wp-table td a.fw-semibold,
.row-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ad-ink);
}

.wp-admin a.row-title {
  color: var(--ad-ink);
}

.wp-admin a.row-title:hover,
.wp-admin .wp-table td a.fw-semibold:hover {
  color: var(--ad-accent);
}

.row-actions {
  font-size: 12px;
  visibility: hidden;
  padding-top: 4px;
  color: #cbd5e1;
}

tr:hover .row-actions,
tr:focus-within .row-actions {
  visibility: visible;
}

.row-actions a,
.wp-admin .row-actions a {
  color: var(--ad-muted);
}

.wp-admin .row-actions a:hover {
  color: var(--ad-accent);
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ad-muted);
  font-size: 12px;
}

.link-btn:hover {
  color: var(--ad-accent);
}

.link-btn.text-danger:hover {
  color: #b91c1c !important;
}

@media (max-width: 767.98px) {
  .row-actions {
    visibility: visible;
  }

  .form-table th,
  .form-table td {
    display: block;
    width: 100% !important;
  }

  .form-table th {
    padding-bottom: 0 !important;
    border-bottom: 0;
  }
}

/* Filter tabs */
.subsubsub {
  list-style: none;
  padding: 4px;
  margin: 0 0 16px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  font-size: 13px;
  background: #eef0f5;
  border-radius: 10px;
}

.subsubsub a,
.wp-admin .subsubsub a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ad-muted);
}

.wp-admin .subsubsub a:hover {
  color: var(--ad-ink);
}

.wp-admin .subsubsub a.current {
  background: #fff;
  color: var(--ad-ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.subsubsub .count {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
}

/* Status badges */
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  text-transform: capitalize;
  letter-spacing: 0;
  white-space: nowrap;
}

.status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-published {
  background: #ecfdf5;
  color: #047857;
}

.status-draft {
  background: #fffbeb;
  color: #b45309;
}

.status-archived {
  background: #f1f5f9;
  color: #64748b;
}

.wp-admin .badge.text-bg-secondary {
  background: #f1f5f9 !important;
  color: var(--ad-ink-2) !important;
  font-weight: 600;
}

/* Pagination in admin */
.wp-admin .pagination .page-link {
  color: var(--ad-ink-2);
  border: 1px solid var(--ad-line);
  border-radius: 8px !important;
  min-width: 36px;
  height: 36px;
  font-size: 13px;
}

.wp-admin .pagination .page-link:hover {
  color: var(--ad-accent);
  background: var(--ad-accent-soft);
  border-color: #c7d2fe;
}

.wp-admin .pagination .page-item.active .page-link {
  background: var(--ad-accent);
  border-color: var(--ad-accent);
  color: #fff;
}

/* ---------- Story editor ---------- */
.title-input {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem) !important;
  font-weight: 700;
  font-family: 'Hind Siliguri', 'Inter', sans-serif;
  padding: 12px 16px !important;
}

.editor-wrap {
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.editor-toolbar {
  border-bottom: 1px solid var(--ad-line);
  border-radius: 12px 12px 0 0;
  background: #f8fafc;
  padding: 6px 8px !important;
  position: sticky;
  top: var(--bar-h);
  z-index: 5;
}

.editor-toolbar .btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.editor-toolbar .btn.ms-auto {
  width: auto;
  padding: 0 10px;
}

.editor-area {
  min-height: 460px;
  padding: 24px 28px;
  outline: none;
  font-family: 'Noto Serif Bengali', 'Hind Siliguri', serif;
  font-size: 17px;
  line-height: 1.95;
  max-width: none;
}

.editor-area img {
  max-width: 100%;
}

.editor-html {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  min-height: 460px;
  padding: 20px !important;
}

.category-checklist {
  max-height: 260px;
  overflow-y: auto;
}

/* ---------- Charts ---------- */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 200px;
  padding-top: 8px;
  background-image: linear-gradient(to top, var(--ad-line-soft) 1px, transparent 1px);
  background-size: 100% 25%;
}

.bar-chart .bar {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.bar-chart .bar span {
  display: block;
  width: 100%;
  background: linear-gradient(to top, #6366f1, #818cf8);
  min-height: 2px;
  border-radius: 4px 4px 0 0;
  transition: opacity 0.15s ease;
}

.bar-chart .bar:hover span {
  opacity: 0.75;
}

/* ---------- Login ---------- */
.login-page-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  font-family: 'Inter', 'Hind Siliguri', -apple-system, sans-serif;
  background: #fff;
  color: var(--ad-ink);
  font-size: 14px;
}

.login-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  color: #e2e8f0;
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(99, 102, 241, 0.35), transparent 60%),
    radial-gradient(60% 50% at 90% 90%, rgba(236, 72, 153, 0.18), transparent 60%),
    #0f172a;
  overflow: hidden;
}

.login-aside h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 12px;
  max-width: 420px;
}

.login-aside p {
  color: #94a3b8;
  max-width: 400px;
  margin: 0;
  font-size: 15px;
}

.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--ad-bg);
}

.login-box {
  width: 100%;
  max-width: 380px;
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 28px;
}

.login-logo a {
  color: inherit;
  text-decoration: none;
}

.login-box h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.login-form {
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.2);
}

.login-form .btn-wp {
  width: 100%;
  padding: 10px;
  font-weight: 600;
  border-radius: 9px;
}

.login-back {
  color: var(--ad-muted);
  text-decoration: none;
  font-size: 13px;
}

.login-back:hover {
  color: var(--ad-ink);
}

.login-page-wrap .notice {
  margin-bottom: 16px;
}

@media (max-width: 991.98px) {
  .login-page-wrap {
    grid-template-columns: 1fr;
  }

  .login-aside {
    display: none;
  }
}
