/* ================================================================
   SCASPA SPMS — Global Design System
   Premium Professional Dark UI
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --brand-900: #0f172a;
  --brand-800: #1e293b;
  --brand-700: #1e3a5f;
  --brand-600: #1d4ed8;
  --brand-500: #1a56db;
  --brand-400: #3b82f6;
  --brand-300: #60a5fa;
  --brand-100: #dbeafe;
  --brand-50:  #eff6ff;

  /* Accent Gold */
  --gold-500: #d97706;
  --gold-400: #f59e0b;
  --gold-100: #fef3c7;

  /* Success */
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;

  /* Danger */
  --red-600:   #dc2626;
  --red-500:   #ef4444;
  --red-100:   #fee2e2;

  /* Warning */
  --amber-600: #d97706;
  --amber-100: #fef3c7;

  /* Neutrals */
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  /* Layout */
  --sidebar-width: 260px;
  --header-height: 64px;
  --border-radius: 10px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.15);
  --shadow-xl:  0 25px 80px rgba(0,0,0,0.25);

  /* Transition */
  --transition: 0.2s ease;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; color: var(--gray-800); background: var(--gray-100); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-500); text-decoration: none; }
a:hover { color: var(--brand-600); }
img { max-width: 100%; height: auto; }
button { cursor: pointer; }

/* ── Typography ─────────────────────────────────────────────────── */
h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; color: var(--gray-900); }
h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; color: var(--gray-900); }
h3 { font-size: 18px; font-weight: 600; color: var(--gray-800); }
h4 { font-size: 15px; font-weight: 600; color: var(--gray-700); }
p  { color: var(--gray-600); line-height: 1.7; }

/* ── Layout ─────────────────────────────────────────────────────── */
.app-wrapper { display: flex; min-height: 100vh; }

/* ── Sidebar ────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  background: var(--brand-900);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.sidebar-logo-text h2 { font-size: 16px; font-weight: 700; color: #fff; }
.sidebar-logo-text p  { font-size: 10px; color: rgba(255,255,255,0.5); line-height: 1.2; margin-top: 1px; }

.sidebar-nav { padding: 16px 12px; flex: 1; }
.nav-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  color: rgba(255,255,255,0.3); text-transform: uppercase;
  padding: 16px 8px 8px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  color: rgba(255,255,255,0.7); font-size: 13.5px; font-weight: 500;
  transition: all var(--transition);
  margin-bottom: 2px;
  position: relative;
}
.nav-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-item.active {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff; box-shadow: 0 4px 12px rgba(26,86,219,0.4);
}
.nav-item .nav-icon { width: 20px; text-align: center; font-size: 16px; flex-shrink: 0; }
.nav-item .nav-badge {
  margin-left: auto; background: var(--red-500); color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 10px;
  padding: 1px 6px; min-width: 18px; text-align: center;
}
.nav-item .nav-chevron { margin-left: auto; font-size: 11px; opacity: 0.6; }
.nav-sub { padding-left: 20px; overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.nav-sub.open { max-height: 200px; }
.nav-sub .nav-item { font-size: 13px; }

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  cursor: pointer; transition: background var(--transition);
}
.sidebar-user:hover { background: rgba(255,255,255,0.08); }
.sidebar-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff; flex-shrink: 0;
  overflow: hidden;
}
.sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-user-info h4 { font-size: 13px; font-weight: 600; color: #fff; }
.sidebar-user-info p  { font-size: 11px; color: rgba(255,255,255,0.4); }

/* ── Main Content ───────────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Top Header ─────────────────────────────────────────────────── */
.top-header {
  height: var(--header-height);
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-left { display: flex; align-items: center; gap: 16px; }
.header-breadcrumb { font-size: 13px; color: var(--gray-500); }
.header-breadcrumb .current { font-weight: 600; color: var(--gray-800); }
.page-title-h { font-size: 18px; font-weight: 700; color: var(--gray-900); }

.header-right { display: flex; align-items: center; gap: 16px; }
.header-time { font-size: 12px; color: var(--gray-500); font-weight: 500; }

.notif-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gray-100); border: none;
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: background var(--transition);
  font-size: 18px; cursor: pointer;
}
.notif-btn:hover { background: var(--gray-200); }
.notif-badge {
  position: absolute; top: -2px; right: -2px;
  width: 18px; height: 18px; background: var(--red-500);
  color: #fff; border-radius: 50%; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* ── Page Content ───────────────────────────────────────────────── */
.page-content { padding: 28px; flex: 1; }
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 28px; gap: 16px;
}
.page-header-info h1 { font-size: 24px; margin-bottom: 4px; }
.page-header-info p  { font-size: 13px; color: var(--gray-500); }
.page-header-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── Cards ──────────────────────────────────────────────────────── */
.card {
  background: #fff; border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  overflow: hidden;
}
.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between;
}
.card-header h3 { font-size: 16px; font-weight: 600; }
.card-body { padding: 24px; }
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

