@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  /* Brand Core - Midnight Obsidian & Cyber Emerald / Teal Palette */
  --bg-color: #06090e;
  --bg-gradient:
    radial-gradient(
      ellipse 80% 50% at 50% -20%,
      rgba(16, 185, 129, 0.15) 0%,
      rgba(20, 184, 166, 0.05) 45%,
      transparent 80%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(6, 182, 212, 0.04) 0%,
      transparent 45%
    );

  --card-bg: #0b111a;
  --card-bg-elevated: #101824;
  --card-hover-bg: #141f2e;

  --text-color: #f1f5f9;
  --text-heading: #ffffff;
  --muted-text: #94a3b8;
  --subtle-text: #4e6178;

  /* Primary Action - Cyber Emerald & Neon Mint */
  --primary-color: #10b981;
  --primary-hover: #34d399;
  --primary-active: #059669;
  --primary-gradient: linear-gradient(
    135deg,
    #10b981 0%,
    #14b8a6 50%,
    #06b6d4 100%
  );
  --primary-glow: 0 0 24px rgba(16, 185, 129, 0.35);
  --primary-glow-subtle: 0 0 12px rgba(16, 185, 129, 0.2);

  /* Secondary Action - Resend-style Stark Platinum */
  --secondary-color: #f8fafc;
  --secondary-hover: #ffffff;
  --secondary-text: #06090e;
  --secondary-btn-bg: #f8fafc;
  --secondary-btn-hover: #ffffff;
  --secondary-glow: 0 0 16px rgba(248, 250, 252, 0.25);

  /* Accent Hues */
  --accent-teal: #14b8a6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-mint: #6ee7b7;

  /* Borders & Surfaces */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(52, 211, 153, 0.3);
  --border-color-active: rgba(16, 185, 129, 0.45);

  /* Form Inputs */
  --input-bg: #070c14;
  --input-border: rgba(255, 255, 255, 0.1);
  --input-border-hover: rgba(52, 211, 153, 0.35);
  --focus-ring: rgba(16, 185, 129, 0.25);

  /* Badges */
  --badge-success-bg: rgba(16, 185, 129, 0.12);
  --badge-success-text: #34d399;
  --badge-success-border: rgba(16, 185, 129, 0.3);

  --badge-progress-bg: rgba(6, 182, 212, 0.12);
  --badge-progress-text: #38bdf8;
  --badge-progress-border: rgba(6, 182, 212, 0.3);

  /* Sizing & Radius */
  --header-height: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows & Highlights */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md:
    0 4px 24px -2px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-lg:
    0 12px 40px -4px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.09);
  --card-inner-highlight: inset 0 1px 0 0 rgba(255, 255, 255, 0.08);

  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.portal-public-page {
  --public-bg: #edf5f2;
  --public-bg-strong: #e3f0eb;
  --public-surface: rgba(255, 255, 255, 0.92);
  --public-surface-strong: #ffffff;
  --public-border: rgba(11, 59, 46, 0.12);
  --public-text: #10251d;
  --public-text-soft: #526863;
  --public-primary: #0b3b2e;
  --public-primary-strong: #1c5d4c;
  --public-accent: #1f7d54;
  background:
    radial-gradient(circle at top, rgba(22, 163, 74, 0.12), transparent 28%),
    linear-gradient(180deg, var(--public-bg) 0%, #f6faf8 100%);
  color: var(--public-text);
}

.portal-public-page .header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--public-border);
  box-shadow: 0 1px 10px rgba(11, 59, 46, 0.05);
}

.portal-public-page .logo {
  color: var(--public-text);
}

.portal-public-page .logo-badge {
  background: linear-gradient(
    135deg,
    var(--public-primary) 0%,
    var(--public-primary-strong) 100%
  );
  box-shadow: 0 8px 18px rgba(11, 59, 46, 0.18);
}

.portal-public-page .nav a {
  color: var(--public-text-soft);
}

.portal-public-page .nav a:hover,
.portal-public-page .nav a.active {
  background: rgba(11, 59, 46, 0.06);
  color: var(--public-primary);
  border-color: rgba(11, 59, 46, 0.12);
}

.portal-public-page .main-content {
  padding-top: 72px;
  padding-bottom: 72px;
}

.portal-public-page .two-col-layout {
  align-items: center;
}

.portal-public-page .col-left {
  padding-right: 12px;
}

