/* ==========================================================================
   ABHYASIKA OWNER MANAGEMENT SYSTEM — MODERN MASTER STYLESHEET
   Clean, Elegant, Ultra-Intuitive, Adaptable & High-Performance UI
   ========================================================================== */

@import url('variables.css');

/* ==========================================================================
   1. BASE RESET & GLOBAL DEFAULTS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: var(--font-family-base);
  font-size: var(--font-size-body);
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

#auth-view-container {
  height: 100vh;
  width: 100vw;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* App Shell Structure */
.app-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-width: 0;
  background-color: var(--bg-primary);
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

.view-container {
  flex: 1;
  padding: var(--layout-page-padding);
  max-width: var(--content-max-width);
  width: 100%;
  margin: 0 auto;
}

/* Modern Sleek Scrollbars */
.sidebar::-webkit-scrollbar {
  width: 5px;
}
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: var(--border-primary, #E2E8F0);
  border-radius: 4px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-muted, #94A3B8);
}

.main-wrapper::-webkit-scrollbar {
  width: 7px;
}
.main-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.main-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--border-subtle, #CBD5E1);
  border-radius: 6px;
}
.main-wrapper::-webkit-scrollbar-thumb:hover {
  background-color: var(--border-primary, #94A3B8);
}

/* ==========================================================================
   2. SIDEBAR NAVIGATION
   ========================================================================== */
.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  max-width: var(--sidebar-width);
  background-color: var(--surface-primary);
  border-right: 1px solid var(--border-primary);
  display: flex;
  flex-direction: column;
  height: 100vh;
  flex-shrink: 0;
  position: relative;
  z-index: var(--z-sidebar);
  transition: width var(--motion-sidebar), min-width var(--motion-sidebar), max-width var(--motion-sidebar);
  user-select: none;
  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed-width);
  min-width: var(--sidebar-collapsed-width);
  max-width: var(--sidebar-collapsed-width);
}

.sidebar-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  height: var(--topbar-height);
  min-height: var(--topbar-height);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  border: 1px solid var(--border-primary);
}

.sidebar-brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-details {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  opacity: 1;
  transition: opacity var(--motion-normal);
}

.sidebar.collapsed .brand-details {
  opacity: 0;
  pointer-events: none;
  display: none;
}

.brand-name {
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  color: var(--brand-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

.sidebar-nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.nav-group-title {
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 0 12px;
  margin-bottom: 4px;
  white-space: nowrap;
}

.sidebar.collapsed .nav-group-title {
  display: none;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-input);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  font-size: 13.5px;
  cursor: pointer;
  transition: all var(--motion-btn);
  position: relative;
  white-space: nowrap;
}

.nav-item:hover {
  background-color: var(--surface-subtle);
  color: var(--text-primary);
}

.nav-item.active {
  background-color: var(--brand-light);
  color: var(--brand-primary);
  font-weight: var(--font-weight-semibold);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background-color: var(--brand-primary);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.nav-icon {
  font-size: 16px;
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar.collapsed .nav-label {
  display: none;
}

.nav-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background-color: var(--status-danger-bg);
  color: var(--status-danger-text);
  border: 1px solid var(--status-danger-border);
}

.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* Mobile Sidebar Drawer */
@media (max-width: 900px) {
  html, body {
    overflow: auto;
    overflow-x: hidden;
  }

  .app-container {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .main-wrapper {
    height: auto;
    min-height: 100vh;
    overflow-y: visible;
  }

  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -280px;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    height: 100vh;
    z-index: var(--z-sidebar);
    box-shadow: var(--shadow-modal);
    transition: left var(--motion-sidebar);
  }

  .sidebar.mobile-open {
    left: 0;
  }

  .sidebar.collapsed {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
  }

  .sidebar.collapsed .brand-details,
  .sidebar.collapsed .nav-label,
  .sidebar.collapsed .nav-group-title {
    display: block !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   3. TOPBAR HEADER
   ========================================================================== */
.topbar {
  height: var(--topbar-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: var(--z-topbar);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.toggle-sidebar-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-input);
  color: var(--text-secondary);
  font-size: 18px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-primary);
  transition: all var(--motion-btn);
}

.toggle-sidebar-btn:hover {
  background: var(--border-primary);
  color: var(--text-primary);
}

.greeting-block {
  display: flex;
  flex-direction: column;
}

.greeting-text {
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  line-height: 1.2;
}

.greeting-date {
  font-size: 12px;
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-action-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-input);
  background: var(--surface-subtle);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-secondary);
  position: relative;
  transition: all var(--motion-btn);
}

.topbar-action-btn:hover {
  background: var(--border-primary);
  color: var(--text-primary);
}

.notification-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  background-color: var(--color-orange-500);
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  display: none;
}

.notification-dropdown-wrap {
  position: relative;
}

.notification-panel-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-modal);
  z-index: var(--z-modal);
  overflow: hidden;
  animation: dropdownFadeIn 160ms var(--ease-standard);
}

.notification-panel-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-subtle);
}

.notification-panel-body {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px 0;
}

.notification-panel-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-subtle);
}

/* Owner Profile Pill */
.owner-profile-menu-wrap {
  position: relative;
}

.owner-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  border: 1px solid var(--border-primary);
  cursor: pointer;
  transition: all var(--motion-btn);
}

.owner-profile-pill:hover {
  background: #FFFFFF;
  border-color: var(--brand-border);
  box-shadow: var(--shadow-xs);
}

.owner-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.owner-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.owner-name {
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  line-height: 1.2;
}

.owner-role {
  font-size: 11px;
  color: var(--text-muted);
}

.profile-caret {
  font-size: 11px;
  color: var(--text-dim);
}

.profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 230px;
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-modal);
  z-index: var(--z-modal);
  overflow: hidden;
  padding: 6px;
  animation: dropdownFadeIn 160ms var(--ease-standard);
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-dropdown-header {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-dropdown-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.profile-dropdown-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.profile-dropdown-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-dropdown-email {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}

.profile-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-dropdown-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-input);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--motion-btn);
}

.profile-dropdown-list li:hover {
  background: var(--surface-subtle);
  color: var(--text-primary);
}

.profile-dropdown-list li.logout-item:hover {
  background: var(--status-danger-bg);
  color: var(--status-danger-text);
}

/* ==========================================================================
   4. BUTTONS & INTERACTIVE CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family-base);
  font-size: 13.5px;
  font-weight: var(--font-weight-semibold);
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  transition: all var(--motion-btn);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.3;
  user-select: none;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(249, 115, 22, 0.25);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: var(--brand-hover);
  box-shadow: 0 3px 8px rgba(249, 115, 22, 0.35);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--surface-subtle);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background-color: var(--surface-subtle);
  color: var(--text-primary);
}

.btn-danger {
  background-color: var(--status-danger);
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
  background-color: var(--color-red-700);
}

.btn-danger-outline {
  background-color: #FFFFFF;
  color: var(--status-danger);
  border: 1px solid var(--status-danger-border);
}

.btn-danger-outline:hover {
  background-color: var(--status-danger-bg);
  border-color: var(--status-danger);
}

.btn-success {
  background-color: var(--status-success);
  color: #FFFFFF;
}

.btn-success:hover {
  background-color: var(--color-green-700);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
  gap: 6px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
  border-radius: var(--radius-input);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-input);
}

/* ==========================================================================
   5. CARDS, KPI GRIDS & SURFACE CONTAINERS
   ========================================================================== */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--layout-card-padding);
  position: relative;
  transition: box-shadow var(--motion-card), border-color var(--motion-card);
}

.card.clickable {
  cursor: pointer;
}

.card.clickable:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}

