/* =========================================================
   UnixClub Admin Dashboard & Club Management System
   Modern University SaaS Light UI Theme (Zero Emojis, Pure SVG)
   ========================================================= */

:root {
  /* Color Palette */
  --bg-app: #f4f7fb;
  --bg-sidebar: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #f8fafc;
  --bg-hover: #f1f5f9;

  /* Borders & Dividers */
  --border-color: #e2e8f0;
  --border-light: #edf2f7;
  --border-focus: #2563eb;

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  /* Primary Accent & States */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-subtle: #eff6ff;
  --primary-border: #bfdbfe;

  /* Secondary Accents */
  --color-purple: #7c3aed;
  --color-purple-subtle: #f5f3ff;
  --color-purple-border: #ddd6fe;

  --color-green: #059669;
  --color-green-subtle: #ecfdf5;
  --color-green-border: #a7f3d0;

  --color-amber: #d97706;
  --color-amber-subtle: #fffbeb;
  --color-amber-border: #fde68a;

  --color-rose: #e11d48;
  --color-rose-subtle: #fff1f2;
  --color-rose-border: #fecdd3;

  --color-slate: #475569;
  --color-slate-subtle: #f1f5f9;
  --color-slate-border: #cbd5e1;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 2px 10px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.06);
  --shadow-modal: 0 20px 60px rgba(15, 23, 42, 0.16);

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-family);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ---------------- Layout Framework ---------------- */
.app-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ---------------- Sidebar Navigation ---------------- */
.sidebar {
  width: 270px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 20px 20px 18px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.brand-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
}

.brand-image-logo {
  height: 20px;
  width: auto;
  max-width: 115px;
  object-fit: contain;
  display: block;
  margin-left: 0;
  padding-left: 0;
  transition: opacity 0.15s ease;
}

.brand-image-logo:hover {
  opacity: 0.9;
}

.brand-tagline {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-left: 0;
  padding-left: 0;
  line-height: 1;
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.brand-icon {
  width: 22px;
  height: 22px;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

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

.nav-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 8px 12px 6px;
}

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

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

.nav-item.active {
  background-color: var(--primary-subtle);
  color: var(--primary);
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-pill {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background-color: var(--border-light);
  color: var(--text-secondary);
}

.nav-pill.pill-amber {
  background-color: var(--color-amber-subtle);
  color: var(--color-amber);
}

.nav-pill.pill-purple {
  background-color: var(--color-purple-subtle);
  color: var(--color-purple);
}

.nav-pill.pill-teal {
  background-color: #ccfbf1;
  color: #0f766e;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.system-badge-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.system-badge-icon {
  width: 32px;
  height: 32px;
  background: #e0e7ff;
  color: #3730a3;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.system-badge-text h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.system-badge-text p {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.logout-btn:hover {
  background: var(--color-rose-subtle);
  border-color: var(--color-rose-border);
  color: var(--color-rose);
}

.logout-icon {
  width: 16px;
  height: 16px;
}

/* ---------------- Main Wrapper & Topbar ---------------- */
.main-wrapper {
  margin-left: 270px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  height: 70px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  max-width: 520px;
}

.sidebar-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
  color: var(--text-secondary);
}

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

.search-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-muted);
}

.topbar-search input {
  width: 100%;
  height: 40px;
  padding: 0 36px 0 38px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.15s ease;
}

.topbar-search input:focus {
  background: #ffffff;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-kbd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1px 6px;
}

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

.status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--color-green-subtle);
}

.status-dot.offline {
  background-color: var(--color-amber);
  box-shadow: 0 0 0 2px var(--color-amber-subtle);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 4px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
}

.user-chip-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.user-chip-meta {
  display: flex;
  flex-direction: column;
  padding-right: 6px;
}

.user-chip-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

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

/* ---------------- Main Content Workspace ---------------- */
.content-container {
  padding: 28px 32px 48px;
  flex: 1;
}