.portal-public-page .portal-kicker {
  color: var(--public-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.portal-public-page h1.page-title {
  background: linear-gradient(135deg, #0d261f 0%, #1a5d4b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--public-primary);
  text-shadow: none;
}

.portal-public-page .page-subtitle {
  color: var(--public-text-soft);
  max-width: 560px;
}

.portal-public-page .info-list li {
  color: var(--public-text-soft);
}

.portal-public-page .bullet {
  color: var(--public-accent);
  text-shadow: none;
}

.portal-public-page .form-card {
  background: var(--public-surface);
  border: 1px solid var(--public-border);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.portal-public-page .form-card h2,
.portal-public-page .form-card .card-desc,
.portal-public-page .form-group label,
.portal-public-page .checkbox-group label {
  color: var(--public-text);
}

.portal-public-page .form-card .card-desc {
  color: var(--public-text-soft);
}

.portal-public-page .form-input,
.portal-public-page .country-select {
  background: #ffffff;
  border: 1px solid var(--public-border);
  color: var(--public-text);
}

.portal-public-page .form-input::placeholder,
.portal-public-page .country-select {
  color: #778a84;
}

.portal-public-page .form-input:focus,
.portal-public-page .country-select:focus {
  border-color: rgba(11, 59, 46, 0.5);
  box-shadow: 0 0 0 4px rgba(11, 59, 46, 0.08);
}

.portal-public-page .btn-primary {
  background: linear-gradient(135deg, #0b3b2e 0%, #1c5d4c 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(11, 59, 46, 0.18);
}

.portal-public-page .btn-primary:hover {
  background: linear-gradient(135deg, #1c5d4c 0%, #0e4d3d 100%);
  color: #ffffff;
}

.portal-public-page .btn-secondary {
  background: #ffffff;
  border-color: rgba(11, 59, 46, 0.12);
  color: var(--public-primary);
  box-shadow: 0 8px 18px rgba(11, 59, 46, 0.06);
}

.portal-public-page .btn-secondary:hover {
  background: #f4faf7;
  color: var(--public-primary);
}

.portal-public-page .footer {
  background: rgba(255, 255, 255, 0.82);
  border-top: 1px solid var(--public-border);
  color: var(--public-text-soft);
}

.portal-public-page .footer-links li a {
  color: var(--public-text-soft);
}

.portal-public-page .footer-links li a:hover {
  color: var(--public-primary);
  background: rgba(11, 59, 46, 0.04);
}

@media (max-width: 860px) {
  .portal-public-page .two-col-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .portal-public-page .col-right {
    width: 100%;
  }
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition:
    color var(--transition),
    opacity var(--transition);
  touch-action: manipulation;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 16px; /* Prevents auto-zoom on iOS Safari */
  touch-action: manipulation;
}

/* Header */
.header {
  background: rgba(6, 9, 14, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  transition:
    background-color var(--transition),
    border-color var(--transition);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
}

.logo {
  font-size: clamp(20px, 4vw, 22px);
  font-weight: 700;
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
  min-height: 44px;
  letter-spacing: -0.3px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.logo:hover {
  text-decoration: none;
  opacity: 0.95;
  transform: translateY(-1px);
}

.logo-badge {
  width: 32px;
  height: 32px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: floatBadge 4s ease-in-out infinite;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  color: var(--muted-text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-heading);
  text-decoration: none;
  border-color: var(--border-color);
  transform: translateY(-1px);
}

.nav a.active {
  color: var(--primary-color);
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  font-weight: 600;
  box-shadow: var(--primary-glow-subtle);
}

/* Mobile Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--border-color-hover);
  outline: none;
  transform: scale(1.05);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-color);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.nav-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Main Layout */
.main-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 24px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pageCascadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.two-col-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  width: 100%;
}

.col-left {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.col-right {
  width: 440px;
  max-width: 100%;
  flex-shrink: 0;
}

.center-layout {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

/* Typography */
h1.page-title {
  font-size: clamp(32px, 5.5vw, 48px);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 14px;
  line-height: 1.12;
  text-align: left;
  letter-spacing: -1px;
  background: linear-gradient(180deg, #ffffff 30%, #a7f3d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--muted-text);
  margin-bottom: 24px;
  line-height: 1.55;
  text-align: left;
  font-weight: 400;
}

.info-list {
  list-style: none;
  margin-top: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-list li {
  color: var(--muted-text);
  font-size: clamp(14px, 2vw, 15px);
  line-height: 1.5;
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 10px;
  transition:
    transform var(--transition),
    color var(--transition);
}

.info-list li:hover {
  transform: translateX(4px);
  color: var(--text-color);
}

.info-list li span.bullet {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 16px;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* Form Card */
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md), var(--card-inner-highlight);
  padding: 28px;
  text-align: left;
  width: 100%;
  position: relative;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.form-card:hover {
  border-color: var(--border-color-hover);
  box-shadow:
    var(--shadow-lg),
    0 0 28px rgba(16, 185, 129, 0.08),
    var(--card-inner-highlight);
}

.form-card h2 {
  font-size: clamp(20px, 3.5vw, 24px);
  font-weight: 700;
  margin-bottom: 6px;
  text-align: left;
  color: var(--text-heading);
  letter-spacing: -0.4px;
}

.form-card .card-desc {
  color: var(--muted-text);
  font-size: 14px;
  margin-bottom: 22px;
  text-align: left;
  line-height: 1.45;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 7px;
  text-align: left;
  letter-spacing: -0.1px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
  min-width: 0;
}

.form-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  outline: none;
  background-color: var(--input-bg);
  color: var(--text-color);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

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

.form-input:hover {
  border-color: var(--input-border-hover);
}

.form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--focus-ring);
  background-color: #0b111c;
  transform: translateY(-1px);
}

.phone-group {
  display: flex;
  gap: 8px;
}

.country-select {
  width: 140px;
  min-height: 44px;
  flex-shrink: 0;
  padding: 10px 10px;
  font-size: 14px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  background-color: var(--input-bg);
  color: var(--text-color);
  outline: none;
  cursor: pointer;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.country-select:hover {
  border-color: var(--input-border-hover);
}

.country-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--focus-ring);
  transform: translateY(-1px);
}

.country-select option {
  background-color: #0b111a;
  color: #f1f5f9;
}

.phone-input {
  flex: 1;
  min-width: 0;
}

textarea.form-input {
  resize: vertical;
  min-height: 110px;
  line-height: 1.45;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 20px;
  font-size: 14px;
  min-height: 36px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
  flex-shrink: 0;
  border-radius: 4px;
  transition: transform var(--transition);
}

.checkbox-group input[type="checkbox"]:hover {
  transform: scale(1.1);
}

.checkbox-group label {
  cursor: pointer;
  color: var(--muted-text);
  user-select: none;
  font-weight: 400;
  line-height: 1.3;
  transition: color var(--transition);
}

.checkbox-group:hover label {
  color: var(--text-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  letter-spacing: -0.1px;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

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

/* Primary Button - Cyber Emerald & Neon Mint */
.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    var(--shadow-sm),
    0 0 14px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #2dd4bf 50%, #22d3ee 100%);
  color: #06090e;
  box-shadow: var(--shadow-md), var(--primary-glow);
}

/* Secondary Button - Resend Stark Platinum */
.btn-secondary {
  background-color: var(--secondary-btn-bg);
  color: var(--secondary-text);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--secondary-btn-hover);
  color: #000000;
  box-shadow: var(--shadow-md), var(--secondary-glow);
}

/* Outline Button */
.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-color-hover);
  color: var(--text-heading);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.15);
}

.btn-sm {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 13px;
  width: auto;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 20px 0;
}

.form-footer {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted-text);
}

.form-footer a {
  font-weight: 500;
}

.forgot-password-wrap {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
}

.forgot-password-wrap a {
  display: inline-block;
  padding: 4px 8px;
  color: var(--muted-text);
  font-size: 13px;
  transition:
    color var(--transition),
    transform var(--transition);
}

.forgot-password-wrap a:hover {
  color: var(--text-heading);
  transform: translateY(-1px);
}

.text-center {
  text-align: center;
}

/* Footer */
.footer {
  background: rgba(6, 9, 14, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 24px 20px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  margin-top: auto;
  text-align: center;
  font-size: 13px;
  color: var(--muted-text);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 12px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links li a {
  color: var(--muted-text);
  display: inline-block;
  padding: 4px 8px;
  min-height: 32px;
  line-height: 24px;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.footer-links li a:hover {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Dashboard Styles */
.dashboard-header {
  background: rgba(6, 9, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.dashboard-header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.user-badge {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-text);
  white-space: nowrap;
}

.user-badge strong {
  color: var(--text-heading);
}

.dashboard-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  flex: 1;
  animation: pageCascadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dashboard-sidebar {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm), var(--card-inner-highlight);
  padding: 12px;
  height: fit-content;
  transition: border-color var(--transition);
}

.dashboard-sidebar:hover {
  border-color: var(--border-color-hover);
}

.dashboard-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-nav a {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted-text);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all var(--transition);
  min-height: 38px;
}

.dashboard-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-heading);
  border-color: var(--border-color);
  text-decoration: none;
  transform: translateX(3px);
}

.dashboard-nav a.active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-color);
  border-color: rgba(16, 185, 129, 0.3);
  font-weight: 600;
  box-shadow: var(--primary-glow-subtle);
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.dashboard-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-welcome h1 {
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #ffffff 30%, #a7f3d0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm), var(--card-inner-highlight);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-3px);
  box-shadow:
    var(--shadow-md),
    0 0 20px rgba(16, 185, 129, 0.12),
    var(--card-inner-highlight);
}

.stat-card .stat-title {
  font-size: 12px;
  color: var(--muted-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.stat-card .stat-number {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  color: var(--text-heading);
  margin-top: 6px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.panel-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm), var(--card-inner-highlight);
  padding: 24px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.panel-card:hover {
  border-color: var(--border-color-hover);
}

.panel-card h2 {
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-heading);
  letter-spacing: -0.3px;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 -4px;
  padding-bottom: 6px;
}

.data-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--muted-text);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.02);
}

.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  white-space: nowrap;
}

.data-table tbody tr {
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.data-table tbody tr:hover {
  background-color: rgba(16, 185, 129, 0.04);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.badge:hover {
  transform: scale(1.05);
}

.badge-success {
  background: var(--badge-success-bg);
  color: var(--badge-success-text);
  border: 1px solid var(--badge-success-border);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.badge-progress {
  background: var(--badge-progress-bg);
  color: var(--badge-progress-text);
  border: 1px solid var(--badge-progress-border);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (<= 860px) */
@media (max-width: 860px) {
  .main-content {
    padding: 32px 18px;
  }

  .two-col-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .col-left {
    width: 100%;
    max-width: 100%;
  }

  .col-right {
    width: 100%;
    max-width: 100%;
  }

  .dashboard-container {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 20px;
  }

  .dashboard-sidebar {
    padding: 8px 10px;
  }

  /* Transform sidebar into mobile-friendly scrollable pill bar */
  .dashboard-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: clamp(8px, 2vw, 12px);
    padding: 0 2px 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
  }

  .dashboard-nav::-webkit-scrollbar {
    display: none;
  }

  .dashboard-nav li {
    flex-shrink: 0;
  }

  .dashboard-nav a {
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--card-bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    z-index: 1000;
  }

  .nav.is-open {
    display: flex;
    animation: fadeInDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav a {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    justify-content: flex-start;
  }

  /* Form controls font size on mobile */
  .form-input,
  .country-select,
  textarea.form-input {
    font-size: 16px; /* Essential to prevent iOS auto-zoom */
  }
}

/* Small Screens & Phones (<= 600px) */
@media (max-width: 600px) {
  .header {
    padding: 10px 16px;
  }

  .main-content {
    padding: 24px 14px;
  }

  .form-card {
    padding: 22px 18px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row .form-group:not(:last-child) {
    margin-bottom: 16px;
  }

  .phone-group {
    flex-direction: column;
    gap: 8px;
  }

  .country-select {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashboard-header {
    padding: 10px 16px;
  }

  .dashboard-header-container {
    gap: 12px;
  }

  .user-badge {
    font-size: 12px;
  }
}

/* Student service pages */
.portal-page {
  background: var(--background);
  color: var(--text);
  min-height: 100vh;
}

.portal-header {
  min-height: 72px;
  padding: 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.portal-header .brand {
  border: 0;
  padding: 0;
}

.portal-header .brand b,
.portal-header .brand small {
  display: block;
}

.portal-header .brand small {
  color: var(--muted);
  font-size: 11px;
}

.back-link {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.portal-main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.portal-main h1 {
  font-size: 30px;
  letter-spacing: -0.03em;
}

.page-lead {
  max-width: 620px;
  margin: 8px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.portal-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portal-form label,
.portal-form legend {
  color: #46514c;
  font-size: 12px;
  font-weight: 700;
}

.portal-form input:not([type="checkbox"]):not([type="file"]),
.portal-form select,
.portal-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  color: var(--text);
  background: #fbfcfc;
  border: 1px solid #dfe5e2;
  border-radius: 7px;
  outline: none;
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus {
  border-color: #7da99a;
  box-shadow: 0 0 0 3px rgba(11, 59, 46, 0.08);
}

.portal-form fieldset {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
}

.portal-edit-main {
  width: min(1100px, calc(100% - 40px));
}

.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
  background: #f5f9f7;
  border: 1px solid #dfeae5;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  color: var(--text);
}

.notice-box i {
  color: var(--primary);
  font-size: 17px;
  margin-top: 2px;
}

.notice-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.notice-box p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-section {
  display: grid;
  gap: 18px;
  padding: 22px;
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

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

.section-header h2 {
  margin: 0;
  font-size: 18px;
}

.section-tag {
  padding: 6px 10px;
  background: var(--primary-light);
  border-radius: 999px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-grid .full-span {
  grid-column: 1 / -1;
}

.file-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px dashed #c3d3ce;
  border-radius: 10px;
  background: #fafdfc;
  color: #526662;
  font-size: 12px;
  font-weight: 600;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: white;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

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

.compact-button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 11px;
}

.portal-profile-summary {
  width: min(820px, calc(100% - 40px));
}

.profile-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-summary-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    135deg,
    rgba(11, 59, 46, 0.02),
    rgba(32, 119, 88, 0.08)
  );
}

.profile-summary-avatar {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 22px;
}

.profile-summary-header h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.profile-summary-header p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
}

.summary-grid div {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fbfcfc;
}

.summary-grid span {
  color: var(--muted);
  font-size: 11px;
}

.summary-grid strong {
  font-size: 13px;
}

.summary-status {
  color: #147a50;
}

.summary-action-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text) !important;
  font-weight: 500 !important;
}

.check-row input {
  accent-color: var(--primary);
}

.check-row span {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}

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

.balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 20px;
  color: white;
  background: var(--primary);
  border-radius: var(--radius);
}

.balance-row strong {
  font-size: 22px;
}

.portal-table {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.portal-table > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.portal-table > div:last-child {
  border-bottom: 0;
}

.portal-table span {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 650px) {
  .portal-header {
    padding: 0 18px;
  }

  .portal-main {
    width: min(100% - 28px, 760px);
    padding-top: 32px;
  }

  .portal-form {
    padding: 18px;
  }

  .form-grid,
  .portal-table > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .balance-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
  .logo {
    font-size: 18px;
    gap: 6px;
  }

  .logo-badge {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .form-card {
    padding: 18px 14px;
  }

  .btn {
    font-size: 14px;
    padding: 10px 14px;
  }

  .user-badge {
    display: none; /* Keep header uncluttered on tiny screens */
  }
}

/* Smooth Keyframe Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes emeraldPulse {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
  }
}

/* =========================================
   RESET
========================================= */

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

:root {
  --primary: #0b3b2e;
  --primary-dark: #06291f;
  --primary-light: #e8f4ef;

  --background: #f5f7f9;
  --surface: #ffffff;

  --text: #17211d;
  --muted: #74807a;

  --border: #e7ebe9;

  --green: #16a36a;
  --blue: #3b82f6;
  --orange: #f59e0b;
  --purple: #8b5cf6;
  --red: #ef4444;

  --shadow: 0 4px 20px rgba(20, 40, 30, 0.05);

  --radius: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: var(--background);

  color: var(--text);

  line-height: 1.5;
}

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

/* Keep the keyboard shortcut available without changing the visual layout. */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 9px 12px;
  color: white;
  background: var(--primary);
  border-radius: 7px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input {
  font: inherit;
}

/* =========================================
   SIDEBAR
========================================= */

.sidebar {
  position: fixed;

  top: 0;
  left: 0;
  bottom: 0;

  height: 100vh;
  height: 100dvh;

  width: 265px;

  background: var(--surface);

  border-right: 1px solid var(--border);

  display: flex;
  flex-direction: column;

  z-index: 100;
}

.sidebar-backdrop {
  display: none;
}

.sidebar-top {
  flex: 1;

  overflow-y: auto;

  padding: 24px 16px;
}

/* BRAND */

.brand {
  display: flex;
  align-items: center;

  gap: 11px;

  padding: 0 10px 26px;

  border-bottom: 1px solid var(--border);
}

.brand-logo {
  width: 39px;
  height: 39px;

  background: var(--primary);

  color: white;

  border-radius: 10px;

  display: grid;
  place-items: center;

  font-size: 18px;
  font-weight: 800;
}

.brand-name {
  display: block;

  font-size: 16px;
  font-weight: 750;
}

.brand small {
  display: block;

  margin-top: 1px;

  color: var(--muted);

  font-size: 11px;
}

/* MINI PROFILE */

.student-mini-profile {
  padding: 18px 8px 8px;
}

.student-profile-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbfa, #f1f6f4);
}

.student-avatar-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto;
}

.student-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 8px 18px rgba(11, 59, 46, 0.12);
  display: block;
  background: var(--primary-light);
}

.student-edit-button {
  position: absolute;
  right: -4px;
  bottom: 4px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 18px rgba(11, 59, 46, 0.18);
  font-size: 11px;
}

.student-mini-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.student-id {
  display: inline-block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.student-mini-info strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
}

.student-mini-info span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.student-mini-info span + span {
  margin-top: 0;
}

.student-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(22, 163, 106, 0.12);
  color: #187752;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.student-status .status-dot {
  width: 7px;
  height: 7px;
  background: #18a46b;
  border-radius: 50%;
}

.student-avatar,
.profile-avatar {
  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--primary-light);

  color: var(--primary);

  font-weight: 700;
}

.student-avatar {
  width: 39px;
  height: 39px;
}

/* NAV */

.nav-section-title {
  margin: 18px 10px 9px;

  color: #a0aaa5;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.1em;
}

.nav-item {
  display: flex;

  align-items: center;

  gap: 13px;

  min-height: 44px;

  padding: 0 13px;

  margin-bottom: 4px;

  color: #66716c;

  border-radius: 9px;

  font-size: 13px;

  transition: 0.2s ease;
}

.nav-item i {
  width: 18px;

  text-align: center;

  font-size: 14px;
}

.nav-item:hover {
  color: var(--primary);

  background: #f2f7f5;
}

.nav-item.active {
  color: white;

  background: var(--primary);

  box-shadow: 0 6px 15px rgba(11, 59, 46, 0.16);
}

.nav-item.logout {
  color: #d14c4c;
}

.nav-item.logout:hover {
  background: #fff1f1;

  color: #bc3636;
}

.notification-count {
  margin-left: auto;

  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: white;

  background: var(--red);

  font-size: 10px;
  font-weight: 700;
}

/* SIDEBAR FOOTER */

.sidebar-footer {
  padding: 16px;

  border-top: 1px solid var(--border);
}

.support-box {
  display: flex;

  gap: 10px;

  padding: 12px;

  margin-bottom: 15px;

  background: #f6f8f7;

  border-radius: 10px;
}

.support-icon {
  width: 33px;
  height: 33px;

  border-radius: 8px;

  background: var(--primary-light);

  color: var(--primary);

  display: grid;
  place-items: center;
}

.support-box strong {
  display: block;

  font-size: 12px;
}

.support-box span {
  display: block;

  color: var(--muted);

  font-size: 10px;
}

.sidebar-footer p {
  color: #9ca5a0;

  text-align: center;

  font-size: 9px;
}

/* =========================================
   MAIN
========================================= */

.main-content {
  min-height: 100vh;

  min-width: 0;

  margin-left: 265px;
}

.main-content:focus {
  outline: none;
}

/* =========================================
   TOPBAR
========================================= */

.topbar {
  height: 72px;

  background: var(--surface);

  border-bottom: 1px solid var(--border);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 18px;

  padding: 0 35px;

  position: sticky;

  top: 0;

  z-index: 50;
}

.topbar-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.nav-menu-group {
  position: relative;
}

.topbar-dropdown-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #2d403b;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topbar-dropdown-button:hover,
.topbar-dropdown-button:focus-visible {
  background: #f3f7f5;
  border-color: #e2e9e5;
  outline: none;
}

.topbar-dropdown-button i {
  font-size: 9px;
  color: #81908c;
}

.topbar-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(20, 40, 30, 0.12);
  padding: 6px;
  z-index: 80;
}