/* KPI Grids */
.kpi-grid,
.dash-kpi-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--layout-grid-gap);
  margin-bottom: 24px;
}

.kpi-card,
.kpi-card-v16,
.seat-kpi-card {
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--motion-card);
  cursor: pointer;
}

.kpi-card:hover,
.kpi-card-v16:hover,
.seat-kpi-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-border);
  transform: translateY(-2px);
}

.kpi-top,
.kpi-v16-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-label,
.kpi-v16-label,
.seat-kpi-label {
  font-size: 11.5px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.kpi-icon,
.kpi-v16-icon,
.seat-kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.kpi-icon.indigo, .icon-indigo { background: var(--color-indigo-50); color: var(--color-indigo-600); }
.kpi-icon.emerald, .icon-emerald, .kpi-available { background: var(--status-success-bg); color: var(--status-success); }
.kpi-icon.amber, .icon-orange, .kpi-total { background: var(--brand-light); color: var(--brand-primary); }
.kpi-icon.red, .kpi-occupied { background: var(--status-danger-bg); color: var(--status-danger); }
.kpi-icon.purple, .icon-purple, .kpi-booked { background: var(--status-booked-bg); color: var(--status-booked); }

.kpi-value,
.kpi-v16-value,
.seat-kpi-val {
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  line-height: 1.1;
}

.kpi-subtext,
.kpi-v16-sub {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.trend-up {
  color: var(--status-success);
  font-weight: var(--font-weight-semibold);
}

/* ==========================================================================
   6. HEADERS, VIEWS & ACTION BARS
   ========================================================================== */
.view-header,
.dash-header-block,
.seat-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.view-title-block,
.dash-greeting-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.view-title,
.dash-greeting-title {
  font-size: var(--font-size-page-title);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.view-subtitle,
.dash-greeting-sub {
  font-size: 13.5px;
  color: var(--text-muted);
}

.view-actions,
.dash-header-actions,
.seat-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dash-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  border: 1px solid var(--border-primary);
  font-size: 12.5px;
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
}

/* Quick Actions Hub */
.dash-quick-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  padding: 12px 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
  flex-wrap: wrap;
}

.quick-action-label {
  font-size: 12.5px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.quick-action-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ==========================================================================
   7. ATTENTION ENGINE & NOTIFICATIONS
   ========================================================================== */
.dash-attention-card {
  border-radius: var(--radius-card);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-attention-card.all-clear {
  background: var(--status-success-bg);
  border: 1px solid var(--status-success-border);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.dash-attention-card.has-actions {
  background: #FFFFFF;
  border: 1px solid var(--status-warning-border);
  box-shadow: var(--shadow-xs);
}

.attention-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.attention-header-title {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.attention-icon-badge {
  font-size: 16px;
}

.attention-view-all {
  font-size: 12.5px;
  font-weight: var(--font-weight-semibold);
  color: var(--brand-primary);
}

.attention-view-all:hover {
  text-decoration: underline;
}

.attention-pills-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.attention-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--motion-btn);
}

.attention-pill.pill-overdue {
  background: var(--status-danger-bg);
  border: 1px solid var(--status-danger-border);
  color: var(--status-danger-text);
}

.attention-pill.pill-due-today {
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--color-orange-800);
}

.attention-pill.pill-due-soon {
  background: var(--status-warning-bg);
  border: 1px solid var(--status-warning-border);
  color: var(--status-warning-text);
}

.attention-pill:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

.pill-dot {
  font-size: 10px;
}
.pill-dot.red { color: var(--status-danger); }
.pill-dot.orange { color: var(--brand-primary); }
.pill-dot.yellow { color: var(--status-warning); }

.pill-action {
  font-weight: var(--font-weight-bold);
  margin-left: 4px;
  opacity: 0.85;
}

.attention-icon-wrap.clear {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--status-success);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.attention-content {
  flex: 1;
  margin-left: 12px;
}

.attention-title {
  font-weight: var(--font-weight-bold);
  font-size: 14px;
  color: var(--status-success-text);
}

.attention-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   8. INTELLIGENCE 2-COLUMN DASHBOARD GRID
   ========================================================================== */
.dash-intelligence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--layout-grid-gap);
  margin-bottom: 24px;
}

@media (max-width: 960px) {
  .dash-intelligence-grid {
    grid-template-columns: 1fr;
  }
}

.dash-column {
  display: flex;
  flex-direction: column;
  gap: var(--layout-grid-gap);
}

.dash-intel-card {
  padding: 20px;
}

.intel-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.intel-card-tag {
  font-size: 10.5px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.intel-card-title {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-top: 2px;
}

.intel-card-link {
  font-size: 12.5px;
  font-weight: var(--font-weight-semibold);
  color: var(--brand-primary);
}

/* Seat Occupancy Donut */
.occupancy-donut-layout {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.donut-chart-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-svg {
  transform: rotate(0deg);
}

.donut-center-info {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.donut-pct-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.donut-ratio-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.donut-metric-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}

.donut-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
}

.metric-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.metric-dot.dot-available { background: var(--status-success); }
.metric-dot.dot-booked { background: var(--status-booked); }
.metric-dot.dot-maintenance { background: #64748B; }

.metric-value {
  font-weight: 700;
  color: var(--text-primary);
}

/* Financial Equation Strip */
.financial-equation-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.fin-item {
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
}

.fin-item.col-collected {
  background: var(--status-success-bg);
  border: 1px solid var(--status-success-border);
}
.fin-item.col-expenses {
  background: var(--status-danger-bg);
  border: 1px solid var(--status-danger-border);
}
.fin-item.col-net {
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
}

.fin-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.fin-amount {
  font-size: 16px;
  font-weight: 800;
  margin-top: 2px;
}

.col-collected .fin-amount { color: var(--status-success-text); }
.col-expenses .fin-amount { color: var(--status-danger-text); }
.col-net .fin-amount { color: var(--color-orange-800); }

/* Minimal Bar Chart */
.mini-chart-container {
  background: var(--surface-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.mini-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 85px;
  padding-top: 10px;
}

.bar-col-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.bars-pair {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 65px;
}

.bar {
  width: 8px;
  border-radius: 4px 4px 0 0;
  transition: height var(--motion-normal);
}

.bar-collection { background-color: var(--status-success); }
.bar-expense { background-color: var(--status-danger); }

.bar-label {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Today's Due & Activity Feeds */
.todays-due-list-container,
.recent-activity-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.due-student-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  transition: all var(--motion-btn);
}

.due-student-row:hover {
  background: #FFFFFF;
  border-color: var(--border-primary);
  box-shadow: var(--shadow-xs);
}

.due-student-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.due-student-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.due-student-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.due-student-meta {
  font-size: 11.5px;
  color: var(--text-muted);
}

.due-student-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.due-student-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.activity-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: background var(--motion-btn);
}

.activity-feed-item:hover {
  background: var(--surface-subtle);
}

.activity-feed-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.activity-feed-body {
  flex: 1;
}

.activity-feed-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.activity-feed-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.activity-feed-time {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Empty States */
.dash-empty-state,
.empty-state {
  text-align: center;
  padding: 36px 16px;
}

.empty-state-icon {
  font-size: 32px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.empty-state-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.empty-state-sub,
.empty-state-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 360px;
  margin: 6px auto 16px;
}

/* ==========================================================================
   9. SEARCH, FILTER BARS & SEGMENTED CONTROLS
   ========================================================================== */
.student-controls-bar,
.table-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  font-size: 14px;
  color: var(--text-dim);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 38px;
  padding: 8px 36px 8px 36px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border-primary);
  background: #FFFFFF;
  font-size: 13.5px;
  color: var(--text-primary);
  transition: all var(--motion-btn);
}

.search-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.search-clear-btn:hover {
  background: var(--border-strong);
  color: var(--text-primary);
}

.filter-pills-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  cursor: pointer;
  transition: all var(--motion-btn);
}

