/* ==========================================================================
   PHLOEM SOFT — Premium 2-Column Glassmorphism Admin Login
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --canvas-bg: #0a0713;
  --shell-bg: rgba(255, 255, 255, 0.07);
  --shell-border: rgba(255, 255, 255, 0.16);
  --nested-bg: rgba(255, 255, 255, 0.055);
  --nested-border: rgba(255, 255, 255, 0.12);
  --nested-border-hover: rgba(255, 255, 255, 0.22);
  --nested-bg-hover: rgba(255, 255, 255, 0.085);
  --text-main: #f4f3ff;
  --text-muted: #a9a5c4;
  --text-faint: #736d90;
  --text-label: #c9c3e4;
  --violet-brand: #7c5cff;
  --violet-glow: rgba(124, 92, 255, 0.18);
  --primary-gradient: linear-gradient(135deg, #7c5cff 0%, #a855f7 50%, #6366f1 100%);
  --headline-gradient: linear-gradient(135deg, #c084fc 0%, #38bdf8 100%);
  --danger-color: #f87171;
  --success-color: #34d399;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   Canvas & Atmosphere
   ========================================================================== */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--canvas-bg);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ss-login-viewport {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: var(--canvas-bg);
}

/* Three large blurred color blobs at blur(110px), opacity .3-.55 */
.ss-color-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  -webkit-filter: blur(110px);
  pointer-events: none;
  z-index: 1;
}

.ss-blob-violet {
  top: -80px;
  left: -80px;
  width: 540px;
  height: 540px;
  background: #6d28d9;
  opacity: 0.50;
}

.ss-blob-sky {
  bottom: -90px;
  right: -90px;
  width: 520px;
  height: 520px;
  background: #0ea5e9;
  opacity: 0.38;
}

.ss-blob-pink {
  top: 45%;
  left: 35%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  background: #db2777;
  opacity: 0.32;
}

/* Faint 64px white grid overlay masked by a radial gradient */
.ss-grid-overlay {
  position: absolute;
  inset: 0;
  background-size: 64px 64px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   Glass Shell Card
   max-width 1120px, radius 28px, split into two columns (1.05fr / 1fr)
   ========================================================================== */

.ss-glass-shell {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1120px;
  border-radius: 28px;
  background: var(--shell-bg);
  border: 1px solid var(--shell-border);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.20);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  box-sizing: border-box;
  animation: ssShellEntrance 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ssShellEntrance {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   LEFT COLUMN: Brand Panel
   ========================================================================== */

.ss-brand-panel {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.ss-brand-panel__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Logo lockup: 38px gradient rounded-square mark + "Phloem Soft" */
.ss-brand-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.ss-brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

/* Status pill: green pulsing dot + "Administration console · v2.4" */
.ss-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ss-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--success-color);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: ssPulseDot 2s infinite;
}

@keyframes ssPulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

/* Headline 38px/800, tight tracking, second line in violet-to-cyan gradient text */
.ss-brand-headline {
  font-family: var(--font-family);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin: 0 0 14px;
}

.ss-gradient-text {
  display: inline-block;
  background: var(--headline-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Muted supporting sentence below */
.ss-brand-description {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 36px;
  max-width: 440px;
}

/* Three glass feature rows pinned to the bottom, hover lifts and slides 4px right */
.ss-brand-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ss-feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--nested-bg);
  border: 1px solid var(--nested-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.ss-feature-row:hover {
  transform: translateX(4px) translateY(-1px);
  background: var(--nested-bg-hover);
  border-color: var(--nested-border-hover);
}

.ss-feature-icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.ss-feature-icon-tile--staff {
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.28);
}

.ss-feature-icon-tile--fee {
  background: rgba(249, 115, 22, 0.16);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.28);
}

.ss-feature-icon-tile--academic {
  background: rgba(14, 165, 233, 0.16);
  color: #7dd3fc;
  border: 1px solid rgba(14, 165, 233, 0.28);
}

.ss-feature-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ss-feature-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
}

.ss-feature-subtitle {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   RIGHT COLUMN: Sign-in Form
   ========================================================================== */

.ss-form-panel {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

/* "Welcome back" 27px/700 + muted one-line subtitle */
.ss-form-title {
  font-family: var(--font-family);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0 0 6px;
  line-height: 1.2;
}

.ss-form-subtitle {
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 0 28px;
  line-height: 1.45;
}

/* Alerts */
.ss-auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.ss-auth-alert--danger {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.30);
  color: var(--danger-color);
}

.ss-auth-alert--success {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.30);
  color: var(--success-color);
}