.topbar-dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--text);
  font-size: 11px;
  line-height: 1.4;
}

.topbar-dropdown-menu a:hover,
.topbar-dropdown-menu a:focus-visible {
  background: #f2f7f5;
  color: var(--primary);
  outline: none;
}

.topbar-actions {
  display: flex;

  align-items: center;

  gap: 20px;
  margin-left: auto;
}

.icon-button {
  width: 37px;
  height: 37px;

  border: 1px solid var(--border);

  border-radius: 9px;

  background: white;

  color: #66716c;

  cursor: pointer;

  position: relative;
}

.notification-button span {
  position: absolute;

  top: 7px;
  right: 7px;

  width: 6px;
  height: 6px;

  background: var(--red);

  border-radius: 50%;
}

.profile-dropdown {
  position: relative;
}

.profile-menu {
  display: flex;

  align-items: center;

  gap: 10px;

  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 12px 7px 8px;
  background: #f9fbfa;
  color: inherit;
  box-shadow: 0 2px 10px rgba(20, 40, 30, 0.04);
}

.profile-menu:hover {
  color: inherit;
  border-color: #dfe7e3;
}

.profile-menu:focus-visible,
.notification-button:focus-visible,
.mobile-menu:focus-visible {
  outline: 3px solid rgba(11, 59, 46, 0.22);
  outline-offset: 3px;
}