.filter-pill:hover {
  background: var(--surface-subtle);
  color: var(--text-primary);
}

.filter-pill.active {
  background: var(--color-slate-900);
  color: #FFFFFF;
  border-color: var(--color-slate-900);
  font-weight: 600;
}

/* Student Summary Strip */
.student-summary-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.summary-strip-card {
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all var(--motion-btn);
}

.summary-strip-card:hover,
.summary-strip-card.active-strip {
  border-color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.12);
}

.summary-strip-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.summary-strip-val {
  font-size: 24px;
  font-weight: 800;
  margin: 2px 0;
}

.summary-strip-sub {
  font-size: 11.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   10. TABLES & DATA GRIDS
   ========================================================================== */
.table-container {
  overflow-x: auto;
  width: 100%;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.data-table th {
  padding: 12px 16px;
  background: var(--surface-subtle);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-primary);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background var(--motion-fast);
}

.data-table tbody tr:hover {
  background-color: var(--surface-hover);
}

.student-table-row {
  cursor: pointer;
}

.student-cell-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.student-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.student-avatar-badge.avatar-left {
  background: var(--surface-subtle);
  color: var(--text-muted);
}

.student-name-text {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.student-phone-text {
  font-size: 12px;
  color: var(--text-muted);
}

.student-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

/* Badges */
.badge,
.fee-badge,
.status-badge,
.seat-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-primary { background: var(--brand-light); color: var(--brand-primary); border: 1px solid var(--brand-border); }
.badge-secondary { background: var(--surface-subtle); color: var(--text-secondary); border: 1px solid var(--border-primary); }
.badge-success, .fee-paid, .status-active, .badge-paid { background: var(--status-success-bg); color: var(--status-success-text); border: 1px solid var(--status-success-border); }
.badge-warning, .fee-due-today, .fee-due-soon, .badge-due { background: var(--status-warning-bg); color: var(--status-warning-text); border: 1px solid var(--status-warning-border); }
.badge-danger, .fee-overdue, .badge-overdue { background: var(--status-danger-bg); color: var(--status-danger-text); border: 1px solid var(--status-danger-border); }
.badge-booked { background: var(--status-booked-bg); color: var(--status-booked-text); border: 1px solid var(--status-booked-border); }

.seat-badge-pill.seat-active { background: var(--surface-subtle); color: var(--text-primary); border: 1px solid var(--border-primary); font-weight: 700; }
.seat-badge-pill.seat-none { background: var(--surface-subtle); color: var(--text-dim); border: 1px dashed var(--border-strong); }
.seat-badge-pill.seat-left { background: var(--surface-subtle); color: var(--text-muted); }

/* ==========================================================================
   11. SEAT MANAGEMENT & FLOOR MAP
   ========================================================================== */
.seat-management-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-segmented-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-primary);
  padding-bottom: 8px;
}

.section-tabs-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-input);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--motion-btn);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-tab-btn:hover {
  background: var(--surface-subtle);
  color: var(--text-primary);
}

.section-tab-btn.active {
  background: var(--color-slate-900);
  color: #FFFFFF;
  font-weight: 600;
}

.sec-count-pill {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.08);
}

.section-tab-btn.active .sec-count-pill {
  background: rgba(255,255,255,0.2);
  color: #FFFFFF;
}

.seat-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.seat-toolbar-left {
  display: flex;
  align-items: center;
}

.seat-view-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-subtle);
  padding: 4px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border-primary);
}

.seat-view-tab-btn {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--motion-btn);
}

.seat-view-tab-btn:hover {
  color: var(--text-primary);
}

.seat-view-tab-btn.active {
  background: #FFFFFF;
  color: var(--text-primary);
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

.seat-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.seat-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.seat-search-icon {
  position: absolute;
  left: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

.seat-search-box input {
  height: 36px;
  padding: 6px 12px 6px 32px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border-primary);
  font-size: 13px;
  width: 240px;
}

.seat-search-box input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

.seat-legend-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  font-size: 12.5px;
  margin-bottom: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.legend-pill {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.legend-pill.pill-avail { background: var(--status-success); }
.legend-pill.pill-occ { background: var(--brand-primary); }
.legend-pill.pill-book { background: var(--status-booked); }
.legend-pill.pill-maint { background: var(--border-strong); }

/* Floor Map Cards */
.digital-floor-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.floor-plan-card {
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
}



/* Section Manager Cards */
.sections-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 18px;
}

.section-manage-card {
  padding: 18px;
}

.section-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-card-icon {
  font-size: 24px;
}

.section-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.section-card-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.section-card-order-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--surface-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.sec-progress-track {
  width: 100%;
  height: 6px;
  background: var(--surface-subtle);
  border-radius: 3px;
  overflow: hidden;
}

.sec-progress-fill {
  height: 100%;
  background: var(--brand-primary);
  border-radius: 3px;
  transition: width var(--motion-normal);
}

/* ==========================================================================
   12. FORM CONTROLS & INPUTS
   ========================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-label.required::after {
  content: ' *';
  color: var(--status-danger);
}

.form-control,
.form-select {
  width: 100%;
  height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border-primary);
  background: #FFFFFF;
  font-size: 13.5px;
  color: var(--text-primary);
  transition: all var(--motion-btn);
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

textarea.form-control {
  height: auto;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

/* ==========================================================================
   13. MODALS, DRAWERS & TOASTS
   ========================================================================== */
/* Drawer */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: var(--z-drawer);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-drawer);
  display: flex;
  justify-content: flex-end;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  width: 100%;
  max-width: 580px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--motion-drawer);
  overflow: hidden;
  box-sizing: border-box;
}

.drawer-backdrop.active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-subtle);
}

.drawer-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.drawer-close-btn,
.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  transition: all var(--motion-btn);
}

.drawer-close-btn:hover,
.modal-close-btn:hover {
  background: var(--status-danger-bg);
  color: var(--status-danger);
  border-color: var(--status-danger-border);
}

.drawer-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
}

.drawer-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  background: #FFFFFF;
  box-sizing: border-box;
  width: 100%;
}

.drawer-footer .btn,
.drawer-footer .btn-sm {
  padding: 6px 11px;
  font-size: 12px;
  white-space: nowrap;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   12. MODAL DIALOGS & DRAWERS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal, 1000);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-modal, 0.2s ease);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  background: #FFFFFF;
  border-radius: var(--radius-modal, 16px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  border: 1px solid var(--border-primary, #E2E8F0);
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform var(--motion-modal, 0.2s ease);
  overflow: hidden;
}

.modal-box.modal-wide {
  max-width: 800px;
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  letter-spacing: -0.01em;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  color: #64748B;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  max-height: calc(90vh - 140px);
}

.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  background: #F8FAFC;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.modal-footer .btn,
.modal-footer .btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  white-space: nowrap;
}

/* ==========================================================================
   12.5 FORM CONTROLS & MODERN INPUT SYSTEM
   ========================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #0F172A);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label.required::after,
.required {
  content: '*';
  color: var(--status-danger, #EF4444);
  margin-left: 2px;
  font-weight: 700;
}

.form-input,
.form-control {
  width: 100%;
  height: 42px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary, #0F172A);
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-input, 8px);
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.form-input:focus,
.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-primary, #F97316);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
  background: #FFFFFF;
}

.form-input::placeholder,
.form-control::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim, #94A3B8);
}

.form-select {
  width: 100%;
  height: 42px;
  padding: 10px 36px 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary, #0F172A);
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-input, 8px);
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary, #0F172A);
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-input, 8px);
  resize: vertical;
  min-height: 80px;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.form-helper,
.form-text {
  font-size: 12px;
  color: var(--text-muted, #64748B);
  margin-top: 4px;
}

/* ==========================================================================
   12.6 SMART DESK PICKER COMPONENT
   ========================================================================== */
