/**
 * theme-2026.css — Premium shell, login, and global Bootstrap refinements
 * School Results Management · pairs with Bootstrap 5 + Font Awesome 6
 */

/* -------------------------------------------------------------------------- */
/* Design tokens                                                              */
/* -------------------------------------------------------------------------- */
:root {
  --srms-font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --srms-font-display: "Outfit", var(--srms-font-sans);

  --srms-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --srms-ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);

  --srms-ink: #070b14;
  --srms-ink-soft: #334155;
  --srms-ink-muted: #64748b;
  --srms-surface: #ffffff;
  --srms-surface-muted: #f8fafc;
  --srms-border: rgba(15, 23, 42, 0.07);
  --srms-border-strong: rgba(15, 23, 42, 0.11);

  --srms-accent: #0ea5e9;
  --srms-accent-deep: #0284c7;
  --srms-accent-2: #8b5cf6;
  --srms-accent-2-deep: #7c3aed;
  --srms-gold: #d4a574;
  --srms-gold-soft: rgba(212, 165, 116, 0.28);

  --srms-radius-sm: 12px;
  --srms-radius-md: 16px;
  --srms-radius-lg: 22px;
  --srms-radius-xl: 28px;

  --srms-shadow-xs: 0 1px 2px rgba(7, 11, 20, 0.04);
  --srms-shadow-sm: 0 2px 8px rgba(7, 11, 20, 0.06), 0 1px 2px rgba(7, 11, 20, 0.04);
  --srms-shadow-md: 0 12px 32px rgba(7, 11, 20, 0.08), 0 4px 12px rgba(7, 11, 20, 0.04);
  --srms-shadow-lg: 0 28px 64px rgba(7, 11, 20, 0.12), 0 10px 28px rgba(7, 11, 20, 0.06);
  --srms-shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.65);

  --srms-header-h: 68px;
  --srms-sidebar-w: 280px;
  --srms-bottom-nav-h: 72px;
}