.profile-menu-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: 180px;
  padding: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(20, 40, 30, 0.12);
}

.profile-menu-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 10px;
  color: var(--text);
  border-radius: 7px;
  font-size: 11px;
}

.profile-menu-list .logout-link {
  color: #c14242;
}

.profile-menu-list a:hover,
.profile-menu-list a:focus-visible {
  background: #f2f7f5;
  color: var(--primary);
}

[hidden] {
  display: none !important;
}

.profile-avatar {
  width: 36px;
  height: 36px;
}

.profile-details strong {
  display: block;

  font-size: 12px;
}

.profile-details span {
  color: var(--muted);

  font-size: 9px;
}

.profile-chevron {
  margin-left: 4px;

  color: #a2aba7;

  font-size: 10px;
}

.mobile-menu {
  display: none;

  width: 38px;
  height: 38px;

  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: white;
  color: var(--primary);

  box-shadow: var(--shadow);

  cursor: pointer;
  flex-shrink: 0;
}

/* =========================================
   PAGE
========================================= */

.page-content {
  max-width: 1550px;

  margin: auto;

  padding: 30px 35px;
}

.page-heading {
  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 30px;

  margin-bottom: 24px;
}

.eyebrow {
  margin-bottom: 4px;

  color: var(--primary);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.12em;
}

.page-heading h1 {
  font-size: 27px;

  letter-spacing: -0.025em;
}

.page-heading p:not(.eyebrow) {
  margin-top: 5px;

  color: var(--muted);

  font-size: 12px;
}

.page-heading-actions {
  display: flex;

  gap: 9px;
}

.primary-button,
.outline-button {
  min-height: 39px;

  padding: 0 15px;

  border-radius: 8px;

  font-size: 11px;

  font-weight: 650;

  display: flex;

  align-items: center;

  gap: 8px;

  cursor: pointer;
}

.primary-button {
  color: white;

  border: 1px solid var(--primary);

  background: var(--primary);
}

.outline-button {
  color: var(--text);

  border: 1px solid var(--border);

  background: white;
}

/* =========================================
   SEMESTER
========================================= */

.semester-banner {
  width: 100%;
  grid-column: 1 / -1;

  min-height: 88px;

  padding: 16px 20px;

  margin-bottom: 24px;

  display: flex;

  align-items: center;

  gap: 16px;

  color: white;

  border-radius: var(--radius);

  background: linear-gradient(110deg, #0b3b2e, #155c45);

  box-shadow: 0 8px 24px rgba(11, 59, 46, 0.14);
}

.page-content > .semester-banner,
.page-content > .main-content > .semester-banner {
  display: flex;
  flex-basis: 100%;
  clear: both;
}

.semester-icon {
  width: 49px;
  height: 49px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.12);
}

.semester-information {
  flex: 1;
}

.banner-label {
  font-size: 9px;

  opacity: 0.65;

  letter-spacing: 0.12em;
}

.semester-information h2 {
  margin-top: 2px;

  font-size: 17px;
}

.semester-information p {
  margin-top: 2px;

  font-size: 11px;

  opacity: 0.75;
}

.semester-status {
  display: flex;

  align-items: center;

  gap: 6px;

  padding: 8px 12px;

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 7px;

  background: rgba(255, 255, 255, 0.08);

  font-size: 10px;
}

.status-dot {
  width: 7px;
  height: 7px;

  background: #67d89e;

  border-radius: 50%;
}

/* =========================================
   STATS
========================================= */

.stats-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 15px;

  margin-bottom: 28px;
}

.stat-card {
  display: grid;

  align-items: center;

  gap: 7px;

  padding: 18px;

  background: white;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

.stat-icon {
  width: 20px;
  height: 20px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  border-radius: 10px;
}

.stat-icon.green {
  background: #e7f6ee;
  color: #199466;
}

.stat-icon.blue {
  background: #ebf2ff;
  color: #477fe6;
}

.stat-icon.orange {
  background: #fff6e4;
  color: #e99a10;
}

.stat-icon.purple {
  background: #f1ebff;
  color: #8359df;
}

.stat-label {
  display: block;

  color: var(--muted);

  font-size: 10px;
}

.stat-value {
  display: block;

  margin-top: 1px;

  font-size: 23px;

  letter-spacing: -0.02em;
}

.stat-content small {
  display: block;

  margin-top: 2px;

  color: #8a938f;

  font-size: 9px;
}

.stat-positive {
  color: #149261 !important;
}

/* =========================================
   SECTIONS
========================================= */

.content-section {
  margin-bottom: 27px;
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: 16px;
}

.section-heading p {
  color: var(--muted);

  margin-top: 2px;

  font-size: 11px;
}

/* =========================================
   QUICK ACTIONS
========================================= */

.quick-actions {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 12px;
}

.quick-action {
  display: flex;

  align-items: center;

  gap: 11px;

  padding: 14px;

  background: white;

  border: 1px solid var(--border);

  border-radius: 11px;

  box-shadow: var(--shadow);

  transition: 0.2s ease;
}

.quick-action:hover {
  border-color: #cbd7d2;

  transform: translateY(-2px);
}

.quick-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 9px;
}

