/* Login Page – Premium Split-Screen Design with Light/Dark Mode */
/* Matching marketing site color scheme and aesthetics */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --login-font-body: "Nunito", "IBM Plex Sans", system-ui, sans-serif;
  --login-font-display: "Baloo 2", "Space Grotesk", "Nunito", system-ui, sans-serif;
}

/* === Reset & Base === */
* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--login-font-body);
  background: var(--bg);
  min-height: 100vh;
  color: var(--text);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.login-brand-name,
.login-heading,
.marketing-heading,
.feature-title,
.form-title,
.title h1,
.intro h1 {
  font-family: var(--login-font-display);
}

/* === Split-Screen Container === */
.login-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

/* === Grid Overlay - matches marketing-site --grid-line token === */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line, var(--border)) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line, var(--border)) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  animation: gridFloat 20s ease-in-out infinite;
}

@keyframes gridFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, 5px); }
}

/* === LEFT: Form Panel === */
.login-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 64px 48px;
  position: relative;
  background: var(--bg);
  z-index: 1;
}

/* Ambient glow effect behind form — aurora-violet from marketing */
.login-form-panel::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--aurora-violet, rgba(124, 58, 237, 0.45)), transparent 70%);
  opacity: var(--halo-opacity, 0);
  pointer-events: none;
  filter: blur(60px);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: var(--halo-opacity, 0); }
  50% { transform: translateX(-50%) scale(1.1); opacity: calc(var(--halo-opacity, 0) * 1.2); }
}

.login-form-inner {
  width: 100%;
  max-width: 420px;
  animation: fadeInUp 0.6s ease-out;
}

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

/* Brand header */
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.login-brand .brand-mark {
  width: 156px;
  height: auto;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: inherit;
  box-shadow: none;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-brand .brand-mark:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.login-brand .brand-mark img,
.login-brand .brand-mark svg { 
  width: 100%; 
  height: auto; 
  display: block;
}

.login-brand-name {
  display: none;
}

/* Back to home link */
.login-back-link {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

.login-back-link:hover { 
  color: var(--text);
  transform: translateX(-2px);
  background: var(--hover-bg);
}

.login-back-link svg { 
  width: 16px; 
  height: 16px; 
  transition: transform 0.2s ease;
}

.login-back-link:hover svg {
  transform: translateX(-2px);
}

/* Welcome heading */
.login-heading {
  margin: 40px 0 8px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1.2;
}

.login-subheading {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 32px;
  line-height: 1.6;
}

/* Form fields */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 15px;
  transition: all 0.2s ease;
  font-weight: 500;
}

input::placeholder { 
  color: var(--muted); 
  opacity: 0.7;
  font-weight: 400;
}

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

input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  background: var(--bg);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.password-toggle:hover {
  color: var(--text);
  background: var(--hover-bg);
}

.password-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.password-toggle-icon {
  width: 18px;
  height: 18px;
}

.password-toggle-icon--hide {
  display: none;
}

.password-toggle.is-visible .password-toggle-icon--show {
  display: none;
}

.password-toggle.is-visible .password-toggle-icon--hide {
  display: block;
}

.caps-lock-hint {
  min-height: 16px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #f59e0b;
}

/* Checkbox row */
.muted-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.muted-row label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}

.muted-row label:hover {
  color: var(--text);
}

.muted-row input[type="checkbox"] { 
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand);
}

.link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
}

.link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
}

.link:hover::after {
  width: 100%;
}

/* Primary button — solid CTA matching marketing-site (dark: white btn, light: dark btn) */
button[type="submit"],
button.btn-primary,
#continueBtn {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #09090b;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* Light mode: invert to dark button */
[data-theme="light"] button[type="submit"],
[data-theme="light"] button.btn-primary,
[data-theme="light"] #continueBtn,
body.light button[type="submit"],
body.light button.btn-primary,
body.light #continueBtn {
  background: #18181b;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(15, 23, 42, 0.2);
}

/* Shimmer effect on button */
button[type="submit"]::before,
button.btn-primary::before,
#continueBtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

button[type="submit"]:hover::before,
button.btn-primary:hover::before,
#continueBtn:hover::before {
  left: 100%;
}

button[type="submit"]:hover,
button.btn-primary:hover,
#continueBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.35);
}

[data-theme="light"] button[type="submit"]:hover,
[data-theme="light"] button.btn-primary:hover,
[data-theme="light"] #continueBtn:hover,
body.light button[type="submit"]:hover,
body.light button.btn-primary:hover,
body.light #continueBtn:hover {
  box-shadow: 0 0 40px rgba(15, 23, 42, 0.35);
}

button[type="submit"]:active,
button.btn-primary:active,
#continueBtn:active {
  transform: translateY(0);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

[data-theme="light"] button[type="submit"]:active,
[data-theme="light"] button.btn-primary:active,
[data-theme="light"] #continueBtn:active,
body.light button[type="submit"]:active,
body.light button.btn-primary:active,
body.light #continueBtn:active {
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.15);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

button[type="submit"].is-loading::before,
button.btn-primary.is-loading::before,
#continueBtn.is-loading::before {
  display: none;
}

button[type="submit"].is-loading svg,
button.btn-primary.is-loading svg,
#continueBtn.is-loading svg {
  display: none;
}

button svg {
  transition: transform 0.3s ease;
}

button:hover svg {
  transform: translateX(2px);
}

/* Secondary button */
.secondary {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--panel-strong);
  border: 2px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 12px;
}

.secondary:hover { 
  background: var(--hover-bg);
  border-color: var(--brand);
  transform: translateY(-1px);
}