.ss-auth-alert i {
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Fields: Username or email, Password. 52px tall, radius 14px, leading icon, eye toggle */
.ss-form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.ss-form-label {
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-label);
  margin-bottom: 7px;
  display: inline-block;
  line-height: 1.2;
}

.ss-input-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.ss-form-input {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  background: var(--nested-bg);
  border: 1px solid var(--nested-border);
  padding: 0 16px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  box-sizing: border-box;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.ss-form-input::placeholder {
  color: var(--text-faint);
  opacity: 1;
}

.ss-input-icon {
  display: none !important;
}

/* Focus state: violet border + 4px rgba(124,92,255,.18) glow ring */
.ss-form-input:focus {
  border-color: var(--violet-brand);
  box-shadow: 0 0 0 4px var(--violet-glow);
}

.ss-input-wrap:focus-within .ss-input-icon {
  color: #c4b5fd;
}

/* Password field with eye toggle on the right */
.ss-form-input--pwd {
  padding-right: 48px;
}

.ss-pwd-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #9d99ba;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease, background-color 0.18s ease;
  padding: 0;
}

.ss-pwd-toggle:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.ss-pwd-toggle:focus-visible {
  outline: 2px solid var(--violet-brand);
  outline-offset: 1px;
}

/* WebKit autofill styling */
.ss-form-input:-webkit-autofill,
.ss-form-input:-webkit-autofill:hover,
.ss-form-input:-webkit-autofill:focus,
.ss-form-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px rgba(25, 21, 39, 0.95) inset !important;
  -webkit-text-fill-color: var(--text-main) !important;
  transition: background-color 5000s ease-in-out 0s;
  caret-color: var(--text-main);
}

.ss-field-error {
  font-family: var(--font-family);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--danger-color);
  margin-top: 5px;
  line-height: 1.35;
  display: block;
}

/* Captcha wrapper if enabled */
.ss-captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ss-captcha-img-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--nested-border);
  border-radius: 12px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
}

.ss-captcha-refresh-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--nested-bg);
  border: 1px solid var(--nested-border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.ss-captcha-refresh-btn:hover {
  color: var(--text-main);
  border-color: var(--violet-brand);
}

/* Row: "Keep me signed in" checkbox (left) and "Forgot password?" link (right) */
.ss-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  margin-bottom: 22px;
  font-size: 12px;
  font-family: var(--font-family);
  color: var(--text-muted);
}

.ss-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.ss-remember-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--nested-border);
  background: var(--nested-bg);
  cursor: pointer;
  position: relative;
  margin: 0;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.ss-remember-checkbox:checked {
  background: #7c5cff;
  border-color: #7c5cff;
}

.ss-remember-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ss-remember-checkbox:focus-visible {
  outline: 2px solid var(--violet-brand);
  outline-offset: 1px;
}

.ss-forgot-link {
  font-size: 12px;
  color: #a78bfa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s ease, text-decoration 0.18s ease;
}

.ss-forgot-link:hover {
  color: #ede9fe;
  text-decoration: underline;
}

.ss-forgot-link:focus-visible {
  outline: 2px solid var(--violet-brand);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Primary button: 54px, radius 14px, gradient #7c5cff → #a855f7 → #6366f1,
   colored shadow, lifts 2px on hover, label "Sign in →" */
.ss-btn-primary {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-gradient);
  border: none;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 16px 36px -10px rgba(124, 92, 255, 0.70), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.ss-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -8px rgba(124, 92, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ss-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 22px -6px rgba(124, 92, 255, 0.70), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.ss-btn-primary:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 3px;
}

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

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

.ss-btn-primary.is-loading {
  pointer-events: none;
}

.ss-btn-primary.is-loading .ss-btn-text {
  display: none;
}

.ss-btn-primary.is-loading .ss-btn-spinner {
  display: inline-block;
}

/* "or" divider with hairlines */
.ss-or-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
}

.ss-or-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
}

.ss-or-text {
  font-family: var(--font-family);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-faint);
  text-transform: lowercase;
}