.smart-desk-picker-wrap {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.desk-picker-topbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.desk-search-box {
  position: relative;
  width: 100%;
}

.desk-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #94A3B8;
  pointer-events: none;
}

.desk-search-input {
  width: 100%;
  height: 38px;
  padding: 8px 12px 8px 36px;
  font-size: 13px;
  font-weight: 500;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.desk-search-input:focus {
  border-color: var(--brand-primary, #F97316);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.desk-section-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  align-items: center;
}

.desk-filter-pill {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.desk-filter-pill:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #94A3B8;
}

.desk-filter-pill.active {
  background: var(--brand-primary, #F97316);
  color: #FFFFFF;
  border-color: var(--brand-primary, #F97316);
  box-shadow: 0 1px 4px rgba(249, 115, 22, 0.25);
}

.desk-chips-scroll {
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 4px;
}

.desk-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
  padding: 6px;
}

.smart-desk-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  font-family: var(--font-family-mono, monospace);
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.smart-desk-chip:hover {
  border-color: #10B981;
  background: #F0FDF4;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.15);
}

.smart-desk-chip.selected {
  border-color: var(--brand-primary, #F97316);
  background: #FFF7ED;
  color: #EA580C;
  font-weight: 800;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.3);
  transform: scale(1.04);
}

.chip-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  flex-shrink: 0;
}

.smart-desk-chip.selected .chip-avail-dot {
  background: #EA580C;
}

.selected-desk-summary-pill {
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: #065F46;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.desk-empty-msg {
  text-align: center;
  padding: 24px 16px;
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast,
.toast-item {
  min-width: 280px;
  max-width: 420px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-floating);
  border-left: 4px solid var(--brand-primary);
  border-top: 1px solid var(--border-primary);
  border-right: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastSlideIn 200ms var(--ease-standard);
}

.toast.success, .toast-item.toast-success { border-left-color: var(--status-success); }
.toast.error, .toast.danger, .toast-item.toast-danger { border-left-color: var(--status-danger); }
.toast.warning, .toast-item.toast-warning { border-left-color: var(--status-warning); }

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast-msg {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}

/* Floating Action Button (FAB) */
.floating-action-button {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-fab);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-floating);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all var(--motion-btn);
  cursor: pointer;
}

.floating-action-button:hover {
  transform: scale(1.08);
  background: var(--brand-hover);
}

/* Stepper Wizard */
.stepper-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stepper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.step-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-pill.active {
  color: var(--brand-primary);
}

.step-pill.completed {
  color: var(--status-success);
}

/* Student Profile Workspace Tabs */
.student-profile-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-dossier-card {
  background: var(--surface-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-primary);
}

.profile-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-primary);
  gap: 4px;
}

.profile-tab-btn {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--motion-btn);
}

.profile-tab-btn:hover {
  color: var(--text-primary);
}

.profile-tab-btn.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
  font-weight: 700;
}

/* ==========================================================================
   13.5 SEAT MANAGEMENT, DIGITAL FLOOR MAP & PHYSICAL STUDY DESK TILES
   ========================================================================== */
.seat-management-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.seat-page-header {
  margin-bottom: 4px;
}

.seat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Dynamic KPI Strip */
.seat-kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.seat-kpi-card {
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all var(--motion-card);
}

.seat-kpi-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
  border-color: var(--brand-border);
}

.seat-kpi-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.seat-kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
}

.seat-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--surface-subtle);
}

.kpi-total { background: #FFF7ED; color: #EA580C; }
.kpi-available { background: #ECFDF5; color: #10B981; }
.kpi-occupied { background: #FEF2F2; color: #EF4444; }
.kpi-booked { background: #F5F3FF; color: #8B5CF6; }

/* Section Segmented Navigation Bar */
.section-segmented-bar {
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.section-tabs-list {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: max-content;
}

.section-tab-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-input);
  transition: all var(--motion-btn);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.section-tab-btn:hover {
  background: var(--surface-subtle);
  color: var(--text-primary);
}

.section-tab-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(249, 115, 22, 0.25);
}

.sec-count-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 12px;
  background: var(--surface-subtle);
  color: var(--text-secondary);
}

.section-tab-btn.active .sec-count-pill {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.btn-add-sec-tab {
  border: 1px dashed var(--border-primary);
  color: var(--brand-primary);
}

.btn-add-sec-tab:hover {
  border-color: var(--brand-primary);
  background: var(--brand-subtle);
}

/* Controls Bar */
.seat-controls-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.seat-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seat-view-tabs {
  display: flex;
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
  box-shadow: var(--shadow-card);
}

.seat-view-tab-btn {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-input);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--motion-btn);
}

.seat-view-tab-btn:hover {
  background: var(--surface-subtle);
  color: var(--text-primary);
}

.seat-view-tab-btn.active {
  background: var(--surface-subtle);
  color: var(--brand-primary);
  font-weight: 700;
  border: 1px solid var(--border-primary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.seat-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}

.seat-search-box {
  position: relative;
  min-width: 240px;
  max-width: 340px;
  flex: 1;
}

.seat-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.seat-search-box input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  font-size: 13px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-input);
  background: #FFFFFF;
  transition: all var(--motion-btn);
}

.seat-search-box input:focus {
  border-color: var(--brand-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.seat-status-select {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-input);
  background: #FFFFFF;
  cursor: pointer;
}

/* Digital Floor Map, Legend, and Section Cards */
.seat-legend-bar {
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  box-shadow: var(--shadow-card);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-secondary);
}

