/* ===========================================
   Smart School — Login Page Redesign v2.0
   UI-only changes, no functionality touched
   =========================================== */

:root {
  --sl-primary: #FF671F;
  --sl-primary-dk: #e0500d;
  --sl-secondary: #e84118;
  --sl-accent: #FFD700;
  --sl-success: #10b981;
  --sl-danger: #dc2626;
  --sl-light: #fff8f2;
  --sl-white: #ffffff;
  --sl-text: #2d1b11;
  --sl-muted: #7a5e4d;
  --sl-border: #ffdfc4;
  --sl-input-bg: #fffdfa;
  --sl-radius: 12px;
  --sl-radius-sm: 8px;
}

/* ---------- Page shell ---------- */
.sl-page {
  display: flex;
  min-height: 100vh;
  width: 100%;
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
  color: var(--sl-text);
}

.sl-page * {
  box-sizing: border-box;
}

/* ---------- Left branding panel ---------- */
.sl-branding {
  flex: 0 0 55%;
  background: linear-gradient(145deg, rgba(255, 103, 31, 0.85) 0%, rgba(232, 65, 24, 0.85) 50%, rgba(194, 54, 22, 0.92) 100%),
    url('../img/backgrounds/11.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

/* dot-grid overlay */
.sl-branding::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* floating circles */
.sl-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.sl-deco-1 {
  width: 280px;
  height: 280px;
  top: -80px;
  left: -80px;
}

.sl-deco-2 {
  width: 180px;
  height: 180px;
  bottom: 60px;
  right: -50px;
  opacity: .5;
}

.sl-deco-3 {
  width: 100px;
  height: 100px;
  top: 45%;
  left: 30px;
  opacity: .4;
}

.sl-deco-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 200px;
  background: rgba(232, 160, 32, 0.08);
  border-radius: 50%;
  filter: blur(50px);
}

/* branding content */
.sl-branding-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 480px;
}

/* ─── Logo container ─── */
.sl-logo-wrap {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Glowing ring around the logo */
.sl-logo-ring {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.25);
  position: relative;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: sl-logo-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Shimmer accent on top-left corner of ring */
.sl-logo-ring::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(6px);
}

.sl-logo {
  height: 68px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
  position: relative;
  z-index: 1;
}

/* Icon fallback (shown when no image) */
.sl-logo-icon-fallback {
  display: none;
  /* shown via JS if img errors — not needed for CSS-only */
}

/* Pop-in animation */
@keyframes sl-logo-pop {
  from {
    opacity: 0;
    transform: scale(0.70);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ─── School name ─── */
.sl-school-name {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  margin: 18px 0 4px 0;
  line-height: 1.2;
  letter-spacing: -0.2px;
  text-align: center;
  word-break: break-word;
  /* Subtle gradient on the text for depth */
  background: linear-gradient(160deg, #fff 40%, rgba(255, 220, 180, 0.90) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: sl-fade-up 0.55s ease both 0.15s;
}

/* ─── Tagline ─── */
.sl-tagline {
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 300;
  margin: 0 0 30px 0;
  letter-spacing: .5px;
  text-align: center;
  animation: sl-fade-up 0.55s ease both 0.25s;
}

/* Fade-up animation for name + tagline */
@keyframes sl-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* role pills */
.sl-roles-label {
  color: rgba(255, 255, 255, .4);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 11px;
}

.sl-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 34px;
}

.sl-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 100px;
  color: rgba(255, 255, 255, .9);
  font-size: 12.5px;
  font-weight: 400;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s, transform .25s;
  cursor: default;
  user-select: none;
}

.sl-role-pill i {
  font-size: 13px;
  color: var(--sl-accent);
}

.sl-role-pill:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .35);
  transform: translateY(-2px);
}

/* notice panel */
.sl-notice {
  background: rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: left;
  max-height: 250px;
  overflow-y: auto;
}

.sl-notice::-webkit-scrollbar {
  width: 3px;
}

.sl-notice::-webkit-scrollbar-track {
  background: transparent;
}

.sl-notice::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .25);
  border-radius: 2px;
}

.sl-notice-hd {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--sl-accent);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.sl-notice-item {
  margin-bottom: 10px;
}

.sl-notice-item h4 {
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.sl-notice-item p {
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
}

.sl-notice-item a.more {
  color: var(--sl-accent);
  font-size: 11.5px;
  text-decoration: none;
}

.sl-notice-sep {
  height: 1px;
  background: rgba(255, 255, 255, .1);
  margin: 11px 0;
}

/* ---------- Right form panel ---------- */
.sl-form-panel {
  flex: 0 0 45%;
  background: var(--sl-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  position: relative;
}

.sl-form-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, .04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232, 160, 32, .04) 0%, transparent 50%);
  pointer-events: none;
}