/* Two secondary glass buttons: "Staff portal" and "Student portal" */
.ss-portal-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ss-btn-secondary-glass {
  height: 46px;
  border-radius: 12px;
  background: var(--nested-bg);
  border: 1px solid var(--nested-border);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ss-btn-secondary-glass:hover {
  background: var(--nested-bg-hover);
  border-color: var(--nested-border-hover);
  color: #ffffff;
  transform: translateY(-1px);
  text-decoration: none;
}

.ss-btn-secondary-glass.is-active,
.ss-btn-secondary-glass[aria-current="page"] {
  background: rgba(124, 92, 255, 0.22) !important;
  border-color: rgba(124, 92, 255, 0.55) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(124, 92, 255, 0.28) !important;
  font-weight: 700 !important;
}

.ss-btn-secondary-glass:active {
  transform: scale(0.98);
}

.ss-btn-secondary-glass:focus-visible {
  outline: 2px solid var(--violet-brand);
  outline-offset: 2px;
}

/* Small centered copyright footer */
.ss-form-copyright {
  text-align: center;
  margin-top: 26px;
  font-family: var(--font-family);
  font-size: 11.5px;
  color: var(--text-faint);
}

/* ==========================================================================
   Responsive Behavior
   Below 900px: hide the brand panel, form goes full width
   ========================================================================== */

@media (max-width: 900px) {
  .ss-login-viewport {
    padding: 16px;
  }

  .ss-glass-shell {
    grid-template-columns: 1fr;
    max-width: 480px;
    border-radius: 22px;
  }

  .ss-brand-panel {
    display: none !important;
  }

  .ss-form-panel {
    padding: 36px 26px;
  }

  .ss-color-blob {
    width: 320px;
    height: 320px;
    filter: blur(80px);
    -webkit-filter: blur(80px);
  }
}

/* ==========================================================================
   Full-Screen Workspace Loader Transition
   ========================================================================== */

.ss-branded-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--canvas-bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ss-branded-loader.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ss-branded-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  max-width: 90vw;
}