/* Divider */
.divider {
  text-align: center;
  margin: 28px 0 16px;
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.divider span {
  background: var(--bg);
  padding: 0 16px;
  position: relative;
}

/* Signup link */
.signup-link {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

/* Error messages */
.error {
  background: var(--badge-error-bg);
  border: 2px solid var(--badge-error-text);
  color: var(--badge-error-text);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
  animation: shake 0.4s ease-in-out;
}

.error.show { 
  display: block; 
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* Spinner */
.spinner {
  border: 2px solid rgba(9, 9, 11, 0.25);
  border-top: 2px solid currentColor;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

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

[data-theme="light"] .spinner,
body.light .spinner {
  border-color: rgba(255, 255, 255, 0.35);
}

/* === RIGHT: Marketing Panel — matches marketing-site dark sections === */
.login-marketing-panel {
  background: linear-gradient(165deg, #020205 0%, #0b0b11 40%, #020205 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}

/* Light mode: neutral glass instead of purple gradient */
[data-theme="light"] .login-marketing-panel,
body.light .login-marketing-panel {
  background: linear-gradient(165deg, #f7f7fb 0%, #eef0f5 50%, #f7f7fb 100%);
}

/* Aurora gradient orbs — uses marketing aurora tokens */
.login-marketing-panel::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at 30% 30%, var(--aurora-violet, rgba(124, 58, 237, 0.45)), transparent 70%);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
  filter: blur(120px);
  opacity: 0.7;
}

.login-marketing-panel::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 50% 50%, var(--aurora-emerald, rgba(16, 185, 129, 0.35)), transparent 70%);
  pointer-events: none;
  animation: float 26s ease-in-out infinite reverse;
  filter: blur(140px);
  opacity: 0.5;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Light mode orbs — subtler but still visible */
[data-theme="light"] .login-marketing-panel::before,
body.light .login-marketing-panel::before {
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.12), transparent 55%);
  opacity: 0.8;
}

[data-theme="light"] .login-marketing-panel::after,
body.light .login-marketing-panel::after {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.10), transparent 50%);
  opacity: 0.8;
}

.marketing-inner {
  position: relative;
  z-index: 1;
  max-width: 500px;
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Status pill */
.marketing-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  border: 1.5px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  animation: pillPulse 3s ease-in-out infinite;
}

@keyframes pillPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0); }
}

[data-theme="light"] .marketing-pill,
body.light .marketing-pill {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.25);
  color: #7c3aed;
}

.marketing-pill .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

[data-theme="light"] .marketing-pill .status-dot,
body.light .marketing-pill .status-dot {
  background: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

/* Marketing heading — zinc scale, matching marketing-site */
.marketing-heading {
  font-family: var(--login-font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 20px;
}

[data-theme="light"] .marketing-heading,
body.light .marketing-heading {
  color: #09090b;
}

/* Highlight: dark = white->violet, light = deep-violet gradient */
.marketing-heading .highlight {
  background: linear-gradient(135deg, #ffffff, #c4b5fd, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

[data-theme="light"] .marketing-heading .highlight,
body.light .marketing-heading .highlight {
  background: linear-gradient(135deg, #111827, #7c3aed, #4c1d95);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
}

.marketing-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 450px;
}

[data-theme="light"] .marketing-desc,
body.light .marketing-desc {
  color: #52525b;
}

/* Feature cards */
.feature-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card:hover {
  background: rgba(30, 30, 35, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05), 0 0 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .feature-card,
body.light .feature-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08), inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

[data-theme="light"] .feature-card:hover,
body.light .feature-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.12), inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon svg { 
  width: 22px; 
  height: 22px; 
}

.feature-icon--blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.feature-icon--purple {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.feature-icon--accent {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
}

[data-theme="light"] .feature-icon--blue,
body.light .feature-icon--blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

[data-theme="light"] .feature-icon--purple,
body.light .feature-icon--purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

[data-theme="light"] .feature-icon--accent,
body.light .feature-icon--accent {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

.feature-title {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

[data-theme="light"] .feature-title,
body.light .feature-title {
  color: #18181b;
}

.feature-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

[data-theme="light"] .feature-desc,
body.light .feature-desc {
  color: #52525b;
}

/* === Theme Toggle === */
.theme-toggle-btn {
  position: fixed;
  top: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:hover {
  background: var(--hover-bg);
  transform: scale(1.05) rotate(10deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .login-split {
    grid-template-columns: 1fr;
  }
  
  .login-marketing-panel {
    display: none;
  }
  
  .login-form-panel {
    padding: 48px 32px;
  }
  
  .login-back-link {
    top: 20px;
    right: 20px;
  }
  
  .theme-toggle-btn {
    top: 20px;
    left: 20px;
  }
}

@media (max-width: 640px) {
  .login-form-panel {
    padding: 32px 24px;
  }
  
  .login-heading {
    font-size: 28px;
    margin-top: 32px;
  }
  
  .login-subheading {
    font-size: 15px;
  }
  
  .login-form-inner {
    max-width: 100%;
  }
  
  input[type="email"],
  input[type="password"] {
    padding: 13px 14px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .password-field input {
    padding-right: 44px;
  }
  
  button[type="submit"] {
    padding: 14px 18px;
  }
}

@media (max-width: 400px) {
  .login-form-panel {
    padding: 24px 18px;
  }
  
  .login-heading {
    font-size: 24px;
  }
}

/* === Additional Premium Touches === */

/* Smooth page load */
@keyframes pageLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: pageLoad 0.4s ease-out;
}

/* Focus visible for accessibility */
button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Selection color — uses brand indigo */
::selection {
  background: rgba(99, 102, 241, 0.25);
  color: var(--text);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

@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;
  }
}