/* card */
.sl-card {
  position: relative;
  z-index: 1;
  background: var(--sl-white);
  border-radius: 20px;
  padding: 44px 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, .04),
    0 8px 24px rgba(0, 0, 0, .07),
    0 24px 48px rgba(0, 0, 0, .05);
}

/* top accent bar */
.sl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--sl-secondary), var(--sl-accent));
  border-radius: 0 0 6px 6px;
}

/* card header */
.sl-card-hd {
  text-align: center;
  margin-bottom: 28px;
}

.sl-hd-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--sl-primary), var(--sl-secondary));
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, .25);
}

.sl-hd-icon i {
  color: #fff;
  font-size: 26px;
}

.sl-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--sl-text);
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.sl-card-sub {
  font-size: 13.5px;
  color: var(--sl-muted);
  margin: 0;
  font-weight: 300;
}

/* alerts */
.sl-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  margin-bottom: 18px;
  line-height: 1.45;
}

.sl-alert i {
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.sl-alert-err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.sl-alert-ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* form fields */
.sl-field {
  margin-bottom: 18px;
}

.sl-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--sl-text);
  margin-bottom: 7px;
}

.sl-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.sl-ico {
  position: absolute;
  left: 14px;
  color: #a0aec0;
  font-size: 15px;
  pointer-events: none;
  transition: color .25s;
  z-index: 1;
}

/* Override existing form-elements.css for inputs inside .sl-page */
.sl-page .sl-input {
  display: block;
  width: 100%;
  height: 48px !important;
  padding: 0 14px 0 42px !important;
  border: 2px solid var(--sl-border) !important;
  border-radius: var(--sl-radius-sm) !important;
  font-size: 14.5px !important;
  color: var(--sl-text) !important;
  background: var(--sl-input-bg) !important;
  box-shadow: none !important;
  outline: none;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  line-height: normal !important;
  transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none;
  appearance: none;
  margin: 0 !important;
}

.sl-page .sl-input:focus {
  border-color: var(--sl-secondary) !important;
  background: var(--sl-white) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1) !important;
  color: var(--sl-text) !important;
}

.sl-page .sl-input:focus~.sl-ico,
.sl-wrap:focus-within .sl-ico {
  color: var(--sl-secondary);
}

.sl-page .sl-input::placeholder {
  color: #b0bec5 !important;
}

.sl-page .sl-input-err {
  border-color: var(--sl-danger) !important;
}

/* input with right padding for PW toggle */
.sl-page .sl-input-rp {
  padding-right: 44px !important;
}

/* input with no left icon */
.sl-page .sl-input-bare {
  padding-left: 14px !important;
}

/* PW toggle button */
.sl-pw-btn {
  position: absolute;
  right: 12px;
  background: none !important;
  border: none !important;
  cursor: pointer;
  color: #a0aec0;
  font-size: 15px;
  padding: 4px;
  height: auto !important;
  width: auto !important;
  line-height: 1;
  transition: color .2s;
  box-shadow: none !important;
  border-radius: 4px;
}

.sl-pw-btn:hover {
  color: var(--sl-secondary);
  opacity: 1 !important;
}

.sl-pw-btn:focus {
  outline: none;
}

/* field error */
.sl-ferr {
  display: block;
  font-size: 12px;
  color: var(--sl-danger);
  margin-top: 5px;
}

/* captcha row */
.sl-cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.sl-cap-img {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sl-input-bg);
  border: 2px solid var(--sl-border);
  border-radius: var(--sl-radius-sm);
  padding: 4px 10px;
  height: 48px;
  overflow: hidden;
}

.sl-cap-img img {
  height: 36px;
  border-radius: 4px;
}

.sl-cap-refresh {
  color: var(--sl-secondary);
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  padding: 4px;
  transition: transform .4s ease;
}

.sl-cap-refresh:hover {
  transform: rotate(180deg);
}

/* submit button — override Bootstrap .btn inside .sl-page */
.sl-page .sl-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 20px !important;
  background: linear-gradient(135deg, var(--sl-primary) 0%, var(--sl-secondary) 100%) !important;
  border: none !important;
  border-radius: var(--sl-radius-sm) !important;
  color: #fff !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  font-family: 'Roboto', sans-serif !important;
  letter-spacing: .3px !important;
  margin-top: 6px !important;
  box-shadow: 0 4px 18px rgba(37, 99, 235, .3) !important;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-shadow: none !important;
  line-height: normal !important;
}