.ss-branded-loader__brand {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-branded-loader__brand img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  animation: ssLoaderBrandIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ssLoaderBrandIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ss-branded-loader__spinner-track {
  width: 140px;
  height: 3px;
  background: rgba(124, 92, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.ss-branded-loader__spinner-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: var(--primary-gradient);
  border-radius: 999px;
  animation: ssLoaderSlide 1.2s infinite ease-in-out;
}

@keyframes ssLoaderSlide {
  0% {
    left: -45%;
    width: 35%;
  }
  50% {
    left: 30%;
    width: 60%;
  }
  100% {
    left: 100%;
    width: 35%;
  }
}

.ss-branded-loader__message {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ss-glass-shell,
  .ss-branded-loader__brand img {
    animation: none !important;
  }
  .ss-branded-loader__spinner-bar {
    animation-duration: 2s;
  }
}

/* ==========================================================================
   PHLOEM SOFT — Student & Parent Portal Authentication (.ss-auth-*)
   Pixel-perfect 2-column split with branded hero showcase
   ========================================================================== */

.ss-auth-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: var(--canvas-bg);
  position: relative;
  overflow-x: hidden;
}

/* Left Column: Form Panel */
.ss-auth-panel {
  flex: 0 0 480px;
  max-width: 480px;
  width: 100%;
  min-height: 100vh;
  background: #110d22;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 40px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.ss-auth-card {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}

.ss-auth-brand {
  margin-bottom: 28px;
  text-align: left;
}

.ss-auth-logo img {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.ss-auth-header {
  margin-bottom: 24px;
}

.ss-auth-title {
  font-family: var(--font-family);
  font-size: 26px;
  font-weight: 700;
  color: #f4f3ff;
  letter-spacing: -0.025em;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.ss-auth-subtitle {
  font-family: var(--font-family);
  font-size: 13.5px;
  color: #a9a5c4;
  line-height: 1.5;
  margin: 0;
}

/* Alerts */
.ss-auth-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 20px;
  font-family: var(--font-family);
}

.ss-auth-alert i {
  font-size: 16px;
  flex-shrink: 0;
}

.ss-auth-alert--danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #fca5a5;
}

.ss-auth-alert--success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
}

/* Form layout */
.ss-auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ss-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ss-auth-field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ss-auth-label {
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 600;
  color: #c9c3e4;
  letter-spacing: 0.01em;
  margin: 0;
}

.ss-auth-link {
  font-family: var(--font-family);
  font-size: 12px;
  color: #a78bfa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.ss-auth-link:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

.ss-auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.ss-auth-icon {
  position: absolute;
  left: 14px;
  color: #736d90;
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-auth-input {
  width: 100% !important;
  height: 44px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  padding: 0 40px 0 38px !important;
  color: #f4f3ff !important;
  font-family: var(--font-family) !important;
  font-size: 13.5px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.ss-auth-input::placeholder {
  color: #6b648a !important;
}

.ss-auth-input:hover {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.075) !important;
}

.ss-auth-input:focus {
  border-color: #8b5cf6 !important;
  background: rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25) !important;
  outline: none !important;
  color: #ffffff !important;
}

.ss-auth-input:-webkit-autofill,
.ss-auth-input:-webkit-autofill:hover,
.ss-auth-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #1c1537 inset !important;
  -webkit-text-fill-color: #f4f3ff !important;
  caret-color: #f4f3ff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

.ss-auth-toggle-pwd {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: none;
  border: none;
  color: #736d90;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: color 0.15s ease, background 0.15s ease;
}

.ss-auth-toggle-pwd:hover {
  color: #c9c3e4;
  background: rgba(255, 255, 255, 0.08);
}

.ss-auth-error {
  font-family: var(--font-family);
  font-size: 12px;
  color: #f87171;
  margin-top: 4px;
}

/* Captcha styling */
.ss-auth-captcha-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ss-auth-captcha-img {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ss-auth-captcha-refresh {
  background: none;
  border: none;
  color: #a78bfa;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.ss-auth-captcha-refresh:hover {
  transform: rotate(90deg);
  color: #c4b5fd;
}

/* Submit button */
.ss-auth-submit-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 44px !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, #7c5cff 0%, #a855f7 50%, #6366f1 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-family: var(--font-family) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 16px rgba(124, 92, 255, 0.35) !important;
  margin-top: 6px !important;
}

.ss-auth-submit-btn:hover {
  opacity: 0.94 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 22px rgba(124, 92, 255, 0.48) !important;
  color: #ffffff !important;
}

.ss-auth-submit-btn:active {
  transform: translateY(0) !important;
}

/* Switch link & Footer */
.ss-auth-switch {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-family);
  font-size: 13px;
  color: #a9a5c4;
}

.ss-auth-switch p {
  margin: 0;
}

.ss-auth-switch-link {
  color: #a78bfa;
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.15s ease;
}

.ss-auth-switch-link:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

.ss-auth-footer {
  margin-top: 36px;
  font-family: var(--font-family);
  font-size: 12px;
  color: #736d90;
  text-align: center;
}

/* Right Column: Visual Showcase */
.ss-auth-showcase {
  flex: 1;
  min-height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  box-sizing: border-box;
  overflow: hidden;
}

.ss-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 7, 19, 0.88) 0%, rgba(24, 15, 48, 0.82) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.ss-showcase-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  width: 100%;
  color: #ffffff;
}

.ss-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: #c4b5fd;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.ss-showcase-title {
  font-family: var(--font-family);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  color: #f4f3ff;
  letter-spacing: -0.025em;
  margin: 0 0 16px 0;
}

.ss-showcase-desc {
  font-family: var(--font-family);
  font-size: 14.5px;
  color: #c9c3e4;
  line-height: 1.6;
  margin: 0 0 32px 0;
}

.ss-showcase-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ss-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.ss-feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateX(4px);
}

.ss-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.3);
  color: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ss-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ss-feature-text strong {
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 600;
  color: #f4f3ff;
}

.ss-feature-text span {
  font-family: var(--font-family);
  font-size: 12px;
  color: #a9a5c4;
}

/* Notice Cards */
.ss-notice-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ss-notice-card {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.ss-notice-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.ss-notice-card__title {
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  color: #f4f3ff;
  margin: 0 0 6px 0;
}

.ss-notice-card__desc {
  font-family: var(--font-family);
  font-size: 13px;
  color: #c9c3e4;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.ss-notice-card__link {
  font-family: var(--font-family);
  font-size: 12px;
  color: #a78bfa;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ss-notice-card__link:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .ss-auth-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 16px;
  }
  
  .ss-auth-panel {
    flex: 1 1 auto;
    max-width: 440px;
    min-height: auto;
    border-right: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px 28px;
    background: #120e24;
    box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.5);
  }
  
  .ss-auth-showcase {
    display: none;
  }
}