.page-view {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Page Header */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.page-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.page-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.count-pill {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.count-pill.pill-blue {
  background: var(--primary-subtle);
  border-color: var(--primary-border);
  color: var(--primary);
}

.count-pill.pill-amber {
  background: var(--color-amber-subtle);
  border-color: var(--color-amber-border);
  color: var(--color-amber);
}

.count-pill.pill-purple {
  background: var(--color-purple-subtle);
  border-color: var(--color-purple-border);
  color: var(--color-purple);
}

.count-pill.pill-teal {
  background: #ccfbf1;
  border-color: #99f6e4;
  color: #0f766e;
}

.page-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 650px;
}

.page-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------------- Metric KPI Cards ---------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.metric-card.highlighted-amber {
  border-color: var(--color-amber-border);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.metric-card.highlighted-purple {
  border-color: var(--color-purple-border);
  background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
}

.metric-card.highlighted-teal {
  border-color: #99f6e4;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

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

.metric-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.metric-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-blue { background: #dbeafe; color: #1d4ed8; }
.box-green { background: #dcfce7; color: #15803d; }
.box-amber { background: #fef3c7; color: #b45309; }
.box-purple { background: #ede9fe; color: #6d28d9; }
.box-slate { background: #e2e8f0; color: #334155; }
.box-rose { background: #ffe4e6; color: #be123c; }
.box-teal { background: #ccfbf1; color: #0f766e; }

.metric-svg {
  width: 20px;
  height: 20px;
}

.metric-value {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}

.metric-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
}

.metric-tag {
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

.tag-blue { background: #eff6ff; color: #1d4ed8; }
.tag-green { background: #ecfdf5; color: #047857; }
.tag-amber { background: #fffbeb; color: #b45309; }
.tag-purple { background: #f5f3ff; color: #6d28d9; }
.tag-slate { background: #f1f5f9; color: #475569; }
.tag-teal { background: #f0fdfa; color: #0f766e; }

.metric-subtext {
  color: var(--text-muted);
}

/* ---------------- Section Cards & Action Center ---------------- */
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.section-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Pending Action Center Split Grid */
.pending-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

.pending-subcard {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pending-subcard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.subcard-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.item-icon {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

.view-all-link {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

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

.pending-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pending-action-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.15s ease;
}

.pending-action-item:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-subtle);
}

.pending-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pending-item-thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #e2e8f0;
  flex-shrink: 0;
}

.pending-item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pending-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pending-item-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.grid-dual-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
}

/* Activity Timeline */
.activity-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.activity-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.dot-blue { background: var(--primary); }
.dot-green { background: var(--color-green); }
.dot-amber { background: var(--color-amber); }
.dot-rose { background: var(--color-rose); }
.dot-purple { background: var(--color-purple); }

.activity-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.activity-desc {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.activity-desc strong {
  font-weight: 700;
}

.activity-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Recent Clubs List */
.recent-clubs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recent-club-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  gap: 12px;
}

.recent-club-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.recent-club-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.recent-club-meta {
  display: flex;
  flex-direction: column;
}

.recent-club-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.recent-club-cat {
  font-size: 0.73rem;
  color: var(--text-secondary);
}

/* ---------------- Toolbar & Filters ---------------- */
.filters-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.search-toolbar-box {
  width: 280px;
}

.input-with-icon {
  position: relative;
}

.input-svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.input-with-icon .form-input {
  padding-left: 36px;
}

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

.select-wrapper {
  position: relative;
}

.clean-select {
  height: 38px;
  padding: 0 32px 0 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.clean-select:focus {
  border-color: var(--border-focus);
}

.view-switcher {
  display: flex;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.view-btn {
  padding: 6px 9px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.view-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.segment-tabs {
  display: flex;
  background: #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
  overflow-x: auto;
}

.segment-tab {
  padding: 6px 14px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

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

.segment-tab.active {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ---------------- Table Component ---------------- */
.data-surface {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.clean-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.clean-table th {
  padding: 14px 20px;
  font-size: 0.74rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.clean-table td {
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.clean-table tbody tr:hover {
  background-color: #f8fafc;
}

.clean-table tbody tr:last-child td {
  border-bottom: none;
}

.clean-table .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.table-empty {
  text-align: center;
  padding: 48px 20px !important;
  color: var(--text-muted);
}

.table-club-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.table-club-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #f1f5f9;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.table-club-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.table-club-name {
  font-weight: 750;
  color: var(--text-primary);
  font-size: 0.94rem;
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
}

.table-club-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-top: 2px;
  white-space: normal;
}

/* Specific Table Column Sizing - Clubs Table (5 Essential Columns, Fits Viewport) */
#clubsTable th:nth-child(1), #clubsTable td:nth-child(1) { width: 38%; }
#clubsTable th:nth-child(2), #clubsTable td:nth-child(2) { width: 22%; }
#clubsTable th:nth-child(3), #clubsTable td:nth-child(3) { width: 16%; }
#clubsTable th:nth-child(4), #clubsTable td:nth-child(4) { width: 10%; }
#clubsTable th:nth-child(5), #clubsTable td:nth-child(5) { width: 14%; text-align: right; }

/* Specific Table Column Sizing - Verification Requests Table (5 Essential Columns, Fits Viewport) */
#verificationsTable th:nth-child(1), #verificationsTable td:nth-child(1) { width: 36%; }
#verificationsTable th:nth-child(2), #verificationsTable td:nth-child(2) { width: 22%; }
#verificationsTable th:nth-child(3), #verificationsTable td:nth-child(3) { width: 14%; }
#verificationsTable th:nth-child(4), #verificationsTable td:nth-child(4) { width: 14%; }
#verificationsTable th:nth-child(5), #verificationsTable td:nth-child(5) { width: 14%; text-align: right; }

/* Specific Table Column Sizing - Organizer Access Table (5 Essential Columns, Fits Viewport) */
#organizersTable th:nth-child(1), #organizersTable td:nth-child(1) { width: 25%; }
#organizersTable th:nth-child(2), #organizersTable td:nth-child(2) { width: 30%; }
#organizersTable th:nth-child(3), #organizersTable td:nth-child(3) { width: 18%; }
#organizersTable th:nth-child(4), #organizersTable td:nth-child(4) { width: 13%; }
#organizersTable th:nth-child(5), #organizersTable td:nth-child(5) { width: 14%; text-align: right; }

/* Specific Table Column Sizing - Students Directory Table (5 Essential Columns, Fits Viewport) */
#studentsTable th:nth-child(1), #studentsTable td:nth-child(1) { width: 26%; }
#studentsTable th:nth-child(2), #studentsTable td:nth-child(2) { width: 24%; }
#studentsTable th:nth-child(3), #studentsTable td:nth-child(3) { width: 24%; }
#studentsTable th:nth-child(4), #studentsTable td:nth-child(4) { width: 14%; }
#studentsTable th:nth-child(5), #studentsTable td:nth-child(5) { width: 12%; text-align: right; }

/* Table Actions Button Group */
.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.action-icon-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.action-icon-btn.btn-danger-hover:hover {
  background: var(--color-rose-subtle);
  color: var(--color-rose);
  border-color: var(--color-rose-border);
}

.action-svg {
  width: 15px;
  height: 15px;
}

/* Pagination Footer */
.pagination-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border-color);
  background: #f8fafc;
}

.pagination-info {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-btn {
  padding: 5px 10px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------------- Badges & Status Indicators ---------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.badge-official {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.badge-personal {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
}

.badge-verified {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.badge-pending {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}

.badge-rejected {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
}

.badge-suspended {
  background: #fef2f2;
  border: 1px solid #f87171;
  color: #991b1b;
}

.badge-published {
  background: #ecfdf5;
  color: #059669;
}

.badge-draft {
  background: #f1f5f9;
  color: #64748b;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-svg {
  width: 13px;
  height: 13px;
}

/* ---------------- Cards Grid Layout ---------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.club-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.club-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.club-card-banner {
  height: 90px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  position: relative;
  background-size: cover;
  background-position: center;
}

.club-card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  position: relative;
}

.club-card-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-top: -42px;
  margin-bottom: 4px;
  overflow: hidden;
}

.club-card-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.club-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.club-card-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.club-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.club-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.club-card-members {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ---------------- Form Elements & Logo Uploader ---------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.col-span-2 {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.required-star {
  color: var(--color-rose);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: #ffffff;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  resize: vertical;
}

.form-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Form Alert Banner */
.form-alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-alert-banner.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.form-alert-banner .alert-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0;
  stroke: #2563eb;
  margin-top: 1px;
}

.form-alert-banner .alert-content {
  flex: 1;
}

svg.alert-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.section-number {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-section-header h4 {
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--text-primary);
  line-height: 1.2;
}

.form-section-header p {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.required-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: var(--radius-xs);
}

/* Logo Uploader Component */
.logo-uploader-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-input);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease;
}

.logo-uploader-card:hover {
  border-color: var(--primary);
}

.logo-preview-box {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.68rem;
  text-align: center;
  padding: 4px;
}

.preview-svg {
  width: 24px;
  height: 24px;
}

.uploader-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uploader-buttons-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.uploader-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Accordion Component */
.accordion-group {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-header {
  padding: 14px 18px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s ease;
}

.accordion-header:hover {
  background: #f1f5f9;
}

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

.accordion-title-wrap .section-number {
  background: var(--text-secondary);
}

.accordion-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.accordion-chevron.open {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 16px 18px;
  border-top: 1px solid var(--border-color);
  background: #ffffff;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

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

.btn-secondary {
  background: #ffffff;
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-danger {
  background: var(--color-rose);
  color: #ffffff;
}

.btn-danger:hover {
  background: #be123c;
}

.btn-danger-subtle {
  background: var(--color-rose-subtle);
  border-color: var(--color-rose-border);
  color: var(--color-rose);
}

.btn-danger-subtle:hover {
  background: #fee2e2;
}

.btn-success {
  background: var(--color-green);
  color: #ffffff;
}

.btn-success:hover {
  background: #047857;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
}

.btn-icon-only {
  padding: 9px;
}

.btn-block {
  width: 100%;
}

.btn-svg {
  width: 16px;
  height: 16px;
}

/* ---------------- Modals ---------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.97);
  transition: transform 0.2s ease;
}

.modal-overlay.open .modal-dialog {
  transform: scale(1);
}

.modal-dialog-sm { max-width: 440px; }
.modal-dialog-md { max-width: 620px; }
.modal-dialog-lg { max-width: 780px; }
.modal-dialog-xl { max-width: 960px; }

.modal-dialog form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.modal-title-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-svg {
  width: 20px;
  height: 20px;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-xs);
  transition: color 0.15s ease;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
  flex: 1;
}

.modal-scrollable {
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* Detailed Club Modal Hero */
.modal-header-detailed {
  padding: 24px;
  background: #f8fafc;
  align-items: flex-start;
}

.club-header-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.club-hero-logo-wrap {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-color);
  overflow: hidden;
  flex-shrink: 0;
}

.club-hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.club-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.club-hero-badges-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.club-hero-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.club-hero-faculty {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.modal-tabs-bar {
  display: flex;
  padding: 0 24px;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
  overflow-x: auto;
  gap: 8px;
}

.modal-tab {
  padding: 12px 14px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

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

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

/* Detail Sections */
.detail-grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.detail-kpi-card {
  padding: 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-kpi-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-kpi-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.detail-info-block {
  margin-bottom: 18px;
}

.detail-info-block h4 {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.detail-info-block p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Document Evidence Item */
.document-evidence-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

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

.doc-icon-box {
  width: 36px;
  height: 36px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-meta h5 {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.doc-meta span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Decision Action Card in Verification Review */
.decision-action-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.decision-action-box h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Delete / Destructive confirmation */
.delete-target-badge {
  padding: 10px 14px;
  background: #fee2e2;
  color: #991b1b;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.delete-warning-text {
  font-size: 0.78rem;
  color: var(--color-rose);
  line-height: 1.4;
}

/* ---------------- Toast Notifications ---------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}

.toast {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 280px;
  max-width: 420px;
  animation: slideInToast 0.25s ease;
}

.toast.success {
  border-left: 4px solid var(--color-green);
}

.toast.error {
  border-left: 4px solid var(--color-rose);
}

.toast.info {
  border-left: 4px solid var(--primary);
}

.toast-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

/* ---------------- Loading Spinner & Placeholders ---------------- */
.loading-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-placeholder {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------------- Responsive Styles ---------------- */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .main-wrapper {
    margin-left: 0;
  }

  .sidebar-toggle-btn {
    display: flex;
  }

  .topbar {
    padding: 0 20px;
  }

  .content-container {
    padding: 20px 20px 40px;
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .col-span-2 {
    grid-column: span 1;
  }

  .pending-split-grid, .grid-dual-columns {
    grid-template-columns: 1fr;
  }

  .topbar-right .status-pill {
    display: none;
  }
}

/* =========================================================
   LOGIN OVERLAY MODAL & AUTH FORM STYLING
   ========================================================= */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 25, 47, 0.75);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 24px;
}

.login-split-card {
  display: flex;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 30px 70px -15px rgba(2, 12, 27, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  max-width: 860px;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  position: relative;
  animation: loginCardFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes loginCardFadeIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.login-hero-panel {
  background: linear-gradient(155deg, #07192F 0%, #0D2C54 50%, #006073 100%);
  color: #ffffff;
  padding: 44px 36px;
  width: 44%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.login-hero-backdrop-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 189, 199, 0.22) 0%, rgba(0, 189, 199, 0) 70%);
  pointer-events: none;
}

.login-hero-top {
  position: relative;
  z-index: 1;
}

.login-brand-wrap {
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.login-brand-img {
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.login-hero-subtitle {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.55;
  margin-bottom: 24px;
  font-weight: 400;
}

.login-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #E2E8F0;
  font-weight: 500;
}

.feature-icon-circle {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: rgba(0, 189, 199, 0.18);
  border: 1px solid rgba(0, 189, 199, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00BDC7;
  flex-shrink: 0;
}

.feature-icon {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  color: #00BDC7;
  stroke-width: 2.5;
}

.login-hero-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #64748B;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.footer-lock-icon {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  color: #00BDC7;
  flex-shrink: 0;
}

.login-form-panel {
  padding: 44px 40px;
  width: 56%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  position: relative;
}

.login-form-header {
  margin-bottom: 20px;
}

.login-security-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(13, 44, 84, 0.06);
  border: 1px solid rgba(13, 44, 84, 0.12);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0D2C54;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.security-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00BDC7;
  box-shadow: 0 0 6px rgba(0, 189, 199, 0.6);
  display: inline-block;
}

.login-form-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.login-form-header p {
  font-size: 0.82rem;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.field-icon {
  position: absolute;
  left: 14px;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  color: #94A3B8;
  pointer-events: none;
  transition: color 0.2s;
  z-index: 2;
}

.form-input.with-icon {
  padding-left: 42px !important;
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  font-size: 0.88rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.form-input.with-icon:focus {
  border-color: #00BDC7 !important;
  box-shadow: 0 0 0 3px rgba(0, 189, 199, 0.16) !important;
  outline: none;
}

.form-input.with-action {
  padding-right: 44px !important;
}

.field-action-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 6px;
  border-radius: 6px;
  color: #94A3B8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
  z-index: 2;
}

.field-action-btn:hover {
  color: #0F172A;
  background: #F1F5F9;
}

.field-action-svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  display: block;
}

.login-error-alert {
  padding: 10px 14px;
  border-radius: 8px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-submit-btn {
  height: 44px;
  background: linear-gradient(135deg, #07192F 0%, #0D2C54 50%, #007788 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(7, 25, 47, 0.25);
  transition: all 0.2s ease;
  margin-top: 4px;
}

.login-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(7, 25, 47, 0.35);
  filter: brightness(1.08);
}

.login-submit-btn:active {
  transform: translateY(0);
}

.login-submit-btn .btn-svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  transition: transform 0.2s ease;
}

.login-submit-btn:hover .btn-svg {
  transform: translateX(3px);
}

/* =========================================================
   CREDENTIALS CALLOUT CARD (FIX OVERSIZED SVG BUG)
   ========================================================= */
.login-credentials-hint {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 4px;
}

.hint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}

.hint-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hint-icon-wrap {
  width: 22px;
  height: 22px;
  min-width: 22px;
  max-width: 22px;
  border-radius: 6px;
  background: rgba(0, 189, 199, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hint-icon {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  max-width: 13px !important;
  color: #00848E;
  stroke-width: 2.5;
  display: block;
  flex-shrink: 0;
}

.hint-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.01em;
}

.hint-autofill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 0.69rem;
  font-weight: 600;
  color: #0284C7;
  background: #E0F2FE;
  border: 1px solid rgba(2, 132, 199, 0.22);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hint-autofill-btn:hover {
  background: #BAE6FD;
  color: #0369A1;
}

.hint-autofill-btn svg {
  width: 11px !important;
  height: 11px !important;
  min-width: 11px !important;
  display: block;
}

.hint-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 0.75rem;
  color: #475569;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.hint-label {
  font-weight: 500;
  color: #64748B;
  font-size: 0.72rem;
}

.hint-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .login-split-card {
    flex-direction: column;
    max-width: 440px;
    min-height: auto;
  }
  .login-hero-panel {
    width: 100%;
    padding: 28px 24px;
  }
  .login-hero-subtitle {
    margin-bottom: 18px;
  }
  .login-features, .login-hero-footer {
    display: none;
  }
  .login-form-panel {
    width: 100%;
    padding: 28px 24px;
  }
}