.sl-page .sl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, .42) !important;
  opacity: 1 !important;
  background: linear-gradient(135deg, var(--sl-primary) 0%, var(--sl-secondary) 100%) !important;
  color: #fff !important;
}

.sl-page .sl-btn:active {
  transform: translateY(0);
}

.sl-page .sl-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .25) !important;
  opacity: 1 !important;
  background: linear-gradient(135deg, var(--sl-primary) 0%, var(--sl-secondary) 100%) !important;
  color: #fff !important;
}

/* forgot link */
.sl-page .sl-forgot {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin-top: 18px !important;
  color: var(--sl-muted) !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  transition: color .2s;
  font-weight: 400 !important;
}

.sl-page .sl-forgot:hover {
  color: var(--sl-secondary) !important;
}

/* card footer */
.sl-card-ft {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--sl-border);
  text-align: center;
  color: #b0bec5;
  font-size: 12px;
}

.sl-card-ft i {
  margin-right: 4px;
  color: var(--sl-accent);
}

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

@media (max-width: 1024px) {
  .sl-branding {
    flex: 0 0 48%;
    padding: 36px 28px;
  }

  .sl-form-panel {
    flex: 0 0 52%;
    padding: 36px 24px;
  }

  .sl-logo-ring {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .sl-logo {
    height: 60px;
    max-width: 76px;
  }

  .sl-school-name {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .sl-page {
    flex-direction: column;
  }

  .sl-branding {
    flex: none;
    width: 100%;
    padding: 24px 20px 18px;
  }

  .sl-deco-1 {
    width: 160px;
    height: 160px;
    top: -40px;
    left: -40px;
  }

  .sl-deco-2 {
    width: 100px;
    height: 100px;
    bottom: 20px;
    right: -20px;
  }

  /* Compact logo ring on mobile */
  .sl-logo-ring {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 6px 20px rgba(0, 0, 0, 0.22);
  }

  .sl-logo {
    height: 50px;
    max-width: 62px;
  }

  .sl-school-name {
    font-size: 18px;
    margin-top: 14px;
  }

  .sl-tagline {
    font-size: 12.5px;
    margin-bottom: 14px;
  }

  .sl-roles {
    gap: 6px;
    margin-bottom: 0;
  }

  .sl-role-pill {
    font-size: 11.5px;
    padding: 5px 11px;
  }

  /* hide notice on mobile — it stacks below the form anyway */
  .sl-notice {
    display: none;
  }

  .sl-form-panel {
    flex: none;
    width: 100%;
    padding: 24px 16px 40px;
  }

  .sl-card {
    padding: 32px 22px 28px;
    border-radius: 16px;
    max-width: 100%;
  }

  /* captcha stacks vertically on mobile */
  .sl-cap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .sl-branding {
    padding: 20px 14px 16px;
  }

  .sl-roles {
    gap: 5px;
  }

  .sl-role-pill {
    font-size: 11px;
    padding: 4px 9px;
  }

  .sl-card {
    padding: 22px 14px 18px;
  }

  .sl-card-title {
    font-size: 19px;
  }
}

/* =======================================================
   AUTH FLOW EXTRAS — Forgot / Reset Password pages
   ======================================================= */

/* ---- Floating school icons (all auth pages) ---- */
.sl-float-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.sl-fi {
  position: absolute;
  color: rgba(255, 255, 255, .07);
  animation: sl-float-anim ease-in-out infinite;
}

/* size / position / timing for each icon */
.sl-fi-1 {
  font-size: 34px;
  left: 7%;
  top: 14%;
  animation-duration: 12s;
  animation-delay: 0s;
}

.sl-fi-2 {
  font-size: 26px;
  left: 79%;
  top: 8%;
  animation-duration: 14s;
  animation-delay: 2s;
}

.sl-fi-3 {
  font-size: 44px;
  left: 17%;
  top: 68%;
  animation-duration: 16s;
  animation-delay: 4s;
}

.sl-fi-4 {
  font-size: 20px;
  left: 63%;
  top: 50%;
  animation-duration: 10s;
  animation-delay: 1s;
}

.sl-fi-5 {
  font-size: 30px;
  left: 85%;
  top: 72%;
  animation-duration: 13s;
  animation-delay: 3s;
}

.sl-fi-6 {
  font-size: 22px;
  left: 42%;
  top: 83%;
  animation-duration: 15s;
  animation-delay: 5s;
}

.sl-fi-7 {
  font-size: 36px;
  left: 4%;
  top: 45%;
  animation-duration: 11s;
  animation-delay: 6s;
}

.sl-fi-8 {
  font-size: 18px;
  left: 55%;
  top: 25%;
  animation-duration: 9s;
  animation-delay: 1.5s;
}

.sl-fi-9 {
  font-size: 24px;
  left: 34%;
  top: 9%;
  animation-duration: 13s;
  animation-delay: 3.5s;
}

.sl-fi-10 {
  font-size: 28px;
  left: 91%;
  top: 36%;
  animation-duration: 17s;
  animation-delay: 7s;
}

@keyframes sl-float-anim {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  40% {
    transform: translateY(-20px) rotate(5deg);
  }

  70% {
    transform: translateY(-10px) rotate(-3deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* keep branding content above float icons */
.sl-branding-content {
  z-index: 3;
}

/* ---- Header icon colour variants ---- */
.sl-hd-icon.sl-hd-amber {
  background: linear-gradient(135deg, #c47d0e, var(--sl-accent));
  box-shadow: 0 4px 16px rgba(232, 160, 32, .32);
}

.sl-hd-icon.sl-hd-green {
  background: linear-gradient(135deg, #059669, #34d399);
  box-shadow: 0 4px 16px rgba(16, 185, 129, .32);
}

/* ---- Role radio cards (ufpassword) ---- */
.sl-role-select {
  display: flex;
  gap: 10px;
}

.sl-role-opt {
  flex: 1;
  cursor: pointer;
}

.sl-page .sl-role-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.sl-role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 8px;
  border: 2px solid var(--sl-border);
  border-radius: 10px;
  background: var(--sl-input-bg);
  transition: all .25s ease;
  font-size: 13px;
  font-weight: 500;
  color: var(--sl-muted);
  user-select: none;
}

.sl-role-card i {
  font-size: 22px;
  color: var(--sl-muted);
  transition: color .2s;
}

.sl-role-card:hover {
  border-color: rgba(37, 99, 235, .35);
  background: rgba(37, 99, 235, .04);
}

.sl-role-opt input[type="radio"]:checked~.sl-role-card {
  border-color: var(--sl-secondary);
  background: rgba(37, 99, 235, .07);
  color: var(--sl-secondary);
}

.sl-role-opt input[type="radio"]:checked~.sl-role-card i {
  color: var(--sl-secondary);
}

/* ---- Password strength bars (reset pages) ---- */
.sl-pw-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.sl-pw-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--sl-border);
  transition: background .35s;
}

.sl-pw-strength[data-level="1"] .sl-pw-bar:nth-child(1) {
  background: var(--sl-danger);
}

.sl-pw-strength[data-level="2"] .sl-pw-bar:nth-child(-n+2) {
  background: var(--sl-accent);
}

.sl-pw-strength[data-level="3"] .sl-pw-bar:nth-child(-n+3) {
  background: var(--sl-success);
}

.sl-pw-strength[data-level="4"] .sl-pw-bar {
  background: var(--sl-success);
}

.sl-pw-hint {
  font-size: 11.5px;
  color: var(--sl-muted);
  margin-top: 5px;
  min-height: 16px;
  transition: color .3s;
}

/* ---- Password match indicator ---- */
.sl-pw-match {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  margin-top: 5px;
  min-height: 18px;
  color: transparent;
  transition: color .3s;
}

.sl-pw-match.sl-ok {
  color: var(--sl-success);
}

.sl-pw-match.sl-err {
  color: var(--sl-danger);
}

/* ---- Info / instruction box ---- */
.sl-info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 13px 15px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.sl-info-box i {
  color: var(--sl-secondary);
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sl-info-box p {
  color: #1e40af;
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

/* ---- Back / navigation link ---- */
.sl-page .sl-back {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin-top: 20px !important;
  color: var(--sl-muted) !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  transition: color .2s;
  font-weight: 400 !important;
}

.sl-page .sl-back:hover {
  color: var(--sl-secondary) !important;
}

/* ---- Sub-label (above role selector) ---- */
.sl-sub-label {
  display: block;
  font-size: 12px;
  color: var(--sl-muted);
  margin-bottom: 9px;
  letter-spacing: .4px;
}

/* role cards stack on very small screens */
@media (max-width: 380px) {
  .sl-role-select {
    flex-direction: column;
  }
}