/* ============================================================
   GMSystem — Premium Executive Theme
   Tokens keep spa-* names. Palette: deep navy + champagne gold.
   ============================================================ */
:root {
  --spa-dark: #071018;
  --spa-brown-dark: #0c2137;
  --spa-brown: #1a4a73;
  --spa-brown-mid: #2d6a99;
  --spa-brown-light: #7eb6d9;
  --spa-tan: #d4b45a;
  --spa-cream: #f3efe4;
  --spa-white: #fbf9f4;
  --spa-pastel1: #e6dcc4;
  --spa-pastel2: #d9e6f0;
  --spa-pastel3: #cfd8c8;
  --spa-pastel4: #f0e6d0;
  --spa-gold: #c9a227;
  --spa-gold-light: #e8d48b;
  --sidebar-width: 268px;
  --header-height: 62px;
  --transition: all 0.28s ease;
  --glass: rgba(251, 249, 244, 0.72);
  --ink: #102033;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(201,162,39,0.12), transparent 50%),
    radial-gradient(900px 500px at -10% 110%, rgba(26,74,115,0.10), transparent 55%),
    var(--spa-cream);
  color: var(--spa-dark);
  margin: 0;
  padding: 0;
  font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--spa-brown-dark);
}

a { color: var(--spa-brown); text-decoration: none; }
a:hover { color: var(--spa-gold); }

/* Tom Select */
.ts-wrapper { width: 100%; }
.ts-wrapper .ts-control {
  background: var(--spa-white);
  border: 1.5px solid rgba(201,162,39,0.28);
  border-radius: 10px;
  padding: 5px 30px 5px 10px;
  min-height: 38px;
  color: var(--spa-dark);
  font-size: 0.82rem;
  font-family: 'Poppins', sans-serif;
  box-shadow: none;
}
.ts-wrapper.focus .ts-control {
  border-color: var(--spa-gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.16);
}
.ts-dropdown {
  border: 1.5px solid rgba(201,162,39,0.28);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(7,16,24,0.16);
  font-size: 0.82rem;
  background: var(--spa-white);
  z-index: 1060;
}

/* Layout */
.app-wrapper { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  background:
    linear-gradient(180deg, #071018 0%, #0c2137 55%, #12324f 100%);
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 8px 0 32px rgba(7,16,24,0.28);
}
.sidebar::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(500px 240px at 20% 0%, rgba(201,162,39,0.18), transparent 70%);
}
.sidebar.collapsed { width: 64px; }

.sidebar-header {
  padding: 1.15rem 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(201,162,39,0.22);
  min-height: var(--header-height);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.sidebar-header .brand { display: flex; align-items: center; gap: 10px; overflow: hidden; min-width: 0; flex: 1; }
.sidebar-header .brand-icon-sm {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--spa-gold), #8a6d16);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(201,162,39,0.35);
}
.sidebar-header .brand-icon-sm i { color: #fff; font-size: 1.05rem; }
.sidebar-header .brand-text {
  color: #f7f1df;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;
}
.sidebar-header .brand-sub {
  color: var(--spa-gold-light);
  font-size: 0.62rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.toggle-btn {
  margin-left: auto;
  background: none;
  border: 1px solid rgba(201,162,39,0.25);
  color: var(--spa-gold-light);
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.6rem 0 1rem;
  position: relative;
  z-index: 1;
}
.sidebar-nav::-webkit-scrollbar { width: 6px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(201,162,39,0.35); border-radius: 3px; }

.nav-group { margin-bottom: 2px; }
.nav-group-header, .nav-single {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  color: #d8cda8;
  cursor: pointer;
  transition: var(--transition);
}
.nav-group-header:hover, .nav-single:hover { background: rgba(201,162,39,0.12); color: var(--spa-gold-light); }
.nav-group-header.active, .nav-single.active { background: rgba(201,162,39,0.18); color: var(--spa-gold); }
.nav-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.nav-label { flex: 1; font-size: 0.82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-arrow { font-size: 0.7rem; transition: transform 0.3s; }
.nav-group-header.open .nav-arrow { transform: rotate(90deg); }
.nav-children { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.nav-children.open { max-height: 800px; }
.nav-child-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 52px;
  color: #cbbf96;
  font-size: 0.8rem;
  transition: var(--transition);
}
.nav-child-item:hover { background: rgba(201,162,39,0.1); color: #f7f1df; }
.nav-child-item.active {
  background: linear-gradient(90deg, rgba(201,162,39,0.28), transparent);
  color: var(--spa-gold-light);
  border-left: 3px solid var(--spa-gold);
  padding-left: 49px;
}

.sidebar.collapsed .nav-label,
.sidebar.collapsed .nav-arrow,
.sidebar.collapsed .brand-text,
.sidebar.collapsed .brand-sub { display: none; }

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(201,162,39,0.2);
  position: relative; z-index: 1;
}
.sidebar-user { display: flex; align-items: center; gap: 10px; }
.user-avatar, .avatar-sm {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--spa-gold), var(--spa-brown-mid));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; flex-shrink: 0;
}
.sidebar-user .user-name { color: #f7f1df; font-size: 0.8rem; font-weight: 600; }
.sidebar-user .user-role { color: var(--spa-gold-light); font-size: 0.68rem; letter-spacing: 0.5px; text-transform: uppercase; }
.sidebar.collapsed .sidebar-user .user-info { display: none; }

.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: var(--transition);
}
.main-content.expanded { margin-left: 64px; }

.top-header {
  height: var(--header-height);
  background: rgba(251,249,244,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,162,39,0.18);
  display: flex; align-items: center;
  padding: 0 1.5rem;
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 8px 24px rgba(7,16,24,0.05);
  gap: 1rem;
}
.page-title {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--spa-brown-dark);
  font-family: 'Playfair Display', serif;
}
.breadcrumb-nav { font-size: 0.75rem; color: #8a8374; }
.breadcrumb-nav a { color: var(--spa-brown-mid); }
.breadcrumb-nav span.sep { margin: 0 6px; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--spa-cream);
  border: 1px solid var(--spa-pastel1);
  display: flex; align-items: center; justify-content: center;
  color: var(--spa-brown); cursor: pointer;
}
.header-btn:hover { background: var(--spa-tan); color: var(--spa-brown-dark); }
.live-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.8px;
  color: #1b5e20; background: #e8f5e9; border-radius: 20px; padding: 4px 10px;
}
.live-chip .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #43a047;
  box-shadow: 0 0 0 0 rgba(67,160,71,0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(67,160,71,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(67,160,71,0); }
  100% { box-shadow: 0 0 0 0 rgba(67,160,71,0); }
}

