:root {
  color-scheme: dark;
  --bg: #0b0f19;
  --surface: rgba(17, 24, 39, 0.45);
  --surface-alt: rgba(31, 41, 55, 0.55);
  --text: #f8fafc;
  --muted: #94a3b8;
  --heading-text: #ffffff;
  --primary: #6366f1;
  --primary-strong: #a855f7;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --glow-1: rgba(99, 102, 241, 0.15);
  --glow-2: rgba(168, 85, 247, 0.15);
  --orb-opacity: 0.7;
  --sidebar-text: #94a3b8;
  --sidebar-hover-text: #ffffff;
  --nav-active-bg: rgba(99, 102, 241, 0.15);
  --nav-active-border: rgba(99, 102, 241, 0.3);
  --trend-neutral-bg: rgba(255, 255, 255, 0.05);
  --trend-neutral-text: #94a3b8;
  --input-bg: rgba(0, 0, 0, 0.2);
  --input-text: #ffffff;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: rgba(255, 255, 255, 0.03);
  --btn-secondary-text: #ffffff;
  --btn-secondary-hover-bg: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.015), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.015), transparent 25%);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

.hidden { display: none !important; }

/* Dashboard Pulse & Trends */
.stat-trend {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  margin-left: 8px;
}
.stat-trend.up { background: rgba(34, 197, 94, 0.1); color: #4ade80; }
.stat-trend.down { background: rgba(239, 68, 68, 0.1); color: #f87171; }
.stat-trend.neutral { background: var(--trend-neutral-bg); color: var(--trend-neutral-text); }

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--heading-text);
}

/* Abstract Background Orbs */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

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

.orb-1 {
  width: 50vw;
  height: 50vw;
  background: linear-gradient(to right, var(--primary), var(--primary-strong));
  top: -10vw;
  left: -10vw;
}