.green-bg {
  background: #e7f6ee;
  color: #199466;
}

.blue-bg {
  background: #ebf2ff;
  color: #477fe6;
}

.orange-bg {
  background: #fff6e4;
  color: #e99a10;
}

.purple-bg {
  background: #f1ebff;
  color: #8359df;
}

.quick-action strong {
  display: block;

  font-size: 11px;
}

.quick-action span {
  display: block;

  margin-top: 2px;

  color: var(--muted);

  font-size: 8px;
}

.quick-action > i {
  margin-left: auto;

  color: #a5ada9;

  font-size: 10px;
}

/* =========================================
   COLUMNS
========================================= */

.dashboard-columns {
  display: grid;

  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(300px, 0.8fr);

  gap: 18px;
}

.column-main,
.column-side {
  display: flex;

  flex-direction: column;

  gap: 18px;
}

/* =========================================
   CARDS
========================================= */

.card {
  background: white;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  overflow: hidden;
}

.card-header {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 20px;

  padding: 18px 20px;

  border-bottom: 1px solid var(--border);
}

.card-header h2 {
  font-size: 15px;
}

.card-header p {
  margin-top: 3px;

  color: var(--muted);

  font-size: 10px;
}

.card-header a {
  color: var(--primary);

  font-size: 10px;

  font-weight: 650;

  white-space: nowrap;
}

/* =========================================
   CLASSES
========================================= */

.class-list {
  padding: 4px 20px;
}

.class-item {
  display: grid;

  grid-template-columns:
    75px
    16px
    minmax(0, 1fr)
    85px;

  gap: 12px;

  align-items: center;

  min-height: 90px;

  border-bottom: 1px solid var(--border);
}

.class-item:last-child {
  border-bottom: none;
}

.class-time strong {
  display: block;

  font-size: 13px;
}

.class-time span {
  display: block;

  color: var(--muted);

  font-size: 9px;
}

.class-line {
  height: 50px;

  position: relative;

  display: flex;

  justify-content: center;
}

.class-line::before {
  content: "";

  width: 1px;

  height: 100%;

  background: #dfe6e2;

  position: absolute;

  left: 50%;
}

.class-line span {
  position: relative;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  margin-top: 3px;

  background: #c8d2cc;
}

.active-class .class-line span {
  background: var(--primary);
}

.course-code {
  display: inline-block;

  margin-bottom: 4px;

  padding: 3px 6px;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 4px;

  font-size: 8px;

  font-weight: 800;
}

.class-info h3 {
  font-size: 12px;
}

.class-info p {
  margin-top: 3px;

  color: var(--muted);

  font-size: 9px;
}

.class-status {
  justify-self: end;

  padding: 5px 7px;

  color: #6e7974;

  background: #f3f5f4;

  border-radius: 5px;

  font-size: 8px;
}

.class-status.upcoming {
  color: var(--primary);

  background: var(--primary-light);
}

/* =========================================
   COURSE TABLE
========================================= */

.courses-table {
  padding: 5px 20px;
  overflow-x: auto;
}

.table-row {
  display: grid;

  grid-template-columns:
    85px
    minmax(0, 1fr)
    55px
    90px;

  align-items: center;

  min-height: 52px;

  border-bottom: 1px solid var(--border);

  font-size: 10px;
  min-width: 500px;
}

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

.table-heading {
  min-height: 38px;

  color: #929c97;

  font-size: 8px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.04em;
}

.course-id {
  color: var(--primary);

  font-weight: 700;
}

.badge {
  display: inline-block;

  padding: 4px 7px;

  border-radius: 5px;

  font-size: 8px;

  font-weight: 650;
}

.active-badge {
  color: #188c61;

  background: #e9f7f0;
}

.progress-badge {
  color: #b47700;

  background: #fff4da;
}

/* =========================================
   RESULTS
========================================= */

.results-summary {
  display: grid;

  grid-template-columns: 160px 1fr;

  gap: 30px;

  padding: 24px 20px;
}

.gpa-card {
  padding: 18px;

  border-radius: 10px;

  text-align: center;

  background: var(--primary-light);
}

.gpa-card span {
  display: block;

  color: #698177;

  font-size: 9px;
}

.gpa-card strong {
  display: block;

  margin-top: 3px;

  color: var(--primary);

  font-size: 34px;
}

.gpa-card small {
  color: #73857d;

  font-size: 9px;
}

.grade-distribution {
  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 14px;
}

.grade-row {
  display: grid;

  grid-template-columns:
    20px
    1fr
    35px;

  gap: 8px;

  align-items: center;

  font-size: 9px;
}

.grade-row > span {
  font-weight: 700;
}

.grade-progress {
  height: 6px;

  overflow: hidden;

  border-radius: 20px;

  background: #edf0ee;
}

.grade-progress span {
  display: block;

  height: 100%;

  border-radius: inherit;

  background: var(--primary);
}

.grade-progress .grade-a {
  width: 75%;
}

.grade-progress .grade-b {
  width: 18%;
}

.grade-progress .grade-c {
  width: 7%;
}

.grade-row strong {
  color: var(--muted);

  text-align: right;

  font-size: 9px;
}

/* =========================================
   PROFILE
========================================= */

.profile-cover {
  height: 75px;

  background: linear-gradient(120deg, #0b3b2e, #267456);
}

.profile-card-content {
  position: relative;

  padding: 0 20px 20px;

  text-align: center;
}

.large-avatar {
  width: 67px;
  height: 67px;

  display: grid;
  place-items: center;

  margin: -33px auto 10px;

  position: relative;

  border: 4px solid white;

  border-radius: 50%;

  color: var(--primary);

  background: #dff0e8;

  font-size: 21px;

  font-weight: 800;
}

.profile-card-content h2 {
  font-size: 17px;
}

.profile-card-content > p {
  margin-top: 2px;

  color: var(--muted);

  font-size: 10px;
}

.level-badge {
  display: inline-block;

  margin-top: 8px;

  padding: 4px 8px;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 5px;

  font-size: 8px;

  font-weight: 700;
}

.profile-info {
  margin-top: 19px;

  padding-top: 15px;

  border-top: 1px solid var(--border);

  text-align: left;
}

.profile-info div {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  padding: 7px 0;

  font-size: 9px;
}

.profile-info span {
  color: var(--muted);
}

.profile-info strong {
  font-size: 9px;

  text-align: right;
}

.profile-button {
  display: block;

  margin-top: 12px;

  padding: 10px;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 7px;

  font-size: 9px;

  font-weight: 700;
}

/* =========================================
   AUTHENTICATION: STUDENT REGISTRATION
========================================= */

.authentication-page {
  background: #f4f6f7;
  color: #17211d;
}

.auth-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 59, 46, 0.08);
}

.auth-header-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
}

.auth-brand .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 18px;
  background: linear-gradient(135deg, #0b3b2e 0%, #1d5d4a 100%);
}

.auth-brand .brand-name {
  display: block;
  color: #10251d;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.auth-brand small {
  color: #5f6f69;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5f6f69;
  font-size: 12px;
}

.auth-header-right a {
  color: #0b3b2e;
  font-weight: 700;
}

.authentication-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 26px;
}

.authentication-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 36px;
}

.registration-wrapper {
  min-height: calc(100vh - 170px);
}

.authentication-intro {
  padding: 22px 10px 10px;
}