.user-dropdown-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--spa-cream);
  border: 1px solid var(--spa-pastel1);
  border-radius: 12px; padding: 6px 12px; cursor: pointer;
}
.user-dropdown-btn .uname { font-size: 0.8rem; font-weight: 600; color: var(--spa-brown-dark); }
.avatar-sm { width: 28px; height: 28px; font-size: 0.75rem; }

.content-body { flex: 1; padding: 1.5rem; }

/* Cards */
.card-spa {
  background: linear-gradient(180deg, #fffcf7 0%, #fbf9f4 100%);
  border: 1px solid rgba(201,162,39,0.16);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(12,33,55,0.06);
  margin-bottom: 1.2rem;
}
.card-spa .card-header-spa {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(201,162,39,0.14);
  display: flex; align-items: center; gap: 10px;
  border-radius: 16px 16px 0 0;
}
.card-spa .card-header-spa h5 {
  margin: 0; font-size: 0.98rem; font-weight: 700; color: var(--spa-brown-dark);
}
.card-spa .card-header-spa .header-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #efe3bf, #e6dcc4);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--spa-brown); font-size: 0.85rem;
}
.card-spa .card-body-spa { padding: 1.25rem; }

.stat-card {
  background: linear-gradient(180deg, #fff 0%, #fbf9f4 100%);
  border-radius: 16px; padding: 1.2rem;
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid rgba(201,162,39,0.16);
  box-shadow: 0 10px 24px rgba(12,33,55,0.05);
  transition: var(--transition);
  height: 100%;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(12,33,55,0.1); }
.stat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; flex-shrink: 0;
}
.stat-icon.brown  { background: linear-gradient(135deg, #efe3bf, #e6dcc4); color: var(--spa-brown-dark); }
.stat-icon.green  { background: linear-gradient(135deg, #c8e6c8, #a8d8a8); color: #2e7d32; }
.stat-icon.purple { background: linear-gradient(135deg, #e0d0f0, #c8b0e8); color: #6a1b9a; }
.stat-icon.blue   { background: linear-gradient(135deg, #c8daf0, #a8c4e8); color: #1565c0; }
.stat-icon.gold   { background: linear-gradient(135deg, #f5e8c0, #e8cc80); color: #8B6914; }
.stat-value { font-size: 1.45rem; font-weight: 700; color: var(--spa-brown-dark); line-height: 1.1; }
.stat-label { font-size: 0.75rem; color: #7a7468; margin-top: 4px; }
.stat-trend.up { color: #2e7d32; font-size: 0.72rem; }
.stat-trend.down { color: #c62828; font-size: 0.72rem; }

.table-spa { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.table-spa thead th {
  background: linear-gradient(135deg, var(--spa-brown-dark), var(--spa-brown));
  color: var(--spa-gold-light);
  padding: 10px 12px; text-align: left; font-weight: 600; white-space: nowrap; border: none;
}
.table-spa thead th:first-child { border-radius: 10px 0 0 0; }
.table-spa thead th:last-child  { border-radius: 0 10px 0 0; }
.table-spa tbody tr { border-bottom: 1px solid rgba(201,162,39,0.1); }
.table-spa tbody tr:hover { background: rgba(232,201,160,0.18); }
.table-spa tbody td { padding: 9px 12px; color: var(--spa-dark); vertical-align: middle; }
.table-spa tfoot td {
  padding: 9px 12px; background: rgba(232,201,160,0.15); font-weight: 600;
  border-top: 2px solid rgba(201,162,39,0.3);
}

.btn-spa {
  border: none; border-radius: 9px; padding: 7px 14px;
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; position: relative;
}
.btn-spa:hover { transform: translateY(-1px); text-decoration: none; }
.btn-spa-primary   { background: linear-gradient(135deg, var(--spa-brown-dark), var(--spa-brown-mid)); color: #fff; }
.btn-spa-secondary { background: var(--spa-cream); border: 1px solid var(--spa-pastel1); color: var(--spa-brown); }
.btn-spa-success   { background: linear-gradient(135deg, #2e7d32, #43a047); color: #fff; }
.btn-spa-danger    { background: linear-gradient(135deg, #b71c1c, #e53935); color: #fff; }
.btn-spa-warning   { background: linear-gradient(135deg, #e65100, #f57c00); color: #fff; }
.btn-spa-info      { background: linear-gradient(135deg, #1565c0, #1976d2); color: #fff; }
.btn-spa-gold      { background: linear-gradient(135deg, var(--spa-gold), #8a6d16); color: #fff; }
.btn-spa-sm        { padding: 4px 10px; font-size: 0.75rem; }

.badge-spa {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 600;
}
.badge-open      { background: #e3f2fd; color: #1565c0; }
.badge-confirmed { background: #e8f5e9; color: #2e7d32; }
.badge-done      { background: #f3e5f5; color: #6a1b9a; }
.badge-cancel    { background: #ffebee; color: #c62828; }
.badge-void      { background: #424242; color: #eee; }
.badge-paid      { background: #e8f5e9; color: #2e7d32; }
.badge-active    { background: #e8f5e9; color: #2e7d32; }
.badge-inactive  { background: #fce4ec; color: #880e4f; }
.badge-pending   { background: #fff8e1; color: #e65100; }
.badge-ok        { background: #e8f5e9; color: #2e7d32; }
.badge-fail      { background: #ffebee; color: #c62828; }
.badge-unknown   { background: #eceff1; color: #546e7a; }

.form-spa-label {
  font-size: 0.8rem; font-weight: 600; color: var(--spa-brown-dark);
  margin-bottom: 4px; display: block;
}
.form-spa-control {
  width: 100%; padding: 8px 12px;
  border: 1.5px solid rgba(201,162,39,0.3);
  border-radius: 10px; background: var(--spa-white);
  color: var(--spa-dark); font-size: 0.83rem; transition: var(--transition);
}
.form-spa-control:focus {
  outline: none; border-color: var(--spa-gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.14); background: #fff;
}
.form-spa-control-sm { padding: 5px 10px; font-size: 0.78rem; min-height: 34px; }
.form-spa-group { margin-bottom: 1rem; }

.modal-spa .modal-content {
  border-radius: 16px; border: 1px solid rgba(201,162,39,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}
.modal-spa .modal-header {
  background: linear-gradient(135deg, var(--spa-brown-dark), var(--spa-brown));
  color: white; border-radius: 16px 16px 0 0; padding: 1rem 1.5rem; border-bottom: none;
}
.modal-spa .modal-header .modal-title { font-family: 'Playfair Display', serif; font-size: 1rem; }
.modal-spa .modal-header .btn-close { filter: brightness(10); }
.modal-spa .modal-body { padding: 1.5rem; background: var(--spa-white); }
.modal-spa .modal-footer {
  background: var(--spa-cream); border-radius: 0 0 16px 16px;
  border-top: 1px solid rgba(201,162,39,0.2); padding: 1rem 1.5rem;
}

.spa-spinner {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(12,33,55,0.15);
  border-top-color: var(--spa-gold);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.toast-spa {
  position: fixed; top: 74px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px; max-width: 340px;
}
.toast-item {
  background: var(--spa-white);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 12px; padding: 12px 16px;
  display: flex; gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-left: 4px solid var(--spa-gold);
}
.toast-item.success { border-left-color: #43a047; }
.toast-item.error { border-left-color: #e53935; }

.text-brown { color: var(--spa-brown); }
.text-brown-dark { color: var(--spa-brown-dark); }
.text-gold { color: var(--spa-gold); }
.rounded-spa { border-radius: 12px; }
.mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }

.sidebar-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999;
}
.sidebar-overlay.show { display: block; }

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  background: #071018;
}
.login-visual {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  background:
    radial-gradient(800px 400px at 20% 20%, rgba(201,162,39,0.22), transparent 55%),
    radial-gradient(700px 500px at 90% 80%, rgba(45,106,153,0.35), transparent 60%),
    linear-gradient(160deg, #071018 0%, #0c2137 50%, #12324f 100%);
}
.login-visual h1 {
  color: #f7f1df;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 0.4rem;
  position: relative;
  z-index: 2;
}
.login-visual p {
  color: rgba(232,212,139,0.85);
  max-width: 480px;
  position: relative;
  z-index: 2;
  margin: 0;
}
.net-node {
  position: absolute;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--spa-gold);
  box-shadow: 0 0 16px rgba(201,162,39,0.8);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.login-panel {
  width: min(460px, 100%);
  background: linear-gradient(180deg, #fbf9f4, #f3efe4);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.5rem;
}
.login-card {
  width: 100%; max-width: 400px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 22px;
  padding: 2rem 1.6rem;
  box-shadow: 0 24px 60px rgba(7,16,24,0.18);
}
.login-card .brand-mark {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--spa-brown-dark), var(--spa-gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(12,33,55,0.25);
}
.btn-spa-login {
  width: 100%; justify-content: center;
  background: linear-gradient(135deg, var(--spa-brown-dark), var(--spa-brown-mid));
  color: #fff; border: none; border-radius: 12px; padding: 12px; font-weight: 600;
}

/* Entity / report extras */
.entity-card, .report-chip {
  cursor: pointer; transition: var(--transition);
}
.entity-card {
  border: 1.5px solid rgba(201,162,39,0.18);
  border-radius: 16px; padding: 1rem;
  background: #fff;
  height: 100%;
}
.entity-card:hover, .entity-card.active {
  border-color: var(--spa-gold);
  box-shadow: 0 12px 28px rgba(12,33,55,0.1);
  transform: translateY(-2px);
}
.entity-card.active { background: linear-gradient(180deg, #fffaf0, #fff); }
.report-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(201,162,39,0.25);
  background: #fff; font-size: 0.8rem; font-weight: 600; color: var(--spa-brown-dark);
}
.report-chip.active {
  background: linear-gradient(135deg, var(--spa-brown-dark), var(--spa-brown));
  color: var(--spa-gold-light); border-color: transparent;
}
.check-tile {
  display: flex; align-items: flex-start; gap: 10px;
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 12px; padding: 12px 14px; background: #fff;
}
.check-tile input { margin-top: 4px; accent-color: var(--spa-gold); }

.kpi-mini {
  border-radius: 14px; padding: 1rem;
  background: linear-gradient(180deg, #fff, #f7f2e6);
  border: 1px solid rgba(201,162,39,0.16);
}
.kpi-mini .v { font-size: 1.25rem; font-weight: 700; color: var(--spa-brown-dark); }
.kpi-mini .l { font-size: 0.72rem; color: #7a7468; }

.host-url { font-size: 0.72rem; color: #6d675b; word-break: break-all; }

/* Mobile / PWA */
body.mode-mobile .sidebar,
body.mode-mobile .sidebar-overlay { display: none !important; }
body.mode-mobile .main-content { margin-left: 0 !important; }
body.mode-mobile .content-body { padding: 1rem 1rem 5.5rem; }
.mobile-tabbar {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  background: rgba(7,16,24,0.94);
  border: 1px solid rgba(201,162,39,0.28);
  border-radius: 18px;
  padding: 8px;
  z-index: 1100;
  justify-content: space-around;
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
body.mode-mobile .mobile-tabbar { display: flex; }
.mobile-tabbar a {
  color: #cbbf96; font-size: 0.68rem; text-align: center;
  display: flex; flex-direction: column; gap: 3px; padding: 6px 8px;
  font-weight: 600;
}
.mobile-tabbar a i { font-size: 1.05rem; }
.mobile-tabbar a.active { color: var(--spa-gold-light); }

.mode-switch {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.4px;
  border-radius: 999px; padding: 4px 10px;
  border: 1px solid rgba(201,162,39,0.3);
  background: #fff; color: var(--spa-brown-dark);
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-content { margin-left: 0 !important; }
  .content-body { padding: 1rem; }
  .login-visual { display: none; }
  .login-panel { width: 100%; min-height: 100vh; }
}

@media print {
  .sidebar, .top-header, .mobile-tabbar, .btn-spa { display: none !important; }
  .main-content { margin-left: 0 !important; }
}
