/* css/style.css - Imperial College of Business Studies MBA Lead Portal */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette */
  --bg-dark: #070b14;
  --bg-surface: #0d1527;
  --bg-card: rgba(18, 28, 50, 0.7);
  --bg-card-hover: rgba(23, 37, 66, 0.85);
  --bg-input: rgba(10, 18, 36, 0.85);
  
  --primary: #4f46e5;
  --primary-glow: #6366f1;
  --primary-light: #818cf8;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-gold: #f59e0b;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.35);
  --border-focus: rgba(99, 102, 241, 0.8);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Atmospheric Ambient Background Lights */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #4338ca 0%, rgba(67, 56, 202, 0) 70%);
  top: -120px;
  right: -100px;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #0284c7 0%, rgba(2, 132, 199, 0) 70%);
  bottom: -150px;
  left: -100px;
  animation-duration: 22s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #059669 0%, rgba(5, 150, 105, 0) 70%);
  top: 45%;
  left: 35%;
  opacity: 0.2;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.08); }
  100% { transform: translate(-20px, -30px) scale(0.95); }
}

/* Header & Navigation Bar */
.site-header {
  position: relative;
  z-index: 10;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(7, 11, 20, 0.7);
  backdrop-filter: blur(12px);
}

/* Dual Partner Logo Header */
.brand-partner-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.brand-logo-link:hover {
  transform: translateY(-1px);
}

.partner-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
}

.partner-divider-line {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 0.2rem;
}

/* Partnership Ribbon in Hero */
.partnership-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1rem;
  background: rgba(18, 28, 50, 0.75);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  width: fit-content;
  box-shadow: var(--shadow-sm);
  margin-bottom: -0.25rem;
}

.ribbon-tag {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.ribbon-text {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.ribbon-text strong {
  color: #ffffff;
}

/* Login Page Partner Logos */
.login-logos-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.login-mini-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

.login-logo-divider {
  width: 1px;
  height: 26px;
  background: #cbd5e1;
  margin: 0 0.25rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 600;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

.admin-link-btn {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.admin-link-btn:hover {
  color: var(--text-main);
  border-color: var(--primary-glow);
  background: rgba(99, 102, 241, 0.1);
}

/* Main Layout */
.main-wrapper {
  position: relative;
  z-index: 5;
  flex: 1;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Left Hero / Highlights Column */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.program-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 600;
  width: fit-content;
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Features Grid */
.feature-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.feature-pill-card {
  background: rgba(18, 28, 50, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.feature-pill-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  background: rgba(23, 37, 66, 0.7);
}

.feature-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-text-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}

.feature-text-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Trust / Accreditations Footer */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}

.trust-item svg {
  color: var(--accent-emerald);
}

/* Right Form Card */
.form-card-container {
  position: relative;
}

.form-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0));
  z-index: 1;
  pointer-events: none;
}

.lead-form-card {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: var(--transition);
}

.form-header-area {
  margin-bottom: 1.85rem;
}

.form-subhead-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  display: block;
}

.form-heading {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.form-subdescription {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Form Groups & Inputs */
.form-group {
  margin-bottom: 1.35rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

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

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: var(--transition);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #ffffff;
  background-color: var(--bg-input);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

.form-input:focus {
  border-color: var(--primary-glow);
  background-color: rgba(14, 24, 48, 0.95);
  box-shadow: 0 0 0 3.5px rgba(99, 102, 241, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-input:focus + .input-icon,
.input-control-wrapper:focus-within .input-icon {
  color: var(--primary-light);
}

.form-input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.field-error-msg {
  display: none;
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 0.35rem;
  align-items: center;
  gap: 0.3rem;
}

.field-error-msg.visible {
  display: flex;
}

/* Custom Checkbox */
.checkbox-form-group {
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}

.custom-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.custom-checkbox-container input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkmark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.custom-checkmark svg {
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
  color: #ffffff;
}

.custom-checkbox-container:hover .custom-checkmark {
  border-color: var(--primary-glow);
}

.custom-checkbox-container input:checked ~ .custom-checkmark {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.5);
}

.custom-checkbox-container input:checked ~ .custom-checkmark svg {
  opacity: 1;
  transform: scale(1);
}

.custom-checkbox-container.is-invalid .custom-checkmark {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.checkbox-label-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.checkbox-label-text strong {
  color: #e2e8f0;
}

/* Submit CTA Button */
.btn-submit-cta {
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #06b6d4 100%);
  background-size: 200% auto;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.btn-submit-cta:hover {
  background-position: right center;
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

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

.btn-submit-cta:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

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

.btn-submit-cta.is-loading .btn-text,
.btn-submit-cta.is-loading .btn-icon {
  display: none;
}
.btn-submit-cta.is-loading .spinner {
  display: block;
}

/* Privacy note below button */
.form-privacy-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* Success Card Overlay */
.submission-success-overlay {
  display: none;
  text-align: center;
  padding: 1.5rem 0.5rem;
  animation: fadeInScale 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.submission-success-overlay.active {
  display: block;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.success-message {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.success-actions-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-brochure-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: var(--transition);
}

.btn-brochure-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

.btn-reset-form {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-reset-form:hover {
  color: var(--text-main);
  border-color: var(--border-glow);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-item {
  min-width: 300px;
  max-width: 420px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  color: #fff;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-item.error {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(30, 15, 20, 0.95);
}

.toast-item.success {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(12, 30, 24, 0.95);
}

/* ========================================================================= */
/* Login Screen Specific Styles */
/* ========================================================================= */
.login-wrapper {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  min-height: calc(100vh - 160px);
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: fadeInScale 0.35s ease forwards;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-crest-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.login-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.login-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.auth-alert-error {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  margin-bottom: 1.5rem;
}

.login-hint-box {
  margin-top: 1.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 18, 36, 0.7);
  border: 1px dashed var(--border-glow);
  font-size: 0.78rem;
}

.hint-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hint-credentials {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.hint-credentials code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: #38bdf8;
  font-family: monospace;
}

/* ========================================================================= */
/* Admin Dashboard Specific Styles */
/* ========================================================================= */
.admin-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  flex: 1;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-title-area h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.admin-title-area p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-sub {
  font-size: 0.75rem;
  color: var(--accent-emerald);
  margin-top: 0.25rem;
}

.admin-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  max-width: 400px;
}

.admin-search-input {
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.admin-search-input:focus {
  border-color: var(--primary-glow);
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: var(--transition);
}

.admin-btn-primary {
  background: var(--primary);
  color: #fff;
}
.admin-btn-primary:hover {
  background: var(--primary-glow);
}

.admin-btn-export {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}
.admin-btn-export:hover {
  background: rgba(16, 185, 129, 0.25);
}

.admin-btn-logout {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.25);
}
.admin-btn-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff;
}

.admin-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

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

.admin-table th {
  background: rgba(10, 18, 36, 0.85);
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.admin-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: #e2e8f0;
}

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

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

.badge-consent-yes {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 600;
}

.site-footer {
  position: relative;
  z-index: 5;
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  background: rgba(7, 11, 20, 0.5);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .main-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 2rem;
  }
  .hero-main-title {
    font-size: 2.35rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 1rem;
  }
  .main-wrapper {
    padding: 1.5rem 1rem 3rem 1rem;
  }
  .lead-form-card {
    padding: 1.85rem 1.35rem;
  }
  .hero-main-title {
    font-size: 1.95rem;
  }
  .feature-highlights-grid {
    grid-template-columns: 1fr;
  }
  .trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .admin-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-search-form {
    max-width: 100%;
  }
}