@media (min-width: 992px) {
  :root {
    --srms-header-h: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .srms-login-bg {
    animation: none !important;
  }

  .srms-content {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

html {
  scroll-behavior: smooth;
}

/* -------------------------------------------------------------------------- */
/* App shell                                                                  */
/* -------------------------------------------------------------------------- */
body.srms-app {
  margin: 0;
  font-family: var(--srms-font-sans);
  font-optical-sizing: auto;
  font-size: 0.9375rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--srms-ink-soft);
  background-color: #e4e9f2;
  background-image:
    radial-gradient(ellipse 130% 85% at 0% -25%, rgba(14, 165, 233, 0.16), transparent 52%),
    radial-gradient(ellipse 100% 65% at 100% -8%, rgba(139, 92, 246, 0.12), transparent 46%),
    radial-gradient(ellipse 90% 45% at 50% 105%, rgba(212, 165, 116, 0.07), transparent 40%),
    linear-gradient(165deg, #eef2f9 0%, #e6ebf4 45%, #eef2f9 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.srms-app :where(a, button, input, select, textarea, .btn):focus-visible {
  outline: 2px solid var(--srms-accent);
  outline-offset: 2px;
}

body.srms-app :where(h1, .h1, h2, .h2, h3, .h3) {
  font-family: var(--srms-font-display);
  color: var(--srms-ink);
  letter-spacing: -0.025em;
  font-weight: 700;
}

body.srms-app h1,
body.srms-app .h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */
.srms-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--srms-header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.35rem;
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(212, 165, 116, 0.14);
}

.srms-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f8fafc;
  font-family: var(--srms-font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.35rem 0.5rem;
  margin-left: -0.35rem;
  border-radius: var(--srms-radius-sm);
  transition: background 0.25s var(--srms-ease-out), color 0.25s;
}

.srms-header__brand:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.srms-header__brand i {
  font-size: 1.4rem;
  background: linear-gradient(135deg, #38bdf8, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.45));
}

.srms-header__title {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}

.srms-header__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.srms-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.98);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.srms-role-pill i {
  font-size: 0.72rem;
  opacity: 0.95;
}

/* -------------------------------------------------------------------------- */
/* Sidebar                                                                    */
/* -------------------------------------------------------------------------- */
.srms-sidebar {
  position: fixed;
  top: var(--srms-header-h);
  left: 0;
  bottom: 0;
  width: var(--srms-sidebar-w);
  z-index: 900;
  display: none;
  flex-direction: column;
  background:
    linear-gradient(165deg, #080d18 0%, #0f172a 38%, #121528 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 8px 0 48px rgba(0, 0, 0, 0.28);
}

.srms-sidebar__label {
  padding: 1.5rem 1.15rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.65);
}

.srms-navlink {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 12px 5px;
  padding: 0.78rem 1rem 0.78rem 1.15rem;
  border-radius: 14px;
  color: rgba(226, 232, 240, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  transition:
    background 0.28s var(--srms-ease-out),
    color 0.28s var(--srms-ease-out),
    transform 0.2s var(--srms-ease-out),
    box-shadow 0.28s;
}

.srms-navlink::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: linear-gradient(180deg, #38bdf8, #a78bfa);
  transform: translateY(-50%);
  transition: height 0.28s var(--srms-ease-out);
  opacity: 0.95;
}

.srms-navlink:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  transform: translateX(2px);
}

.srms-navlink:hover::before {
  height: 40%;
}

.srms-navlink.active {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.srms-navlink.active::before {
  height: 65%;
}

.srms-navlink i {
  width: 1.4rem;
  text-align: center;
  font-size: 1.02rem;
  opacity: 0.92;
}

.srms-navlink.active i {
  color: #7dd3fc;
  opacity: 1;
}

.srms-sidebar__footer {
  margin-top: auto;
  padding: 1.1rem 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.srms-btn-logout {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.78rem 1rem;
  border: none;
  border-radius: 14px;
  background: rgba(248, 113, 113, 0.09);
  color: #fca5a5;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s var(--srms-ease-out), color 0.25s, transform 0.15s;
}

.srms-btn-logout:hover {
  background: rgba(248, 113, 113, 0.2);
  color: #fecaca;
}

.srms-btn-logout:active {
  transform: scale(0.98);
}

.srms-btn-logout i {
  width: 1.4rem;
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* Main + content frame                                                       */
/* -------------------------------------------------------------------------- */
.srms-main {
  padding-top: calc(var(--srms-header-h) + 1.65rem);
  padding-bottom: calc(var(--srms-bottom-nav-h) + 1.15rem);
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  min-height: 100vh;
}

.srms-content {
  max-width: 1320px;
  margin: 0 auto;
  animation: srmsContentEnter 0.6s var(--srms-ease-out) both;
}

@keyframes srmsContentEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .srms-sidebar {
    display: flex;
  }

  .srms-main {
    margin-left: var(--srms-sidebar-w);
    padding-bottom: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1200px) {
  .srms-main {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Bottom nav                                                                 */
/* -------------------------------------------------------------------------- */
.srms-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--srms-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 1000;
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, #121528 0%, #080d18 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.srms-bottomnav__item {
  flex: 1;
  min-width: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0.4rem 0.45rem;
  color: rgba(148, 163, 184, 0.95);
  text-decoration: none;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.25s var(--srms-ease-out), background 0.25s;
}

.srms-bottomnav__item i {
  font-size: 1.18rem;
  transition: transform 0.2s var(--srms-ease-spring);
}

.srms-bottomnav__item:hover,
.srms-bottomnav__item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.srms-bottomnav__item:hover i,
.srms-bottomnav__item.active i {
  transform: scale(1.08);
}

.srms-bottomnav__item.active i {
  color: #7dd3fc;
}

.srms-bottomnav__label {
  max-width: 76px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.srms-bottomnav__logout {
  color: #fca5a5;
}

.srms-bottomnav__logout:hover {
  color: #fecaca;
}

@media (min-width: 768px) {
  .srms-bottomnav {
    display: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Bootstrap — premium surfaces (scoped to app)                              */
/* -------------------------------------------------------------------------- */
body.srms-app .container,
body.srms-app .container-fluid {
  --bs-gutter-x: 1.5rem;
}

body.srms-app .card {
  border: 1px solid var(--srms-border);
  border-radius: var(--srms-radius-md);
  box-shadow: var(--srms-shadow-sm);
  background: var(--srms-surface);
  overflow: hidden;
  transition:
    box-shadow 0.35s var(--srms-ease-out),
    transform 0.35s var(--srms-ease-out),
    border-color 0.25s;
}

body.srms-app .card:hover {
  box-shadow: var(--srms-shadow-md);
  border-color: var(--srms-border-strong);
}

body.srms-app .card-header {
  font-family: var(--srms-font-display);
  font-weight: 650;
  letter-spacing: -0.015em;
  font-size: 0.95rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.92) 100%);
  border-bottom: 1px solid var(--srms-border);
  padding: 1rem 1.25rem;
}

body.srms-app .card-body {
  padding: 1.25rem 1.35rem;
}

body.srms-app .table {
  --bs-table-bg: transparent;
  margin-bottom: 0;
}

body.srms-app .table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--srms-ink-muted);
  border-bottom-width: 1px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

body.srms-app .table-hover > tbody > tr:hover > * {
  background-color: rgba(14, 165, 233, 0.04);
}

body.srms-app .btn {
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--srms-radius-sm);
  padding: 0.55rem 1.1rem;
  transition:
    transform 0.15s var(--srms-ease-out),
    box-shadow 0.25s var(--srms-ease-out),
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}

body.srms-app .btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
}

body.srms-app .btn:active:not(:disabled) {
  transform: scale(0.98);
}

body.srms-app .btn-primary {
  border: none;
  background: linear-gradient(135deg, var(--srms-accent-deep), var(--srms-accent-2-deep));
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.28);
}

body.srms-app .btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #6d28d9);
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.22);
}

body.srms-app .btn-outline-secondary {
  border-color: var(--srms-border-strong);
  color: var(--srms-ink-soft);
}

body.srms-app .btn-outline-secondary:hover {
  background: var(--srms-surface-muted);
  border-color: var(--srms-border-strong);
  color: var(--srms-ink);
}

body.srms-app .form-control,
body.srms-app .form-select {
  min-height: 46px;
  border-radius: var(--srms-radius-sm);
  border: 1px solid var(--srms-border-strong);
  padding: 0.6rem 0.95rem;
  font-size: 0.9375rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

body.srms-app .form-control:focus,
body.srms-app .form-select:focus {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

body.srms-app .pagination .page-link {
  border-radius: 10px;
  margin: 0 0.15rem;
  border: 1px solid var(--srms-border);
  color: var(--srms-ink-soft);
  font-weight: 600;
  min-width: 42px;
  text-align: center;
}

body.srms-app .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--srms-accent-deep), var(--srms-accent-2-deep));
  border-color: transparent;
  box-shadow: var(--srms-shadow-sm);
}