/* Stat Cards */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card {
  background: #fff; border-radius: var(--border-radius-lg);
  padding: 24px; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--stat-color, var(--brand-500)), transparent);
}
.stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--stat-bg, var(--brand-50));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.stat-value { font-size: 32px; font-weight: 800; color: var(--gray-900); line-height: 1; }
.stat-label { font-size: 13px; color: var(--gray-500); margin-top: 6px; font-weight: 500; }
.stat-change {
  font-size: 12px; font-weight: 600; margin-top: 8px;
  display: flex; align-items: center; gap: 4px;
}
.stat-change.up   { color: var(--green-600); }
.stat-change.down { color: var(--red-600); }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 20px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition);
  text-decoration: none; line-height: 1.4;
}
.btn-primary   { background: var(--brand-500); color: #fff; }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 4px 12px rgba(26,86,219,0.35); color: #fff; }
.btn-success   { background: var(--green-600); color: #fff; }
.btn-success:hover { background: #15803d; color: #fff; }
.btn-danger    { background: var(--red-600); color: #fff; }
.btn-danger:hover  { background: #b91c1c; color: #fff; }
.btn-warning   { background: var(--amber-600); color: #fff; }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-300); }
.btn-secondary:hover { background: var(--gray-200); color: var(--gray-800); }
.btn-outline   { background: transparent; color: var(--brand-500); border: 1.5px solid var(--brand-500); }
.btn-outline:hover { background: var(--brand-50); }
.btn-sm  { padding: 6px 14px; font-size: 12.5px; border-radius: 6px; }
.btn-lg  { padding: 13px 28px; font-size: 15px; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: 8px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Forms ──────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-weight: 600; font-size: 13px;
  color: var(--gray-700); margin-bottom: 7px;
}
.form-label .required { color: var(--red-500); margin-left: 2px; }
.form-control {
  width: 100%; border: 1.5px solid var(--gray-300);
  border-radius: 8px; padding: 10px 14px; font-size: 14px;
  color: var(--gray-800); background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(26,86,219,0.12); }
.form-control:disabled { background: var(--gray-50); color: var(--gray-500); }
.form-control.is-invalid { border-color: var(--red-500); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.form-hint { font-size: 12px; color: var(--gray-500); margin-top: 6px; }
.form-error { font-size: 12px; color: var(--red-600); margin-top: 6px; }
.form-row { display: grid; gap: 20px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.form-file-upload {
  border: 2px dashed var(--gray-300); border-radius: 10px;
  padding: 28px; text-align: center; cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.form-file-upload:hover { border-color: var(--brand-400); background: var(--brand-50); }
.form-file-upload input[type=file] { display: none; }

/* ── Tables ─────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
table { width: 100%; border-collapse: collapse; background: #fff; }
thead { background: var(--gray-50); }
th { padding: 12px 16px; font-size: 12px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.8px; text-align: left; border-bottom: 1px solid var(--gray-200); white-space: nowrap; }
td { padding: 14px 16px; font-size: 13.5px; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background var(--transition); }
tbody tr:hover { background: var(--gray-50); }
.table-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--gray-200); }

/* ── Badges ─────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.badge-success  { background: var(--green-100);  color: var(--green-600);  }
.badge-danger   { background: var(--red-100);    color: var(--red-600);    }
.badge-warning  { background: var(--amber-100);  color: var(--amber-600);  }
.badge-info     { background: var(--brand-100);  color: var(--brand-600);  }
.badge-secondary{ background: var(--gray-100);   color: var(--gray-600);   }
.badge-primary  { background: var(--brand-100);  color: var(--brand-700);  }
.badge-dark     { background: var(--gray-800);   color: #fff;              }

/* ── Flash Alerts ───────────────────────────────────────────────── */
.flash {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 10px; margin-bottom: 20px;
  font-size: 14px; font-weight: 500; animation: slideDown 0.3s ease;
  border-left: 4px solid;
}
.flash-success { background: var(--green-100); border-color: var(--green-600); color: #166534; }
.flash-error   { background: var(--red-100);   border-color: var(--red-600);   color: #991b1b; }
.flash-warning { background: var(--amber-100); border-color: var(--amber-600); color: #92400e; }
.flash-info    { background: var(--brand-100); border-color: var(--brand-500); color: #1e40af; }
.flash-icon    { font-weight: 800; font-size: 16px; }
.flash-close   { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 18px; opacity: 0.5; }
.flash-close:hover { opacity: 1; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ── Modals ─────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: #fff; border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl); width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.96); transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header { padding: 24px 28px; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 17px; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border: none; background: var(--gray-100); border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.modal-body { padding: 28px; }
.modal-footer { padding: 20px 28px; border-top: 1px solid var(--gray-100); display: flex; justify-content: flex-end; gap: 10px; background: var(--gray-50); }

/* ── Pagination ─────────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 24px; }
.page-link { padding: 7px 13px; border-radius: 7px; border: 1px solid var(--gray-300); color: var(--gray-700); font-size: 13px; font-weight: 500; transition: all var(--transition); }
.page-link:hover { background: var(--brand-50); border-color: var(--brand-300); color: var(--brand-600); }
.page-link.active { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.page-link.disabled { opacity: 0.4; pointer-events: none; }

/* ── Miscellaneous ──────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 24px 0; }
.text-muted { color: var(--gray-500); }
.text-sm    { font-size: 12.5px; }
.font-bold  { font-weight: 700; }
.d-flex     { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray-400); }
.empty-state .icon { font-size: 48px; margin-bottom: 12px; }
.empty-state h3 { font-size: 16px; color: var(--gray-600); }
.empty-state p  { font-size: 13px; }

/* Tooltip */
[data-tooltip] { position: relative; }
[data-tooltip]::after { content: attr(data-tooltip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--gray-900); color: #fff; font-size: 11.5px; padding: 5px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s; z-index: 999; }
[data-tooltip]:hover::after { opacity: 1; }

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 10px;
  box-shadow: var(--shadow-lg); z-index: 200;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: all 0.15s ease;
}
.dropdown.open .dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13.5px; color: var(--gray-700); cursor: pointer; transition: background var(--transition); }
.dropdown-item:hover { background: var(--gray-50); color: var(--gray-900); }
.dropdown-item:first-child { border-radius: 10px 10px 0 0; }
.dropdown-item:last-child  { border-radius: 0 0 10px 10px; }
.dropdown-divider { border-top: 1px solid var(--gray-100); margin: 4px 0; }

/* Steps (Workflow Indicator) */
.workflow-steps { display: flex; align-items: center; margin-bottom: 32px; }
.workflow-step { display: flex; align-items: center; flex: 1; }
.step-circle { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; transition: all var(--transition); }
.step-circle.pending   { background: var(--gray-200); color: var(--gray-500); }
.step-circle.active    { background: var(--brand-500); color: #fff; box-shadow: 0 0 0 4px rgba(26,86,219,0.2); }
.step-circle.completed { background: var(--green-600); color: #fff; }
.step-info { margin-left: 10px; }
.step-info h5 { font-size: 13px; font-weight: 600; color: var(--gray-800); }
.step-info p  { font-size: 11px; color: var(--gray-500); }
.step-connector { flex: 1; height: 2px; background: var(--gray-200); margin: 0 12px; }
.step-connector.done { background: var(--green-600); }

/* ── Responsive ─────────────────────────────────────────────────── */
.menu-toggle { display: none; width: 40px; height: 40px; border: none; background: none; font-size: 22px; cursor: pointer; color: var(--gray-700); }
@media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .page-content { padding: 16px; }
  .page-header { flex-direction: column; }
}
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* ── Login Page ─────────────────────────────────────────────────── */
.login-page {
  min-height: 100vh; display: flex;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
}
.login-left {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 60px;
  background: linear-gradient(135deg, rgba(26,86,219,0.1) 0%, rgba(15,23,42,0.8) 100%);
}
.login-hero h1 { font-size: 42px; color: #fff; margin-bottom: 16px; }
.login-hero h1 span { color: var(--brand-400); }
.login-hero p { color: rgba(255,255,255,0.6); font-size: 16px; max-width: 400px; }
.login-features { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.login-feature { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.7); font-size: 14px; }
.login-feature-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.login-right {
  width: 480px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 40px; background: #fff;
}
.login-box { width: 100%; max-width: 360px; }
.login-box .logo { margin-bottom: 36px; }
.login-box .logo-name { font-size: 22px; font-weight: 800; color: var(--gray-900); }
.login-box .logo-sub  { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.login-box h2 { font-size: 24px; margin-bottom: 6px; }
.login-box p.sub { font-size: 14px; color: var(--gray-500); margin-bottom: 32px; }

@media (max-width: 900px) {
  .login-left { display: none; }
  .login-right { width: 100%; }
}