.orb-2 {
  width: 40vw;
  height: 40vw;
  background: linear-gradient(to right, var(--primary-strong), #ec4899);
  bottom: -5vw;
  right: -5vw;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% {
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translateY(-50px) scale(1.1);
  }
}

.page-shell {
  min-height: 100vh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.top-nav {
  width: min(1200px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.3));
  transform: translateY(6px);
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.auth-shell {
  width: min(1150px, 100%);
  position: relative;
  border-radius: 40px;
  z-index: 2;
  overflow: hidden;
}

.auth-track {
  display: flex;
  width: 150%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.auth-shell.register-active .auth-track {
  transform: translateX(-33.333%);
}

.panel {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 30px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.05));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.panel-content {
  max-width: 480px;
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.brand-tag {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #e879f9;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-text {
  margin-top: 15px;
  z-index: 1;
  position: relative;
  width: 100%;
}

.panel-title {
  margin: 0;
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff 0%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
  text-transform: uppercase;
  font-weight: 800;
  filter: drop-shadow(0 4px 16px rgba(168, 85, 247, 0.4));
}

.panel-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-avatar {
  width: clamp(140px, 12vw, 190px);
  display: block;
  margin: 0 auto;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  transition: all 0.5s ease;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  animation: floatImage 6s ease-in-out infinite alternate;
}

@keyframes floatImage {
  to {
    transform: translateY(-15px);
  }
}

.register-hero {
  position: absolute;
  top: 40px;
  right: 40px;
  width: clamp(130px, 12vw, 175px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 10;
  pointer-events: none;
}

.auth-shell.register-active .register-hero {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.auth-shell.register-active .hero-avatar.login-avatar {
  opacity: 0;
  transform: translateX(-40px) scale(0.9);
}

.hero-avatar.register-avatar {
  max-width: 100%;
  border-radius: 28px;
  z-index: 2;
  position: relative;
}

.register-hero-text {
  margin-top: 4px;
  z-index: 10;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  width: 100%;
}

.slogan-title {
  margin: 0;
  font-size: clamp(0.9rem, 1.3vw, 1.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #f8fafc;
  font-weight: 500;
}

.social-proof-text {
  margin: 6px 0 0;
  color: #a5b4fc;
  font-weight: 500;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: right;
  max-width: 110px;
}

.form-panel,
.hero-panel,
.auth-spacer {
  flex: 0 0 33.333%;
}

.auth-spacer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 30px;
}

.testimonials-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 340px;
  margin-top: -60px;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
}

.auth-shell.register-active .testimonials-container {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.testimonial-card.t-1 {
  margin-left: 40px;
}

.testimonial-card.t-2 {
  margin-left: 0;
}

.stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 20px 0;
  font-style: italic;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.bg-purple {
  background: linear-gradient(135deg, #a855f7, #c084fc);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.bg-indigo {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.t-info {
  display: flex;
  flex-direction: column;
}

.t-info strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.t-info span {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

.form-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
}

.form-shell {
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.view-track {
  display: flex;
  width: 200%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  align-items: flex-start;
}

.form-shell.register-active .view-track {
  transform: translateX(-50%);
}

.form-view {
  width: 50%;
  flex-shrink: 0;
  padding-right: 24px;
  transition: opacity 0.3s;
  animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-shell.register-active .form-view {
  padding-right: 0;
  padding-left: 24px;
}

.form-view.hidden {
  opacity: 0;
  pointer-events: none;
}

.form-header {
  margin-bottom: 16px;
}

.form-header h2 {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.form-header p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.field-group {
  display: grid;
  gap: 6px;
}

.field-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.1rem;
  pointer-events: none;
  transition: color 0.3s;
}

input,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px 12px 44px;
  background: var(--input-bg);
  color: var(--input-text);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
}

select option {
  background: #1e293b;
  color: #fff;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

input:focus~.input-icon {
  color: var(--primary);
}

.label-row,
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  cursor: pointer;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  border-radius: 4px;
  padding: 0;
}

.primary-button {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: var(--btn-primary-text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
  font-family: 'Outfit', sans-serif;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
  filter: brightness(1.1);
}

.primary-button:active {
  transform: translateY(0);
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

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

.social-button {
  border: 1px solid var(--border);
  background: var(--btn-secondary-bg);
  border-radius: 12px;
  padding: 12px;
  color: var(--btn-secondary-text);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.social-button:hover {
  background: var(--btn-secondary-hover-bg);
  transform: translateY(-1px);
}

.helper-text {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  margin-top: 10px;
}

.link-button,
.link-button-inline,
.text-button,
a {
  color: #a855f7;
  text-decoration: none;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
  padding: 0;
}

.link-button:hover,
.link-button-inline:hover,
.text-button:hover,
a:hover {
  color: #d8b4fe;
  text-decoration: underline;
}

.text-button {
  color: var(--muted);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.text-button:hover {
  color: #fff;
  text-decoration: none;
}

.double-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* Premium Card Effects */
.student-card, .review-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.student-card:hover, .review-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.1);
}

.student-card::before, .review-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.student-card:hover::before, .review-card:hover::before {
  transform: translateX(100%);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 1;
  transition: opacity 0.3s;
}

.modal-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow);
  position: relative;
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-backdrop.hidden .modal-card {
  transform: scale(0.95);
}

.close-button {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.close-button:hover {
  color: #fff;
}

.modal-card h2 {
  margin: 0 0 12px 0;
  font-size: 2rem;
  color: #fff;
}

.modal-card p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-buttons .secondary-button {
  flex: 1;
  padding: 12px 24px;
}

.modal-buttons .primary-button {
  flex: 1;
  padding: 12px 24px;
}

.secondary-button {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  font-family: 'Outfit', sans-serif;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.secondary-button:active {
  transform: translateY(0);
}

.danger-button {
  background: linear-gradient(135deg, #ff4757 0%, #ee5a6f 100%);
  border-color: #ff4757;
}

.danger-button:hover {
  background: linear-gradient(135deg, #ff3838 0%, #ee4255 100%);
  border-color: #ff3838;
}

/* Animations on elements */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

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

@media (max-width: 1100px) {
  .auth-track {
    width: 100%;
  }

  .hero-panel,
  .form-panel,
  .auth-spacer {
    flex: 0 0 50%;
  }

  .auth-shell.register-active .auth-track {
    transform: translateX(-50%);
  }

  .top-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .register-hero {
    top: 32px;
    right: 32px;
    opacity: 0;
    transform: translateX(20px);
  }

  .auth-shell.register-active .register-hero {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .page-shell {
    padding: 12px;
  }

  .top-nav {
    display: none;
  }

  .hero-panel {
    display: none;
  }

  .form-panel,
  .auth-spacer {
    flex: 0 0 100%;
  }

  .auth-shell.register-active .auth-track {
    transform: none; /* Prevent the entire track from sliding out of view on mobile */
  }

  .form-panel {
    padding: 32px 24px;
    border-radius: 36px;
  }

  .register-hero {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    width: 80%;
    display: none;
  }

  .double-fields {
    grid-template-columns: 1fr;
  }
}
/* Toast Notification System */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  min-width: 280px;
  max-width: 400px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

.toast.removing {
  animation: toastSlideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes toastSlideOut {
  to { transform: translateX(100%) scale(0.9); opacity: 0; }
}

/* Help Modal Specifics */
.help-modal-card {
  max-width: 500px;
}

.help-form {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.help-form textarea {
  width: 100%;
  min-height: 120px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  color: var(--text);
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s;
}

.help-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.help-success-state {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.help-success-state.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.success-icon-circle {
  width: 64px;
  height: 64px;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

/* Modern Transparent Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.1);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.3);
  background-clip: content-box;
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.2) transparent;
}

/* ─── Story Nudge (Login Page CTA) ─── */
.story-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.18);
  transition: all 0.3s ease;
}

.story-nudge:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
}

.story-nudge-label {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
  flex: 1;
}

.story-nudge-btn {
  color: #c084fc;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.story-nudge-btn:hover {
  color: #e879f9;
  text-decoration: none;
}

/* Hide story nudge when register view is active */
.form-shell.register-active .story-nudge {
  display: none;
}

/* --- FOOTER --- */
.site-footer {
  text-align: center;
  padding: 24px;
  color: var(--text-muted, rgba(255, 255, 255, 0.4));
  font-size: 0.85rem;
  width: 100%;
  margin-top: auto;
}