body.srms-app .alert {
  border: none;
  border-radius: var(--srms-radius-md);
  box-shadow: var(--srms-shadow-xs);
  border-left: 4px solid currentColor;
}

body.srms-app .alert-success {
  border-left-color: #10b981;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(255, 255, 255, 0.95));
}

body.srms-app .alert-danger {
  border-left-color: #ef4444;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.1), rgba(255, 255, 255, 0.95));
}

body.srms-app .alert-warning {
  border-left-color: #f59e0b;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.95));
}

body.srms-app .badge {
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 0.4em 0.65em;
  border-radius: 8px;
}

body.srms-app .text-muted {
  color: var(--srms-ink-muted) !important;
}

body.srms-app .border,
body.srms-app .border-bottom {
  border-color: var(--srms-border) !important;
}

body.srms-app .bg-light {
  background-color: rgba(248, 250, 252, 0.85) !important;
}

/* -------------------------------------------------------------------------- */
/* Page chrome helpers                                                        */
/* -------------------------------------------------------------------------- */
.srms-page-head {
  margin-bottom: 1.75rem;
}

.srms-page-head h1,
.srms-page-head .h4 {
  font-family: var(--srms-font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--srms-ink);
}

.srms-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--srms-accent-deep);
  margin-bottom: 0.35rem;
}

/* -------------------------------------------------------------------------- */
/* Empty state icon                                                           */
/* -------------------------------------------------------------------------- */
.srms-empty-icon {
  font-size: 2.85rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--srms-accent), var(--srms-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.88;
  filter: drop-shadow(0 6px 20px rgba(14, 165, 233, 0.2));
}

/* -------------------------------------------------------------------------- */
/* Dashboard tiles                                                            */
/* -------------------------------------------------------------------------- */
.srms-dash-tile {
  display: block;
  border-radius: var(--srms-radius-md);
  padding: 1.5rem 1.35rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--srms-border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.92) 100%);
  box-shadow: var(--srms-shadow-sm);
  transition:
    transform 0.35s var(--srms-ease-out),
    box-shadow 0.35s var(--srms-ease-out),
    border-color 0.25s;
}

.srms-dash-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--srms-shadow-lg);
  border-color: rgba(14, 165, 233, 0.2);
  color: inherit;
}

