/* AXIOS INITIATIVE - Admin Dashboard Stylesheet */

.admin-body {
  background-color: var(--bg-deep);
  color: var(--text-body);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Layout */
.admin-layout {
  display: none;
  width: 100vw;
  min-height: 100vh;
  position: relative;
}

body.authenticated .admin-layout {
  display: flex !important;
}

/* Sidebar */
.admin-sidebar {
  width: 280px;
  background: rgba(14, 23, 42, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  transition: transform var(--transition-normal);
}

.sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-logo {
  height: 34px;
  width: auto;
}

.sidebar-badge {
  font-size: 0.6875rem;
  background: rgba(227, 83, 9, 0.16);
  border: 1px solid rgba(227, 83, 9, 0.35);
  color: var(--primary-orange-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

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

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

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.05);
}

.sidebar-item.active {
  background: rgba(227, 83, 9, 0.15);
  border-color: rgba(227, 83, 9, 0.35);
  color: #FFFFFF;
  font-weight: 600;
}

.sidebar-item-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
}

.sidebar-item-count {
  margin-left: auto;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--text-body);
}

.sidebar-item.active .sidebar-item-count {
  background: var(--primary-orange);
  color: #FFFFFF;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 13, 25, 0.5);
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EE5A00, #C44100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.875rem;
}

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

.admin-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFFFFF;
}

.admin-role {
  font-size: 0.6875rem;
  color: var(--text-dim);
}

/* Main Content Area */
.admin-main {
  flex: 1;
  margin-left: 280px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-deep);
  position: relative;
}

/* Topbar */
.admin-topbar {
  height: 72px;
  background: rgba(14, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 900;
}

.topbar-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  width: 320px;
  transition: all var(--transition-fast);
}

.topbar-search:focus-within {
  border-color: var(--primary-orange);
  background: rgba(14, 23, 42, 0.9);
  box-shadow: 0 0 15px var(--primary-orange-glow);
}

.topbar-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.875rem;
  width: 100%;
}

.topbar-search input::placeholder {
  color: var(--text-dim);
}

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

.action-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.action-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-indicator {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  background: var(--primary-orange-light);
  border-radius: 50%;
}

/* Content Container */
.admin-content {
  padding: 32px;
  flex: 1;
}