.legend-pill {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-pill.pill-avail { background: #10B981; }
.legend-pill.pill-occ { background: #EF4444; }
.legend-pill.pill-book { background: #8B5CF6; }
.legend-pill.pill-maint { background: #94A3B8; }

.digital-floor-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.floor-plan-card {
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transition: all var(--motion-card);
}

.floor-plan-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.floor-plan-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.section-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.floor-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF7ED;
  border: 1px solid #FFEDD5;
  padding: 6px 14px;
  border-radius: var(--radius-md);
}

.floor-sec-icon {
  font-size: 16px;
}

.floor-sec-title {
  font-size: 15px;
  font-weight: 800;
  color: #C2410C;
  letter-spacing: 0.02em;
}

.floor-section-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.section-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.floor-section-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.floor-stat-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.floor-stat-chip.chip-avail { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.floor-stat-chip.chip-occ { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.floor-stat-chip.chip-book { background: #F5F3FF; color: #6D28D9; border: 1px solid #DDD6FE; }
.floor-stat-chip.chip-maint { background: #F1F5F9; color: #475569; border: 1px solid #CBD5E1; }

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-avail { background: #10B981; }
.dot-occ { background: #EF4444; }
.dot-book { background: #8B5CF6; }
.dot-maint { background: #64748B; }

.section-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   STUDY DESK TILE GRID & PHYSICAL CUBICLE METAPHOR
   ========================================================================== */
.seat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 12px;
}

/* Base Desk Tile (Physical Cubicle Metaphor) */
.desk-tile,
.desk-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 10px 8px;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  user-select: none;
}

.desk-tile:focus-visible,
.desk-card:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Header of Desk Tile */
.desk-tile-top,
.desk-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 6px;
}

.desk-code-badge,
.desk-number {
  font-family: var(--font-family-mono, monospace);
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  background: #F1F5F9;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.desk-status-indicator,
.desk-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  transition: transform 0.2s ease;
}

.indicator-available,
.desk-card.available .desk-status-dot {
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.indicator-occupied,
.desk-card.occupied .desk-status-dot {
  background: #EF4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}

.indicator-booked,
.desk-card.booked .desk-status-dot {
  background: #8B5CF6;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25);
}

.indicator-maintenance,
.desk-card.maintenance .desk-status-dot {
  background: #94A3B8;
}

/* Body of Desk Tile */
.desk-tile-body,
.desk-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  padding: 4px 0;
}

.desk-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2px;
  transition: transform 0.2s ease;
}

.desk-avatar.fee-available {
  background: #F0FDF4;
  color: #059669;
  font-size: 16px;
  border: 1px solid #DCFCE7;
}

.desk-avatar.fee-paid {
  background: #ECFDF5;
  color: #047857;
  border: 1.5px solid #A7F3D0;
}

.desk-avatar.fee-due {
  background: #FEF3C7;
  color: #B45309;
  border: 1.5px solid #FDE68A;
}

.desk-avatar.fee-overdue {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1.5px solid #FECACA;
}

.desk-avatar.fee-booked {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1.5px solid #DDD6FE;
}

.desk-avatar.fee-maint {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
  font-size: 15px;
}

.desk-tile-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desk-occupant-title,
.desk-occupant-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}

.desk-meta-tag,
.desk-meta-sub {
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.desk-meta-tag.available,
.desk-meta-sub.available {
  color: #059669;
  background: #ECFDF5;
}

.desk-meta-tag.paid,
.desk-meta-sub.paid {
  color: #047857;
  background: #ECFDF5;
}

.desk-meta-tag.due_today,
.desk-meta-sub.due_today {
  color: #B45309;
  background: #FEF3C7;
  font-weight: 700;
}

.desk-meta-tag.overdue,
.desk-meta-sub.overdue {
  color: #B91C1C;
  background: #FEE2E2;
  font-weight: 700;
}

.desk-meta-tag.booked,
.desk-meta-sub.booked {
  color: #6D28D9;
  background: #F5F3FF;
}

.desk-meta-tag.maintenance,
.desk-meta-sub.maintenance {
  color: #64748B;
  background: #F1F5F9;
}

/* Footer of Desk Tile */
.desk-tile-footer,
.desk-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #F1F5F9;
}

.desk-status-pill,
.desk-pill {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.2;
}

.pill-available,
.pill-free,
.desk-pill.pill-free {
  background: #DCFCE7;
  color: #15803D;
}

.pill-occupied,
.pill-occ,
.desk-pill.pill-occ {
  background: #FEE2E2;
  color: #B91C1C;
}

.pill-booked,
.pill-res,
.desk-pill.pill-res {
  background: #EDE9FE;
  color: #6D28D9;
}

.pill-maintenance,
.pill-maint,
.desk-pill.pill-maint {
  background: #F1F5F9;
  color: #475569;
}

.desk-fee-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748B;
}

/* SPECIFIC CARD STYLES & RICH HOVER INTERACTIONS */

/* 1. Available Desks */
.desk-tile.available,
.desk-card.available {
  border-color: #E2E8F0;
  background: #FFFFFF;
}
.desk-tile.available:hover,
.desk-card.available:hover {
  border-color: #10B981;
  background: #F0FDF4;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 16px -2px rgba(16, 185, 129, 0.18);
}
.desk-tile.available:hover .desk-avatar {
  transform: scale(1.1);
}

/* 2. Occupied Desks */
.desk-tile.occupied,
.desk-card.occupied {
  border-color: #FECACA;
  background: #FFFFFF;
  border-top: 3px solid #EF4444;
}
.desk-tile.occupied:hover,
.desk-card.occupied:hover {
  border-color: #F87171;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 16px -2px rgba(239, 68, 68, 0.18);
}
.desk-tile.occupied:hover .desk-avatar {
  transform: scale(1.1);
}

/* 3. Booked Desks */
.desk-tile.booked,
.desk-card.booked {
  border-color: #DDD6FE;
  background: #FAF5FF;
  border-top: 3px solid #8B5CF6;
}
.desk-tile.booked:hover,
.desk-card.booked:hover {
  border-color: #A78BFA;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 16px -2px rgba(139, 92, 246, 0.18);
}
.desk-tile.booked:hover .desk-avatar {
  transform: scale(1.1);
}

/* 4. Maintenance Desks */
.desk-tile.maintenance,
.desk-card.maintenance {
  border-color: #CBD5E1;
  background: #F8FAFC;
  border-style: dashed;
  opacity: 0.85;
}
.desk-tile.maintenance:hover,
.desk-card.maintenance:hover {
  border-color: #94A3B8;
  transform: translateY(-2px);
  opacity: 1;
}

/* Section Manager View */
.section-manager-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sections-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.section-manage-card {
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--motion-card);
  box-sizing: border-box;
  overflow: hidden;
}

.section-manage-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-border);
}

.section-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.section-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-card-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #FFF7ED;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #FFEDD5;
}

.section-card-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}

.section-card-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.section-card-order-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  background: var(--surface-subtle);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-primary);
  white-space: nowrap;
}

.section-capacity-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sec-progress-track {
  width: 100%;
  height: 8px;
  background: #F1F5F9;
  border-radius: 4px;
  overflow: hidden;
}

.sec-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F97316, #EA580C);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.section-metrics-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.sec-metric-chip {
  font-size: 11.5px;
  padding: 6px 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  box-sizing: border-box;
}

.sec-metric-chip.chip-avail { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.sec-metric-chip.chip-book { background: #F5F3FF; color: #6D28D9; border: 1px solid #DDD6FE; }
.sec-metric-chip.chip-maint { background: #F1F5F9; color: #475569; border: 1px solid #CBD5E1; }

.section-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.section-actions-left,
.section-actions-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.section-card-footer .btn-sm {
  padding: 5px 9px;
  font-size: 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.25;
}

/* Bookings Hub */
.booking-hub-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-attention-banner {
  background: #FFFBEB;
  border: 1.5px solid #FCD34D;
  border-radius: var(--radius-card);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.booking-attention-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-attention-icon {
  font-size: 24px;
}

.booking-attention-title {
  font-size: 14px;
  font-weight: 800;
  color: #92400E;
}

.booking-attention-sub {
  font-size: 12.5px;
  color: #B45309;
  margin-top: 2px;
}

.booking-status-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.booking-filter-pill {
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--radius-input);
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  transition: all var(--motion-btn);
}

.booking-filter-pill:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.booking-filter-pill.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

.booking-actions-cell {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

/* Seat Drawer & History Timeline */
.seat-drawer-nav-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-primary);
  gap: 4px;
  margin-bottom: 18px;
}

.seat-drawer-tab-btn {
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--motion-btn);
}

.seat-drawer-tab-btn:hover {
  color: var(--text-primary);
}

.seat-drawer-tab-btn.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
  font-weight: 700;
}

.seat-timeline-item {
  position: relative;
  padding-left: 24px;
  padding-bottom: 16px;
  border-left: 2px solid #E2E8F0;
}

.seat-timeline-item:last-child {
  border-left-color: transparent;
}