.srms-dash-tile i {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
  display: block;
  background: linear-gradient(135deg, var(--srms-accent-deep), var(--srms-accent-2-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------------------------- */
/* Login                                                                      */
/* -------------------------------------------------------------------------- */
body.page-login :where(a, button, input):focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

body.page-login {
  margin: 0;
  min-height: 100vh;
  font-family: var(--srms-font-sans);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: #e2e8f0;
  background: #020617;
  background-image:
    radial-gradient(ellipse 100% 75% at 15% 5%, rgba(14, 165, 233, 0.38), transparent 55%),
    radial-gradient(ellipse 85% 65% at 90% 15%, rgba(139, 92, 246, 0.35), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(212, 165, 116, 0.1), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.4) 0%, #020617 70%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.srms-login-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.04) 0%, transparent 55%);
  animation: srmsLoginPulse 14s ease-in-out infinite alternate;
}

@keyframes srmsLoginPulse {
  from {
    opacity: 0.55;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

.srms-login-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 2.5rem 2.15rem 2.15rem;
  border-radius: var(--srms-radius-xl);
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(28px) saturate(175%);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 120px -20px rgba(14, 165, 233, 0.25);
}

.srms-login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.45), rgba(167, 139, 250, 0.35), rgba(212, 165, 116, 0.25));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.srms-login-brand {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.22), rgba(139, 92, 246, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.18);
}

.srms-login-brand i {
  font-size: 2.1rem;
  background: linear-gradient(135deg, #7dd3fc, #e9d5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.srms-login-title {
  position: relative;
  font-family: var(--srms-font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: center;
  color: #f8fafc;
  margin: 0 0 0.4rem;
}

.srms-login-sub {
  position: relative;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.95);
  margin: 0 0 1.85rem;
}

.srms-login-notice {
  position: relative;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.95);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  text-align: left;
}

.srms-login-label {
  position: relative;
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.92);
  margin-bottom: 0.5rem;
}

.srms-login-input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.srms-login-input::placeholder {
  color: rgba(148, 163, 184, 0.72);
}

.srms-login-input:hover {
  background: rgba(255, 255, 255, 0.06);
}

.srms-login-input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.srms-login-field {
  position: relative;
  margin-bottom: 1.15rem;
}

.srms-login-field > i.fa {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(148, 163, 184, 0.88);
  font-size: 0.95rem;
  pointer-events: none;
}

.srms-login-alert {
  position: relative;
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 1.35rem;
  font-size: 0.9rem;
  line-height: 1.45;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.32);
  color: #fecaca;
}

.srms-login-submit {
  position: relative;
  width: 100%;
  min-height: 52px;
  margin-top: 0.35rem;
  border: none;
  border-radius: 14px;
  font-family: var(--srms-font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #0284c7, #7c3aed);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.38);
  transition: transform 0.15s var(--srms-ease-out), box-shadow 0.3s, filter 0.25s;
}

.srms-login-submit:hover {
  filter: brightness(1.07);
  box-shadow: 0 16px 44px rgba(14, 165, 233, 0.28);
}

.srms-login-submit:active {
  transform: scale(0.985);
}

.srms-login-meta {
  position: relative;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.75);
}

.srms-login-meta i {
  margin-right: 0.35rem;
  color: rgba(56, 189, 248, 0.85);
}

/* Select2 above fixed header / sidebar (Bootstrap 5 theme) */
.select2-container--bootstrap-5 {
  z-index: 1080;
}

/* -------------------------------------------------------------------------- */
/* Full-page loader (navigation / refresh)                                    */
/* -------------------------------------------------------------------------- */

.srms-page-loader {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 26, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.srms-page-loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.srms-page-loader__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 2.25rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.srms-page-loader__text {
  font-family: var(--srms-font-display, 'Outfit', system-ui, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.95);
}

.srms-page-loader__ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(56, 189, 248, 0.25);
  border-top-color: #38bdf8;
  animation: srms-page-loader-spin 0.75s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .srms-page-loader__ring {
    animation: none;
    border-top-color: rgba(56, 189, 248, 0.65);
  }

  .srms-page-loader {
    transition: none;
  }
}

@keyframes srms-page-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

body.page-login .srms-page-loader {
  background: rgba(3, 7, 18, 0.65);
}

body.page-login .srms-page-loader__panel {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(56, 189, 248, 0.15);
}