.auth-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 59, 46, 0.08);
  color: #0b3b2e;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.authentication-intro h1 {
  margin-top: 18px;
  color: #0e1d1a;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.auth-description {
  margin-top: 18px;
  max-width: 540px;
  color: #58706a;
  font-size: 16px;
  line-height: 1.7;
}

.auth-services {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.auth-service {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(11, 59, 46, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

.auth-service-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(11, 59, 46, 0.08);
  color: #0b3b2e;
}

.auth-service strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #17211d;
}

.auth-service span {
  display: block;
  color: #60736f;
  font-size: 12px;
  line-height: 1.5;
}

.auth-session-card {
  margin-top: 24px;
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(120deg, #0b3b2e 0%, #1d5d4a 100%);
  color: white;
  box-shadow: 0 16px 36px rgba(11, 59, 46, 0.18);
}

.auth-session-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-session-content {
  flex: 1;
}

.auth-session-content span,
.auth-session-content small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-session-content strong {
  display: block;
  margin-top: 5px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.auth-session-content small {
  margin-top: 4px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 11px;
}

.session-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 700;
}

.session-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fe0a4;
  box-shadow: 0 0 0 4px rgba(127, 224, 164, 0.16);
}

.authentication-form-section {
  display: flex;
  justify-content: center;
}

.authentication-card {
  width: min(100%, 620px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 59, 46, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 56px rgba(15, 23, 42, 0.08);
  padding: 28px;
}

.authentication-card-header {
  margin-bottom: 22px;
}

.login-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(11, 59, 46, 0.08);
  color: #0b3b2e;
  margin-bottom: 14px;
  font-size: 20px;
}

.authentication-card-header h2 {
  margin: 0;
  color: #0d1d1a;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.05em;
}

.authentication-card-header p {
  margin-top: 8px;
  color: #60736f;
  font-size: 14px;
  line-height: 1.6;
}

.student-registration-form {
  display: grid;
  gap: 16px;
}

.form-row.registration-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: #1f2b29;
  font-size: 13px;
  font-weight: 700;
}

.auth-input,
.auth-select,
.country-select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(11, 59, 46, 0.12);
  border-radius: 12px;
  background: #ffffff;
  color: #17211d;
  padding: 0 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.auth-input::placeholder {
  color: #8a9a94;
}

.auth-input:hover,
.auth-select:hover,
.country-select:hover {
  border-color: rgba(11, 59, 46, 0.25);
}

.auth-input:focus,
.auth-select:focus,
.country-select:focus {
  border-color: rgba(11, 59, 46, 0.5);
  box-shadow: 0 0 0 4px rgba(11, 59, 46, 0.08);
  outline: none;
}

.auth-input.is-invalid,
.auth-select.is-invalid,
.country-select.is-invalid,
input.is-invalid,
select.is-invalid {
  border-color: #d64545;
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.08);
}

.activation-page .activation-main {
  padding-top: 30px;
}

.activation-wrapper {
  align-items: start;
}

.activation-form {
  display: grid;
  gap: 18px;
}

.activation-step {
  display: none;
  gap: 16px;
}

.activation-step.active {
  display: grid;
}

.stepper {
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.stepper-track {
  width: 100%;
  height: 8px;
  background: #edf1ee;
  border-radius: 999px;
  overflow: hidden;
}

.stepper-fill {
  display: block;
  width: 33.33%;
  height: 100%;
  background: linear-gradient(135deg, #0b3b2e 0%, #1c5d4c 100%);
  border-radius: inherit;
  transition: width 0.25s ease;
}

.stepper-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a8c86;
}

.stepper-labels .step.active {
  color: #0b3b2e;
}

.stepper-labels .step.done {
  color: #1f7d54;
}

.info-box {
  border: 1px solid rgba(11, 59, 46, 0.12);
  background: rgba(11, 59, 46, 0.03);
  border-radius: 12px;
  padding: 14px 16px;
}

.info-box strong {
  display: block;
  margin-bottom: 6px;
  color: #0e1d1a;
  font-size: 13px;
}

.info-box p {
  color: #5d706b;
  font-size: 12px;
  line-height: 1.6;
}

.activation-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-back {
  width: auto;
  min-width: 110px;
  display: none;
}

.activation-page .login-submit {
  flex: 1;
}

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #7c8d87;
  font-size: 13px;
}

.input-wrapper .auth-input {
  padding-left: 40px;
  padding-right: 42px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #5f6f69;
  cursor: pointer;
}

.password-toggle:hover {
  background: rgba(11, 59, 46, 0.05);
}

.input-hint {
  color: #64736e;
  font-size: 11px;
  line-height: 1.5;
}

.phone-group {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px;
}

.country-select {
  padding: 0 12px;
}

.password-strength {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.strength-bar {
  height: 8px;
  border-radius: 999px;
  background: #edf1ee;
}

.strength-bar.active.weak {
  background: #f76d6d;
}

.strength-bar.active.moderate {
  background: #f2b64d;
}

.strength-bar.active.strong {
  background: #2bb673;
}

.terms-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #34433f;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 2px;
}

.terms-option input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: #0b3b2e;
}

.form-status {
  min-height: 20px;
  font-size: 12px;
  font-weight: 600;
  display: none;
}

.form-status.error {
  display: block;
  color: #b63333;
}

.form-status.success {
  display: block;
  color: #1f7d54;
}

.login-submit,
.registration-submit {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b3b2e 0%, #1b5948 100%);
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
  box-shadow: 0 12px 32px rgba(11, 59, 46, 0.18);
}

.login-submit:hover,
.registration-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(11, 59, 46, 0.2);
}

.login-submit:disabled,
.registration-submit:disabled {
  opacity: 0.85;
  cursor: wait;
}

.login-help {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: #5a6d68;
  font-size: 13px;
}

.login-help a {
  color: #0b3b2e;
  font-weight: 700;
}