.seat-timeline-dot {
  position: absolute;
  left: -6px;
  top: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.seat-timeline-dot.green { background: #10B981; }
.seat-timeline-dot.blue { background: #8B5CF6; }
.seat-timeline-dot.slate { background: #64748B; }

.seat-timeline-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.seat-timeline-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.seat-timeline-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Bulk Add Modal Styles */
.bulk-seat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.bulk-preview-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px;
}

.bulk-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.bulk-preview-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.desk-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 130px;
  overflow-y: auto;
  padding: 2px;
}

.preview-desk-pill {
  font-family: var(--font-family-mono, monospace);
  font-size: 11.5px;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--brand-accent);
}

/* ==========================================================================
   14. REPORTS & ANALYTICS CARDS
   ========================================================================== */
.report-generator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--layout-grid-gap);
}

.report-card {
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--motion-card);
}

.report-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-border);
}

.report-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

/* ==========================================================================
   15. AUTHENTICATION & CENTERED LOGIN WORKSPACE (SAAS PRODUCTION REBUILD)
   ========================================================================== */

/* Scoped Full-Viewport Login Page Layout */
.login-page,
.auth-wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background-color: var(--bg-primary, #F8FAFC);
  background-image: 
    radial-gradient(at 15% 15%, rgba(244, 91, 8, 0.05) 0px, transparent 45%),
    radial-gradient(at 85% 85%, rgba(15, 23, 42, 0.04) 0px, transparent 45%);
  box-sizing: border-box;
  font-family: var(--font-family-base, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.login-page *,
.login-page *::before,
.login-page *::after {
  box-sizing: border-box;
}

/* Standalone Centered Card (Max 430px) */
.login-card,
.auth-card {
  width: calc(100% - 32px);
  max-width: 430px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-primary, #E2E8F0);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.login-card.login-card-wide,
.auth-card.auth-card-wide {
  max-width: 580px;
}

/* Constrained Logo */
.login-logo,
.auth-topbar-logo {
  max-width: 140px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px auto;
  border-radius: 8px;
}

/* Brand Name */
.login-brand {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary, #475569);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Welcome Heading */
.login-heading,
.auth-card-title {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

/* Supporting Subtext */
.login-subtext,
.auth-card-sub {
  text-align: center;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-muted, #64748B);
  margin: 0 0 20px 0;
  line-height: 1.45;
}

/* Form Structure */
.login-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.login-field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}

.login-field-label,
.auth-card .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #334155);
  margin-bottom: 6px;
  display: block;
}

.login-input-wrap,
.password-field-wrap {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.login-input,
.login-card .form-control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary, #0F172A);
  background: #FFFFFF;
  border: 1px solid var(--border-primary, #CBD5E1);
  border-radius: 12px;
  outline: none;
  box-sizing: border-box;
  transition: border-color var(--motion-fast, 0.15s ease), box-shadow var(--motion-fast, 0.15s ease);
}

.login-input:focus,
.login-card .form-control:focus {
  border-color: var(--brand-primary, #F45B08);
  box-shadow: 0 0 0 3px rgba(244, 91, 8, 0.15);
}

.login-input.input-error,
.login-card .form-control.input-error {
  border-color: var(--status-danger, #EF4444);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.login-input-wrap.has-toggle .login-input,
.password-field-wrap .form-control {
  padding-right: 44px;
}

/* Functional Password Toggle */
.login-password-toggle,
.btn-toggle-password {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-muted, #64748B);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  user-select: none;
}

.login-password-toggle:hover,
.btn-toggle-password:hover {
  color: var(--text-primary, #0F172A);
  background: var(--surface-hover, #F1F5F9);
}

/* Validation Error Typography */
.login-field-error,
.auth-field-error {
  font-size: 12px;
  font-weight: 500;
  color: var(--status-danger, #DC2626);
  margin-top: 5px;
  display: block;
  line-height: 1.35;
}

/* Remember + Forgot Row */
.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 20px 0;
  width: 100%;
  box-sizing: border-box;
}

.login-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-secondary, #475569);
  user-select: none;
}

.login-remember-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-primary, #F45B08);
  cursor: pointer;
  margin: 0;
  border-radius: 4px;
}

.login-forgot-link,
.auth-link-subtle {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary, #F45B08);
  text-decoration: none;
  transition: color 0.15s ease;
}

.login-forgot-link:hover,
.auth-link-subtle:hover {
  color: var(--brand-hover, #D84E04);
  text-decoration: underline;
}

/* Full-Width Sign In Button */
.login-submit-btn,
.btn-auth-submit {
  width: 100%;
  height: 48px;
  background: var(--brand-primary, #F45B08);
  color: #FFFFFF;
  border: 1px solid var(--brand-border, #E04E00);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(244, 91, 8, 0.25);
  transition: background var(--motion-fast, 0.15s ease), transform var(--motion-fast, 0.1s ease), box-shadow var(--motion-fast, 0.15s ease);
  box-sizing: border-box;
}

.login-submit-btn:hover,
.btn-auth-submit:hover {
  background: var(--brand-hover, #E04E00);
  box-shadow: 0 4px 12px rgba(244, 91, 8, 0.35);
  transform: translateY(-1px);
}

.login-submit-btn:active,
.btn-auth-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(244, 91, 8, 0.2);
}

.login-submit-btn:focus-visible,
.btn-auth-submit:focus-visible {
  outline: 2px solid var(--brand-primary, #F45B08);
  outline-offset: 2px;
}

.login-submit-btn:disabled,
.btn-auth-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Footer and Secondary Links */
.login-footer {
  margin-top: 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.login-register-prompt,
.auth-bottom-link-row {
  font-size: 13.5px;
  color: var(--text-secondary, #64748B);
  margin-bottom: 12px;
}

.login-register-link,
.auth-link-bold {
  color: var(--brand-primary, #F45B08);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.login-register-link:hover,
.auth-link-bold:hover {
  text-decoration: underline;
  color: var(--brand-hover, #D84E04);
}

.login-brand-footer,
.auth-footer-note {
  font-size: 12px;
  color: var(--text-muted, #94A3B8);
  margin-top: 8px;
}

/* Demo Credentials Auto-Fill Pill */
.auth-demo-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFF7ED;
  border: 1px dashed #FDBA74;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: all var(--motion-fast, 0.15s ease);
}

.auth-demo-pill:hover {
  background: #FFEDD5;
  border-color: #FB923C;
}

.auth-demo-badge {
  font-size: 10px;
  font-weight: 800;
  background: var(--brand-primary, #F45B08);
  color: #FFFFFF;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.auth-demo-email {
  font-size: 12.5px;
  font-family: var(--font-family-mono, monospace);
  font-weight: 600;
  color: #9A3412;
}

.auth-demo-action {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-primary, #F45B08);
}

/* Alert Boxes */
.auth-alert-box {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
}

.auth-alert-box.alert-error {
  background: var(--status-danger-bg, #FEF2F2);
  border: 1px solid var(--status-danger-border, #FECACA);
  color: var(--status-danger-text, #991B1B);
}

.auth-alert-box.alert-success {
  background: var(--status-success-bg, #ECFDF5);
  border: 1px solid var(--status-success-border, #A7F3D0);
  color: var(--status-success-text, #065F46);
}

.auth-alert-box.alert-info {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

/* 2-Column Grid inside Wide Cards */
.auth-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 540px) {
  .auth-form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* OTP Digits Container */
.otp-inputs-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 8px 0;
}

.otp-digit {
  width: 44px;
  height: 50px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary, #0F172A);
  border-radius: 10px;
  border: 1px solid var(--border-primary, #CBD5E1);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.otp-digit:focus {
  border-color: var(--brand-primary, #F45B08);
  box-shadow: 0 0 0 3px rgba(244, 91, 8, 0.15);
}

/* Password Strength Meter */
.password-strength-wrap {
  margin-top: 6px;
}

.strength-meter-bar {
  display: flex;
  gap: 4px;
  height: 4px;
  margin-bottom: 4px;
}

.strength-seg {
  flex: 1;
  height: 100%;
  background: #E2E8F0;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.strength-seg.weak { background: #EF4444; }
.strength-seg.fair { background: #F59E0B; }
.strength-seg.strong { background: #10B981; }

.strength-label-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted, #94A3B8);
}
.strength-label-text.weak { color: #DC2626; }
.strength-label-text.fair { color: #D97706; }
.strength-label-text.strong { color: #059669; }

/* Responsive Breakpoints */
@media (max-width: 480px) {
  .login-card,
  .auth-card {
    padding: 26px 20px;
    width: calc(100% - 24px);
    border-radius: 14px;
  }
  
  .login-logo,
  .auth-topbar-logo {
    max-width: 110px;
    max-height: 80px;
  }

  .login-heading,
  .auth-card-title {
    font-size: 21px;
  }

  .login-input,
  .login-card .form-control {
    height: 44px;
    font-size: 14.5px;
  }

  .login-submit-btn,
  .btn-auth-submit {
    height: 46px;
    font-size: 14.5px;
  }
}

@media (max-width: 360px) {
  .login-card,
  .auth-card {
    padding: 22px 16px;
    width: calc(100% - 16px);
  }

  .login-logo,
  .auth-topbar-logo {
    max-width: 95px;
    max-height: 70px;
  }

  .otp-digit {
    width: 38px;
    height: 44px;
    font-size: 18px;
  }
}

/* ==========================================================================
   16. STUDENT REGISTRATION CARDS, 2-COLUMN REGISTRATION FORM & ID PASS
   ========================================================================== */

/* 2-Column Registration Form Layout */
.registration-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.registration-col {
  background: var(--surface-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-col-title {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-primary);
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* View Mode Switcher */
.view-mode-toggle {
  display: inline-flex;
  background: var(--surface-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
  align-items: center;
}

.view-mode-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--motion-fast);
}

.view-mode-btn:hover {
  color: var(--text-primary);
}

.view-mode-btn.active {
  background: #FFFFFF;
  color: var(--brand-primary);
  box-shadow: var(--shadow-xs);
  font-weight: 700;
}

/* Student Registration Cards Grid (Students View) */
.student-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 4px;
}

.student-registration-card {
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  transition: all var(--motion-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.student-registration-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-border);
}

.student-registration-card.card-left {
  opacity: 0.85;
  background: #FAFAFA;
  border-style: dashed;
}

.student-card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.student-card-reg-no {
  font-family: var(--font-family-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.student-card-profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.student-card-profile-meta {
  flex: 1;
  min-width: 0;
}

.student-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.student-card-contact {
  font-size: 12px;
  color: var(--text-secondary);
}

.student-card-aspirant {
  font-size: 11.5px;
  color: var(--brand-primary);
  margin-top: 2px;
  font-weight: 500;
}

.student-card-desk-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border: 1px solid #FED7AA;
  border-radius: 8px;
  padding: 8px 12px;
}

.student-card-desk-banner.desk-left {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.student-card-desk-icon {
  font-size: 18px;
}

.student-card-desk-info {
  display: flex;
  flex-direction: column;
}

.student-card-desk-label {
  font-size: 9.5px;
  font-weight: 800;
  color: #9A3412;
  letter-spacing: 0.05em;
}

.student-card-desk-banner.desk-left .student-card-desk-label {
  color: var(--text-muted);
}

.student-card-desk-num {
  font-size: 14px;
  font-weight: 800;
  color: #7C2D12;
  font-family: var(--font-family-mono);
}

.student-card-desk-banner.desk-left .student-card-desk-num {
  color: var(--text-muted);
}

.student-card-section-tag {
  font-size: 11px;
  font-weight: 600;
  color: #9A3412;
  background: rgba(255,255,255,0.7);
  padding: 2px 6px;
  border-radius: 4px;
}

.student-card-desk-banner.desk-left .student-card-section-tag {
  color: var(--text-muted);
  background: #FFFFFF;
}

.student-card-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  background: var(--surface-subtle);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
}

.student-card-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.meta-val {
  font-size: 12.5px;
  color: var(--text-primary);
  font-weight: 700;
}

.meta-val-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.student-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  margin-top: 2px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.student-card-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  white-space: nowrap;
}

.student-card-btn-icon {
  padding: 4px 8px;
  font-size: 13px;
}

.profile-drawer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.profile-drawer-footer .btn-sm {
  padding: 6px 11px;
  font-size: 12px;
  white-space: nowrap;
}

/* Student Profile Workspace Tabs & Identity Card */
.profile-identity-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
}

.profile-identity-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.student-avatar-badge.large {
  width: 48px;
  height: 48px;
  font-size: 20px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.profile-student-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.profile-student-phone {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.profile-status-pill-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.profile-identity-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.profile-seat-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.profile-seat-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-primary);
  font-family: var(--font-family-mono);
}

.profile-seat-val.seat-val-left {
  color: var(--text-muted);
}

.profile-tabs-strip {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-primary);
  overflow-x: auto;
  padding-bottom: 2px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.overview-card {
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overview-card-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 6px;
}

.overview-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.overview-detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-muted);
}

.detail-val {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.payments-ledger-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: 12px 14px;
  transition: background var(--motion-fast);
}

.payment-ledger-row:hover {
  background: var(--surface-hover);
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seat-history-item {
  display: flex;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: 12px 14px;
}

.seat-history-icon {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--surface-subtle);
  border-radius: 50%;
}

.seat-history-body {
  flex: 1;
}

.seat-history-desk {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.seat-status-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--brand-light);
  color: var(--brand-primary);
}

.seat-history-duration {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.activity-timeline-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--border-primary);
  margin-left: 8px;
}

.timeline-event {
  position: relative;
  padding-left: 16px;
}

.timeline-event .event-dot {
  position: absolute;
  left: -19px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px var(--brand-primary);
}

.timeline-event .event-dot.dot-green {
  background: var(--status-success);
  box-shadow: 0 0 0 1px var(--status-success);
}

.timeline-event .event-dot.dot-red {
  background: var(--status-danger);
  box-shadow: 0 0 0 1px var(--status-danger);
}

.event-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.event-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 2px 0;
}

.event-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   17. STUDENT REGISTRATION CARD MODAL (विद्यार्थी नोंदणी ओळखपत्र)
   ========================================================================== */
.student-reg-card-modal-wrap {
  padding: 4px;
}

.reg-card-paper {
  background: #FFFFFF;
  border: 2px solid var(--brand-border, #FED7AA);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  position: relative;
  font-family: var(--font-family-sans, 'Inter', sans-serif);
}

.reg-card-top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--brand-light, #FFF7ED);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.reg-card-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reg-card-logo-box {
  font-size: 30px;
  width: 50px;
  height: 50px;
  background: var(--brand-light, #FFF7ED);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-border, #FED7AA);
}

.reg-card-brand-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  letter-spacing: -0.02em;
}

.reg-card-brand-sub {
  font-size: 12px;
  color: var(--text-secondary, #475569);
  margin-top: 2px;
}

.reg-card-brand-contact {
  font-size: 11.5px;
  color: var(--text-muted, #64748B);
  margin-top: 2px;
}

.reg-card-badge-block {
  text-align: right;
}

.reg-card-type-tag {
  background: var(--brand-light, #FFF7ED);
  color: var(--brand-primary, #F45B08);
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  border: 1px solid var(--brand-border, #FED7AA);
}

.reg-card-no-text {
  font-family: var(--font-family-mono, monospace);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary, #0F172A);
  margin-top: 6px;
}

.reg-card-main-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.reg-card-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.reg-card-avatar {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-light, #FFF7ED) 0%, #FED7AA 100%);
  color: var(--brand-primary, #F45B08);
  font-size: 36px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--brand-border, #FED7AA);
  box-shadow: var(--shadow-sm);
}

.reg-card-details-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reg-card-student-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  letter-spacing: -0.01em;
}

.reg-card-student-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-secondary, #475569);
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.reg-card-info-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: var(--surface-secondary, #F8FAFC);
  border: 1px solid var(--border-primary, #E2E8F0);
  border-radius: 10px;
  padding: 12px 14px;
}

.reg-card-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border-subtle, #E2E8F0);
}

.reg-card-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.reg-card-info-label {
  color: var(--text-muted, #64748B);
  font-weight: 500;
}

.reg-card-info-val {
  color: var(--text-primary, #0F172A);
  font-weight: 600;
  text-align: right;
}

.highlight-desk {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-primary, #F45B08);
  font-family: var(--font-family-mono, monospace);
}

.reg-card-footer-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 140px;
  gap: 14px;
  align-items: flex-end;
  border-top: 2px dashed var(--border-primary, #E2E8F0);
  padding-top: 16px;
  margin-top: 10px;
}

.reg-card-barcode-box {
  font-family: var(--font-family-mono, monospace);
}

.reg-barcode-bars {
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--text-primary, #0F172A);
  font-weight: bold;
}

.reg-barcode-num {
  font-size: 9.5px;
  color: var(--text-muted, #64748B);
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.reg-card-rules-box {
  font-size: 10.5px;
  color: var(--text-muted, #64748B);
  line-height: 1.4;
  border-left: 1px solid var(--border-primary, #E2E8F0);
  border-right: 1px solid var(--border-primary, #E2E8F0);
  padding: 0 12px;
}

.reg-card-sign-box {
  text-align: center;
}

.reg-sign-line {
  border-bottom: 1px solid var(--text-primary, #0F172A);
  margin-bottom: 4px;
}

.reg-sign-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-primary, #0F172A);
}

.reg-sign-sub {
  font-size: 9.5px;
  color: var(--text-muted, #64748B);
}

/* ==========================================================================
   18. DIGITAL FEE RECEIPT SLIP COMPONENT (डिजिटल पावती)
   ========================================================================== */
.digital-receipt-modal-wrap {
  padding: 4px;
}

.receipt-paper {
  background: #FFFFFF;
  border: 1.5px solid var(--border-primary, #E2E8F0);
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  font-family: var(--font-family-sans, 'Inter', sans-serif);
}

.receipt-header-block {
  text-align: center;
  border-bottom: 2px dashed var(--border-subtle, #CBD5E1);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.receipt-brand-logo {
  font-size: 28px;
  margin-bottom: 4px;
}

.receipt-brand-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  letter-spacing: -0.01em;
}

.receipt-brand-address {
  font-size: 12px;
  color: var(--text-secondary, #475569);
  margin: 3px auto 0;
  max-width: 420px;
  line-height: 1.4;
}

.receipt-brand-contact {
  font-size: 11.5px;
  color: var(--text-muted, #64748B);
  margin-top: 3px;
}

.receipt-title-badge {
  display: inline-block;
  background: #E0F2FE;
  color: #0369A1;
  padding: 4px 14px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: 12px;
  border: 1px solid #BAE6FD;
}

.receipt-num-text {
  font-family: var(--font-family-mono, monospace);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-primary, #F45B08);
  margin-top: 8px;
}

.receipt-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.receipt-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 7px;
}

.receipt-detail-label {
  color: var(--text-muted, #64748B);
  font-weight: 500;
}

.receipt-detail-val {
  color: var(--text-primary, #0F172A);
  text-align: right;
}

.receipt-amount-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 14px;
}

.receipt-amount-label {
  font-size: 13.5px;
  font-weight: 800;
  color: #166534;
  letter-spacing: 0.03em;
}

.receipt-amount-val {
  font-size: 22px;
  font-weight: 900;
  color: #15803D;
  font-family: var(--font-family-mono, monospace);
}

.receipt-footer-block {
  border-top: 2px dashed var(--border-subtle, #CBD5E1);
  padding-top: 16px;
  margin-top: 18px;
  text-align: center;
}

.receipt-footer-note {
  font-size: 11.5px;
  color: var(--text-muted, #64748B);
  line-height: 1.4;
  margin-bottom: 14px;
}

.receipt-auth-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 10px;
  color: var(--text-muted, #94A3B8);
  padding-top: 8px;
}

.receipt-auth-stamp {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-primary, #0F172A);
  border-top: 1px solid var(--text-primary, #0F172A);
  padding-top: 2px;
  width: 130px;
  text-align: center;
}

/* ==========================================================================
   19. COLLECT FEE DRAWER / MODAL COMPONENT (शुल्क संकलन)
   ========================================================================== */
.obligation-summary-card {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  background: var(--surface-secondary, #F8FAFC);
  border: 1px solid var(--border-primary, #E2E8F0);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
}

.obligation-metric-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.obligation-metric-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted, #64748B);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.obligation-metric-val {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-family-mono, monospace);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ==========================================================================
   20. RESPONSIVE MEDIA QUERIES & UNIVERSAL PRINT ENGINE
   ========================================================================== */
@media (max-width: 1024px) {
  .seat-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .view-container {
    padding: 16px 14px 28px;
  }

  .topbar {
    padding: 0 16px;
  }

  .view-header,
  .dash-header-block {
    flex-direction: column;
    align-items: stretch;
  }

  .view-actions,
  .dash-header-actions {
    justify-content: flex-start;
  }

  .kpi-grid,
  .dash-kpi-grid,
  .student-summary-strip,
  .student-card-grid {
    grid-template-columns: 1fr;
  }

  .seat-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
  }

  .registration-two-col-grid,
  .overview-grid,
  .form-grid-2,
  .auth-form-grid-2 {
    grid-template-columns: 1fr;
  }

  .obligation-summary-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reg-card-main-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .reg-card-avatar-col {
    margin: 0 auto;
  }

  .reg-card-info-val {
    text-align: right;
  }

  .reg-card-footer-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .reg-card-rules-box {
    border-left: none;
    border-right: none;
    border-top: 1px dashed var(--border-primary, #E2E8F0);
    border-bottom: 1px dashed var(--border-primary, #E2E8F0);
    padding: 8px 0;
  }

  .drawer-panel {
    max-width: 100%;
  }

  .financial-equation-strip {
    grid-template-columns: 1fr;
  }

  .floor-plan-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .section-header-right {
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .seat-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .auth-topbar {
    padding: 0 16px;
  }

  .auth-card {
    padding: 24px 18px;
  }

  .reg-card-paper,
  .receipt-paper {
    padding: 16px 14px;
  }
}

/* UNIVERSAL PRINT STYLES */
@media print {
  @page {
    size: auto;
    margin: 8mm;
  }

  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  body * {
    visibility: hidden;
  }

  #printable-reg-card,
  #printable-reg-card *,
  #printable-receipt-slip,
  #printable-receipt-slip *,
  #printable-report-container,
  #printable-report-container * {
    visibility: visible;
  }

  #printable-reg-card,
  #printable-receipt-slip,
  #printable-report-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 18px !important;
    border: 1.5px solid #000000 !important;
    box-shadow: none !important;
    background: #FFFFFF !important;
    border-radius: 8px !important;
  }

  .modal-backdrop,
  .modal-header,
  .modal-footer,
  .app-container,
  .sidebar,
  .topbar,
  .btn,
  .drawer-backdrop,
  .drawer-panel {
    display: none !important;
  }
}