/* Page Section */
.admin-tab-pane {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.admin-tab-pane.active {
  display: block;
}

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

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

.page-title-group h1 {
  font-size: 1.625rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.page-title-group p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* KPI Summary Cards Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 1200px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.kpi-card {
  background: rgba(14, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.kpi-card:hover {
  background: rgba(14, 23, 42, 0.92);
  border-color: rgba(227, 83, 9, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 15px rgba(227, 83, 9, 0.1);
}

.kpi-card-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.kpi-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
}

.kpi-value {
  font-size: 1.625rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin: 3px 0;
}

.kpi-subtext,
.kpi-trend {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-trend.positive {
  color: #10B981;
}

.kpi-trend.neutral {
  color: var(--text-dim);
}

.kpi-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(227, 83, 9, 0.12);
  border: 1px solid rgba(227, 83, 9, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange-light);
  flex-shrink: 0;
  margin-left: 14px;
}

/* Tables & Data Grid Panels */
.data-panel {
  background: rgba(14, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 32px;
}

.data-panel-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}

.data-panel-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
}

.data-panel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.admin-table th {
  padding: 14px 20px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(7, 13, 25, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-body);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.verified,
.status-badge.completed,
.status-badge.approved {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.pending,
.status-badge.review {
  background: rgba(245, 158, 11, 0.12);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.active {
  background: rgba(227, 83, 9, 0.15);
  color: var(--primary-orange-light);
  border: 1px solid rgba(227, 83, 9, 0.35);
}

.status-badge.suspended {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Action Buttons inside Table */
.btn-table-action {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-table-action:hover {
  background: rgba(227, 83, 9, 0.2);
  border-color: var(--primary-orange);
  color: #FFFFFF;
}

/* Forms & Filter Controls */
.filter-select {
  background: rgba(7, 13, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 7px 12px;
  color: var(--text-main);
  font-size: 0.8125rem;
  outline: none;
}

.filter-select:focus {
  border-color: var(--primary-orange);
}

/* Modal inside Admin */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.admin-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.admin-modal-box {
  background: rgba(14, 23, 42, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.admin-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-modal-body {
  padding: 24px;
  max-height: 75vh;
  overflow-y: auto;
}

.admin-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(7, 13, 25, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .admin-topbar {
    padding: 0 16px;
  }
  .topbar-search {
    width: 180px;
  }
}

/* ==========================================================================
   ADMIN AUTHENTICATION OVERLAY & FORMS
   ========================================================================== */

.admin-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at 80% 20%, rgba(227, 83, 9, 0.12) 0%, rgba(11, 19, 43, 0.98) 50%, rgba(5, 9, 20, 0.99) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.admin-auth-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* AXIOS Animated Initial Splash Loader */
.admin-auth-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  padding: 40px 24px;
  animation: fadeInAuth 0.35s ease;
  max-width: 420px;
  width: 100%;
}

.loader-logo-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.loader-logo-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 83, 9, 0.3) 0%, rgba(227, 83, 9, 0.08) 50%, transparent 70%);
  animation: pulseLogoGlow 2.4s infinite ease-in-out;
  pointer-events: none;
}

.loader-logo-img {
  height: 48px;
  width: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
  animation: subtleLogoFloat 3s infinite ease-in-out;
}

.loader-indicator-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loader-spinner-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--primary-orange);
  border-right-color: var(--primary-orange-light);
  animation: spin 0.85s linear infinite;
  box-shadow: 0 0 16px rgba(227, 83, 9, 0.25);
}

.loader-status-text {
  font-size: 0.84375rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
}

.loader-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(227, 83, 9, 0.12);
  border: 1px solid rgba(227, 83, 9, 0.3);
  color: var(--primary-orange-light);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 4px;
}

@keyframes pulseLogoGlow {
  0%, 100% {
    transform: scale(0.88);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.9;
  }
}

@keyframes subtleLogoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.admin-auth-card {
  max-width: 520px;
  width: 100%;
  background: linear-gradient(145deg, rgba(17, 27, 50, 0.92) 0%, rgba(9, 14, 28, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 50px rgba(227, 83, 9, 0.08);
  position: relative;
  overflow: hidden;
}

.admin-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #E35309, #FF7B39, #38BDF8);
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo {
  height: 38px;
  margin-bottom: 14px;
}

.auth-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.auth-subtitle {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}

/* Tabs Switcher */
.auth-tabs-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-tab-btn.active {
  background: rgba(227, 83, 9, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(227, 83, 9, 0.35);
  box-shadow: 0 4px 12px rgba(227, 83, 9, 0.15);
}

.auth-tab-btn:hover:not(.active) {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.03);
}

/* Google Sign-in Button & Divider */
.auth-google-btn {
  width: 100%;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 0.90625rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.auth-google-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.auth-google-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  padding: 0 12px;
}

/* Form Styles */
.auth-form-pane {
  display: none;
}

.auth-form-pane.active {
  display: block;
  animation: fadeInAuth 0.3s ease;
}

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

.auth-form-group {
  margin-bottom: 16px;
}

.auth-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 6px;
}

.auth-label .required-dot {
  color: var(--primary-orange-light);
  margin-left: 2px;
}

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

.auth-input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
}

.auth-input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: rgba(7, 13, 25, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.auth-input:focus {
  outline: none;
  border-color: var(--primary-orange-light);
  background: rgba(7, 13, 25, 0.85);
  box-shadow: 0 0 0 3px rgba(227, 83, 9, 0.15);
}

.auth-input::placeholder {
  color: rgba(148, 163, 184, 0.45);
}

.auth-btn-submit {
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, #E35309 0%, #FF6B1F 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 0.90625rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(227, 83, 9, 0.3);
  margin-top: 20px;
}

.auth-btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(227, 83, 9, 0.4);
  filter: brightness(1.06);
}

.auth-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Dynamic Google Auth Section */
.google-dynamic-section {
  margin-top: 14px;
  margin-bottom: 6px;
  animation: fadeInSlideDown 0.3s ease forwards;
}

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

.google-detect-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #34D399;
  margin-bottom: 10px;
}

.auth-btn-google {
  width: 100%;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.auth-btn-google:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.auth-btn-google:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 10px 0;
}

.auth-separator::before,
.auth-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-separator span {
  padding: 0 12px;
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* Auth Alerts */
.auth-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 16px;
  display: none;
}

.auth-alert.show {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.auth-alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
}

.auth-alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86EFAC;
}

.auth-alert-info {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #BAE6FD;
}

/* Superadmin badge pill */
.superadmin-info-pill {
  background: rgba(227, 83, 9, 0.12);
  border: 1px solid rgba(227, 83, 9, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: #FDBA74;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

/* Back Link */
.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-decoration: none;
  margin-top: 20px;
  transition: color 0.2s ease;
  width: 100%;
  justify-content: center;
}

.auth-back-link:hover {
  color: var(--primary-orange-light);
}

.logout-btn-style {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.logout-btn-style:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #F87171;
}

/* ==========================================================================
   ADMIN MODAL SYSTEM & USER MANAGEMENT STYLES
   ========================================================================== */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 9, 20, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.admin-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.admin-modal-card {
  background: rgba(14, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(227, 83, 9, 0.15);
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.admin-modal-card-large {
  width: 90% !important;
  max-width: 1250px !important;
  height: 80vh !important;
  max-height: 80vh !important;
  display: flex !important;
  flex-direction: column !important;
}

.admin-modal-card-large .admin-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
}

/* Custom Minimalist Orange Scrollbar for Admin & Modals */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(7, 13, 25, 0.45);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: rgba(227, 83, 9, 0.5);
  border-radius: 8px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-orange);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 83, 9, 0.5) rgba(7, 13, 25, 0.45);
}

.admin-modal-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-orange-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 12px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
}

.admin-modal-overlay.active .admin-modal-card {
  transform: translateY(0) scale(1);
}

.admin-modal-header {
  padding: 24px 28px 18px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-modal-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 4px 0;
}

.admin-modal-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.admin-modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.admin-modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #F87171;
}

.admin-modal-body {
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 70vh;
  overflow-y: auto;
}

.admin-modal-footer {
  padding: 18px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 13, 25, 0.4);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* User Role Badges */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.role-badge-superadmin {
  background: rgba(227, 83, 9, 0.16);
  color: var(--primary-orange-light);
  border: 1px solid rgba(227, 83, 9, 0.35);
}

.role-badge-admin {
  background: rgba(59, 130, 246, 0.14);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.role-badge-project_manager {
  background: rgba(16, 185, 129, 0.14);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.role-badge-treasurer {
  background: rgba(245, 158, 11, 0.14);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.role-badge-viewer {
  background: rgba(148, 163, 184, 0.12);
  color: #CBD5E1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.user-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(227, 83, 9, 0.3), rgba(249, 115, 22, 0.6));
  border: 1px solid rgba(227, 83, 9, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

/* Spinner Icon */
.spin-icon {
  animation: spin 1s linear infinite;
}

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