.auth-footer {
  border-top: 1px solid rgba(11, 59, 46, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

.auth-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #5b716b;
  font-size: 12px;
}

.auth-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.auth-footer-links a {
  color: #4d5e5a;
}

@media (max-width: 980px) {
  .authentication-wrapper {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .registration-wrapper {
    min-height: auto;
  }

  .authentication-intro {
    padding-top: 10px;
  }

  .authentication-card {
    width: min(100%, 720px);
  }
}

@media (max-width: 640px) {
  .auth-header-container,
  .auth-footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .auth-header-container {
    align-items: center;
  }

  .auth-header-right {
    display: none;
  }

  .authentication-main {
    width: min(100% - 20px, 720px);
    padding-top: 18px;
  }

  .authentication-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .form-row.registration-row,
  .phone-group {
    grid-template-columns: 1fr;
  }

  .auth-service {
    padding: 14px 12px;
  }

  .auth-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .auth-footer-links {
    gap: 10px 12px;
  }
}

/* =========================================
   ANNOUNCEMENTS
========================================= */

.announcement-list {
  padding: 5px 20px;
}

.announcement-item {
  display: flex;

  gap: 10px;

  padding: 13px 0;

  border-bottom: 1px solid var(--border);
}

.announcement-item:last-child {
  border-bottom: none;
}

.announcement-icon {
  width: 31px;
  height: 31px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 7px;

  font-size: 10px;
}

.announcement-icon.red {
  color: #db5151;
  background: #fff0f0;
}

.announcement-icon.blue {
  color: #477fe6;
  background: #edf3ff;
}

.announcement-icon.green {
  color: #199466;
  background: #e9f7f0;
}

.announcement-item strong {
  display: block;

  font-size: 10px;
}

.announcement-item span {
  display: block;

  margin-top: 2px;

  color: var(--muted);

  font-size: 8px;
}

.announcement-item small {
  display: block;

  margin-top: 3px;

  color: #a1aaa6;

  font-size: 7px;
}

/* =========================================
   ATTENDANCE
========================================= */

.attendance-content {
  display: flex;

  align-items: center;

  gap: 24px;

  padding: 22px 20px;
}

.attendance-circle {
  width: 100px;
  height: 100px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: conic-gradient(var(--primary) 0deg 331deg, #e9eeeb 331deg 360deg);
}

.attendance-circle > div {
  width: 76px;
  height: 76px;

  display: grid;
  place-items: center;

  align-content: center;

  border-radius: 50%;

  background: white;
}

.attendance-circle strong {
  color: var(--primary);

  font-size: 20px;
}

.attendance-circle span {
  color: var(--muted);

  font-size: 7px;
}

.attendance-details {
  flex: 1;
}

.attendance-details div {
  display: flex;

  align-items: center;

  gap: 7px;

  margin-bottom: 12px;

  font-size: 9px;
}

.attendance-details strong {
  margin-left: auto;
}

.attendance-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;
}

.attendance-dot.present {
  background: var(--green);
}

.attendance-dot.absent {
  background: var(--red);
}

/* =========================================
   FEES
========================================= */

.fee-card {
  display: flex;

  align-items: center;

  gap: 11px;

  padding: 15px 18px;

  background: linear-gradient(120deg, #fffaf0, #fffdf9);
}

.fee-icon {
  width: 38px;
  height: 38px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  color: #b77900;

  background: #fff1c9;

  border-radius: 8px;
}

.fee-content {
  flex: 1;
}

.fee-content span {
  display: block;

  color: #a58d5a;

  font-size: 7px;

  font-weight: 800;

  letter-spacing: 0.08em;
}

.fee-content strong {
  display: block;

  margin-top: 1px;

  color: #6c520e;

  font-size: 15px;
}

.fee-content small {
  color: #a38e5f;

  font-size: 8px;
}

.fee-button {
  padding: 8px 10px;

  border: 1px solid #f0d88d;

  border-radius: 6px;

  color: #7f5d08;

  background: #fff7df;

  font-size: 8px;

  font-weight: 700;

  cursor: pointer;
}

/* =========================================
   FOOTER
========================================= */

.dashboard-footer {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 25px 2px 8px;

  color: #9aa39f;

  font-size: 8px;
}

.dashboard-footer div {
  display: flex;

  gap: 15px;
}

/* =========================================
   RESPONSIVE
========================================= */

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

  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);

    transition: transform 0.25s ease;
    box-shadow: 10px 0 30px rgba(20, 40, 30, 0.12);
  }

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

  .sidebar-backdrop.visible {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    border: 0;
    background: rgba(23, 33, 29, 0.32);
    cursor: pointer;
  }

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

  .mobile-menu {
    display: inline-flex;
  }

  .topbar {
    padding: 0 18px;
  }

  .topbar-search {
    flex: 1;
    min-width: 0;
  }

  .page-content {
    padding: 25px 20px;
  }
}

@media (max-width: 650px) {
  .topbar {
    height: auto;
    min-height: 64px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .topbar-search {
    order: 2;
    width: 100%;
    flex: 1 1 100%;
  }

  .topbar-actions {
    order: 3;
    gap: 9px;
  }

  .mobile-menu {
    flex-shrink: 0;
  }

  .page-content {
    padding: 22px 14px;
  }

  .main-content {
    min-width: 0;
  }

  .page-heading {
    align-items: flex-start;

    flex-direction: column;
  }

  .page-heading-actions {
    width: 100%;
  }

  .page-heading-actions button {
    flex: 1;

    justify-content: center;
  }

  .page-heading-actions a,
  .page-heading-actions button {
    flex: 1;
    justify-content: center;
    padding: 0 10px;
  }

  .stats-grid,
  .quick-actions {
    grid-template-columns: 1fr;
  }

  .semester-banner {
    align-items: flex-start;

    flex-wrap: wrap;
  }

  .semester-status {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .class-item {
    grid-template-columns:
      60px
      10px
      minmax(0, 1fr);
  }

  .class-status {
    display: none;
  }

  .results-summary {
    grid-template-columns: 1fr;
  }

  .profile-details,
  .profile-chevron {
    display: none;
  }

  .dashboard-footer {
    flex-direction: column;

    gap: 10px;
  }

  .dashboard-footer div {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Dashboard fluid layout refinements */
.dashboard-page .main-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.main-content {
  width: calc(100% - 265px);
  overflow-x: clip;
}

.page-content {
  width: 100%;
  padding: clamp(20px, 3vw, 42px) clamp(14px, 3vw, 48px);
}

.page-heading h1 {
  font-size: clamp(22px, 2.2vw, 30px);
}

.page-heading-actions {
  flex-wrap: wrap;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.quick-actions {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
}

.dashboard-columns {
  grid-template-columns: minmax(0, 1.55fr) minmax(min(280px, 100%), 0.8fr);
}

.card-header a,
.quick-action,
.primary-button,
.outline-button,
.fee-button {
  min-height: 44px;
}

.quick-action,
.card-header a,
.fee-button {
  -webkit-tap-highlight-color: transparent;
}

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

  .column-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 900px) {
  .main-content {
    width: 100%;
  }

  .page-content {
    padding-inline: clamp(16px, 4vw, 30px);
  }

  .column-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding: 10px 14px;
  }

  .topbar-search {
    order: initial;
    width: 100%;
  }

  .topbar-actions {
    order: initial;
  }

  .page-heading {
    gap: 18px;
    margin-bottom: 20px;
  }

  .page-heading-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .page-heading-actions a,
  .page-heading-actions button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .semester-banner {
    padding: 16px;
  }

  .semester-information h2 {
    font-size: clamp(15px, 4vw, 18px);
  }

  .column-side {
    display: flex;
  }

  .card-header {
    padding: 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .card-header a {
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .class-list {
    padding-inline: 16px;
  }

  .class-item {
    grid-template-columns: 58px 12px minmax(0, 1fr);
    gap: 9px;
  }

  .class-info h3 {
    font-size: 11px;
  }

  .attendance-content {
    gap: 16px;
    padding-inline: 16px;
  }

  .attendance-circle {
    width: 88px;
    height: 88px;
  }

  .attendance-circle > div {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 420px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .topbar-actions {
    margin-left: auto;
  }

  .page-heading-actions {
    grid-template-columns: 1fr;
  }

  .semester-icon {
    width: 42px;
    height: 42px;
  }

  .class-item {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px 0;
  }

  .class-line {
    display: none;
  }

  .class-time strong,
  .class-time span {
    display: inline;
  }

  .class-time span {
    margin-left: 4px;
  }

  .results-summary {
    padding: 18px 16px;
  }
}

/* Keep the dashboard main area in one predictable reading column. */
.page-content .stats-grid,
.page-content .quick-actions {
  grid-template-columns: 1fr;
}

.page-content .dashboard-columns {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-content .column-main,
.page-content .column-side {
  display: contents;
}

.page-content .card {
  width: 100%;
}

/* =========================================
   AUTHENTICATION PAGE
========================================= */

.authentication-page {
  min-height: 100vh;

  background:
    radial-gradient(circle at 8% 20%, rgba(11, 59, 46, 0.07), transparent 28%),
    #f5f7f9;

  display: flex;
  flex-direction: column;
}

/* =========================================
   AUTH HEADER
========================================= */

.auth-header {
  background: white;

  border-bottom: 1px solid var(--border);
}

.auth-header-container {
  width: 100%;

  max-width: 1250px;

  margin: auto;

  min-height: 72px;

  padding: 0 25px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.auth-brand {
  border: none;

  padding: 0;

  gap: 11px;
}

.auth-header-right {
  display: flex;

  align-items: center;

  gap: 7px;

  color: var(--muted);

  font-size: 10px;
}

.auth-header-right a {
  color: var(--primary);

  font-weight: 700;
}

/* =========================================
   AUTH MAIN
========================================= */

.authentication-main {
  flex: 1;

  display: flex;

  align-items: center;

  padding: 55px 25px;
}

.authentication-wrapper {
  width: 100%;

  max-width: 1080px;

  margin: auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(380px, 450px);

  gap: 75px;

  align-items: center;
}

/* =========================================
   INTRO
========================================= */

.authentication-intro {
  max-width: 530px;
}

.auth-label {
  display: inline-block;

  margin-bottom: 11px;

  color: var(--primary);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.14em;
}

.authentication-intro h1 {
  font-size: 42px;

  line-height: 1.05;

  letter-spacing: -0.045em;

  color: var(--primary-dark);
}

.auth-description {
  max-width: 500px;

  margin-top: 15px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.8;
}

/* =========================================
   SERVICES
========================================= */

.auth-services {
  margin-top: 30px;

  display: flex;

  flex-direction: column;

  gap: 15px;
}

.auth-service {
  display: flex;

  align-items: center;

  gap: 12px;
}

.auth-service-icon {
  width: 39px;
  height: 39px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 9px;

  font-size: 13px;
}

.auth-service strong {
  display: block;

  font-size: 11px;
}

.auth-service span {
  display: block;

  margin-top: 2px;

  color: var(--muted);

  font-size: 9px;
}

/* =========================================
   SESSION CARD
========================================= */

.auth-session-card {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-top: 34px;

  padding: 14px;

  border: 1px solid #dce9e2;

  border-radius: 11px;

  background: #f0f7f4;
}

.auth-session-icon {
  width: 39px;
  height: 39px;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  color: var(--primary);

  background: white;

  border-radius: 8px;
}

.auth-session-content {
  flex: 1;
}

.auth-session-content span {
  display: block;

  color: #789087;

  font-size: 7px;

  letter-spacing: 0.08em;

  font-weight: 800;
}

.auth-session-content strong {
  display: block;

  margin-top: 2px;

  color: var(--primary-dark);

  font-size: 13px;
}

.auth-session-content small {
  display: block;

  margin-top: 1px;

  color: var(--muted);

  font-size: 8px;
}

.session-status {
  display: flex;

  align-items: center;

  gap: 5px;

  padding: 5px 8px;

  color: #15845a;

  background: #e0f3e9;

  border-radius: 5px;

  font-size: 8px;

  font-weight: 700;
}

.session-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #20a66e;
}

/* =========================================
   LOGIN CARD
========================================= */

.authentication-form-section {
  width: 100%;
}

.authentication-card {
  padding: 30px;

  background: white;

  border: 1px solid var(--border);

  border-radius: 17px;

  box-shadow: 0 18px 50px rgba(20, 40, 30, 0.08);
}

/* =========================================
   LOGIN HEADER
========================================= */

.authentication-card-header {
  text-align: center;
}

.login-icon {
  width: 49px;
  height: 49px;

  display: grid;

  place-items: center;

  margin: 0 auto 14px;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 12px;

  font-size: 17px;
}

.authentication-card-header h2 {
  font-size: 20px;

  letter-spacing: -0.02em;
}

.authentication-card-header p {
  max-width: 280px;

  margin: 5px auto 0;

  color: var(--muted);

  font-size: 10px;

  line-height: 1.6;
}

/* =========================================
   FORM
========================================= */

.student-login-form {
  margin-top: 25px;
}

.form-field {
  margin-bottom: 17px;
}

.form-field label,
.label-row label {
  display: block;

  margin-bottom: 7px;

  color: #46514c;

  font-size: 10px;

  font-weight: 650;
}

.label-row {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;
}

.label-row a {
  color: var(--primary);

  font-size: 8px;

  font-weight: 650;
}

.input-wrapper {
  position: relative;

  display: flex;

  align-items: center;
}

.input-wrapper > i {
  position: absolute;

  left: 12px;

  color: #9aa49f;

  font-size: 11px;

  pointer-events: none;
}

.auth-input {
  width: 100%;

  min-height: 43px;

  padding: 0 38px;

  color: var(--text);

  background: #fbfcfc;

  border: 1px solid #dfe5e2;

  border-radius: 8px;

  outline: none;

  font-size: 11px;

  transition: 0.2s ease;
}

.auth-input::placeholder {
  color: #adb5b1;
}

.auth-input:focus {
  border-color: #7da99a;

  background: white;

  box-shadow: 0 0 0 3px rgba(11, 59, 46, 0.06);
}

.input-hint {
  display: block;

  margin-top: 5px;

  color: #9da6a1;

  font-size: 8px;
}

/* =========================================
   PASSWORD TOGGLE
========================================= */

.password-toggle {
  position: absolute;

  right: 10px;

  width: 26px;
  height: 26px;

  border: none;

  color: #8e9893;

  background: transparent;

  cursor: pointer;
}

.password-toggle:hover {
  color: var(--primary);
}

/* =========================================
   LOGIN OPTIONS
========================================= */

.login-options {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin: 3px 0 20px;
}

.remember-option {
  display: flex;

  align-items: center;

  gap: 6px;

  color: #66716c;

  font-size: 9px;

  cursor: pointer;
}

.remember-option input {
  accent-color: var(--primary);
}

.secure-login {
  display: flex;

  align-items: center;

  gap: 5px;

  color: #87928d;

  font-size: 8px;
}

.secure-login i {
  color: var(--green);
}

/* =========================================
   LOGIN BUTTON
========================================= */

.login-submit {
  width: 100%;

  min-height: 45px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  border: none;

  border-radius: 8px;

  color: white;

  background: var(--primary);

  font-size: 11px;

  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 7px 16px rgba(11, 59, 46, 0.16);

  transition: 0.2s ease;
}

.login-submit:hover {
  background: var(--primary-dark);

  transform: translateY(-1px);
}

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

/* =========================================
   ACCOUNT NOTICE
========================================= */

.authentication-notice {
  display: flex;

  gap: 10px;

  margin-top: 21px;

  padding: 12px;

  background: #f6f8f7;

  border-radius: 9px;
}

.notice-icon {
  width: 26px;
  height: 26px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 6px;

  font-size: 10px;
}

.authentication-notice strong {
  display: block;

  font-size: 9px;
}

.authentication-notice p {
  margin-top: 2px;

  color: var(--muted);

  font-size: 8px;

  line-height: 1.5;
}

.authentication-notice a {
  display: inline-flex;

  align-items: center;

  gap: 5px;

  margin-top: 5px;

  color: var(--primary);

  font-size: 8px;

  font-weight: 700;
}

/* =========================================
   HELP
========================================= */

.login-help {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 4px;

  margin-top: 18px;

  color: #969f9b;

  font-size: 8px;
}

.login-help a {
  color: var(--primary);

  font-weight: 700;
}

/* =========================================
   AUTH FOOTER
========================================= */

.auth-footer {
  background: white;

  border-top: 1px solid var(--border);
}

.auth-footer-inner {
  width: 100%;

  max-width: 1250px;

  min-height: 61px;

  margin: auto;

  padding: 0 25px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  color: #9aa39f;

  font-size: 8px;
}

.auth-footer-links {
  display: flex;

  gap: 17px;
}

.auth-footer-links a:hover {
  color: var(--primary);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 850px) {
  .authentication-wrapper {
    grid-template-columns: 1fr;

    max-width: 470px;

    gap: 35px;
  }

  .authentication-intro {
    max-width: none;

    text-align: center;
  }

  .authentication-intro h1 {
    font-size: 35px;
  }

  .auth-description {
    margin-left: auto;

    margin-right: auto;
  }

  .auth-services {
    text-align: left;
  }

  .auth-session-card {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .authentication-main {
    padding: 30px 15px;
  }

  .auth-header-container {
    padding: 0 15px;
  }

  .auth-header-right {
    display: none;
  }

  .authentication-intro h1 {
    font-size: 30px;
  }

  .auth-description {
    font-size: 11px;
  }

  .authentication-card {
    padding: 22px 18px;
  }

  .session-status {
    display: none;
  }

  .auth-footer-inner {
    padding: 13px 15px;

    flex-direction: column;

    justify-content: center;

    gap: 8px;
  }
}
