/* ==========================================================================
   ConfRoll - Application Styles
   ========================================================================== */

/* ==========================================================================
   Variables & Reset
   ========================================================================== */

:root {
  /* Colors - Primary */
  --color-primary: #B33D3F;
  --color-primary-hover: #9A3335;
  --color-primary-light: #fdeaea;

  /* Colors - Text */
  --color-text: #333;
  --color-text-dark: #111;
  --color-text-muted: #666;
  --color-text-light: #888;
  --color-text-placeholder: #999;

  /* Colors - Backgrounds */
  --color-bg: #f5f5f5;
  --color-bg-white: #ffffff;
  --color-bg-hover: #f9f9f9;

  /* Colors - Borders */
  --color-border: #e5e5e5;
  --color-border-light: #f0f0f0;
  --color-border-input: #e0e0e0;

  /* Colors - Status */
  --color-success: #065f46;
  --color-success-bg: #ecfdf5;
  --color-success-border: #a7f3d0;
  --color-error: #991b1b;
  --color-error-bg: #fef2f2;
  --color-error-border: #fecaca;
  --color-warning: #92400e;
  --color-warning-bg: #fffbeb;
  --color-warning-border: #fde68a;
  --color-info: #1e40af;
  --color-info-bg: #eff6ff;
  --color-info-border: #bfdbfe;

  /* Typography */
  --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-md: 1.0625rem;    /* 17px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 1.75rem;     /* 28px */
  --font-size-4xl: 2rem;        /* 32px */
  --line-height: 1.6;

  /* Spacing */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.12);
  --shadow-focus: 0 0 0 3px rgba(179, 61, 63, 0.15);

  /* Layout */
  --container-max: 1100px;
  --container-padding: 1.5rem;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Focus ring styling for accessibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Remove default focus for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  min-height: 100vh;
  color: var(--color-text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}


/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

main.container {
  flex-grow: 1;
}

/* Centered layout (for auth pages) */
.layout-centered {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.layout-centered .main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 0;
  min-height: 64px; /* Consistent header height across all pages */
}

.header-inner > :last-child {
  justify-self: end;
}

/* Header - Centered variant (for 404, minimal pages) */
.header--centered .header-inner {
  justify-content: center;
}

/* Header - Auth variant (no container wrapper) */
.header--auth .header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem; /* Same padding as .container */
}

/* Logo */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.logo-text span {
  color: var(--color-primary);
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

/* Header link (for auth pages - "Back to...") */
.header-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 1rem;
}

.header-link:hover {
  color: var(--color-primary);
}

/* User Actions (Login/Signup buttons) */
.user-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* User Menu (logged-in state) */
.user-menu {
  position: relative;
}

.user-menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.user-menu-toggle:hover {
  background: var(--color-bg-hover);
}

.user-menu-toggle .dropdown-arrow {
  color: var(--color-text-muted);
  transition: transform var(--transition-fast);
}

.user-menu:focus-within .user-menu-toggle .dropdown-arrow {
  transform: rotate(180deg);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 200;
}

.user-menu:focus-within .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-header {
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
}

.user-dropdown-item {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  text-decoration: none;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.user-dropdown-item:hover {
  background: var(--color-bg-hover);
  color: var(--color-text);
}

.user-dropdown-item--danger:hover {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.user-dropdown form {
  margin: 0;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: 0.2s;
}

.mobile-nav {
  display: none;
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.0625rem;
}

.mobile-nav a:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #1a1a1a;
  padding: 2rem 0;
  margin-top: auto; /* Push to bottom on short pages */
}

.footer--simple {
  padding: 1.5rem 1.5rem;
  text-align: center;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-size: 0.9375rem;
  color: #999;
}

.footer-brand a {
  color: #ccc;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-brand a:hover {
  color: white;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer--simple .footer-links {
  justify-content: center;
}

.footer-links a {
  font-size: 0.9375rem;
  color: #999;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* Consistent button height */
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
}

.btn-ghost:hover {
  color: var(--color-text);
}

.btn-outline {
  background: var(--color-bg-white);
  color: var(--color-text-muted);
  border: 1px solid #e0e0e0;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-danger {
  background: var(--color-error);
  color: white;
}

.btn-danger:hover {
  background: #7f1d1d;
}

.btn-large {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
  height: 48px; /* Taller variant */
}

.btn-small {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  height: 32px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  background: var(--color-bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(179, 61, 63, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
}

.form-group .help-text {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 0.375rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: #555;
  cursor: pointer;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 0.125rem;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* Toggle Switch */
.toggle {
  position: relative;
  width: 48px;
  height: 28px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e0e0e0;
  transition: 0.2s;
  border-radius: 28px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}

.toggle input:checked + .toggle-slider {
  background-color: var(--color-primary);
}

.toggle input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* ==========================================================================
   Flash Messages
   ========================================================================== */

.flash {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.flash-success {
  background: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  color: var(--color-success);
}

.flash-error {
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  color: var(--color-error);
}

.flash-warning {
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  color: var(--color-warning);
}

.flash-info {
  background: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  color: var(--color-info);
}

.flash a {
  color: inherit;
  font-weight: 500;
}

/* ==========================================================================
   Form Errors (Rails-style)
   ========================================================================== */

.form-errors {
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
}

.form-errors h4 {
  color: var(--color-error);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.form-errors ul {
  margin: 0;
  padding-left: var(--space-5);
  color: #b91c1c;
  font-size: var(--font-size-sm);
}

.form-errors li {
  margin-bottom: 0.25rem;
}

.form-errors li:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--color-bg-white);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.card-body {
  padding: 1.5rem;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.card-header h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.card-header p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

/* Content Card (for about, contact pages) */
.content-card {
  background: var(--color-bg-white);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 2.5rem;
}

.content-card h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.content-card .subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* Auth Card (for login, signup, forgot-password) */
.auth-card {
  background: var(--color-bg-white);
  border-radius: 8px;
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  width: 100%;
  max-width: 420px;
}

.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-card .subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Tags
   ========================================================================== */

.tag {
  padding: 0.25rem 0.625rem;
  border-radius: 3px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #fdeaea;
  color: var(--color-primary);
  display: inline-block;
}

/* Tag color variations by category */
.tag--blue,
.tag--green,
.tag--purple,
.tag--orange,
.tag--teal,
.tag--rose,
.tag--amber,
.tag--slate,
.tag--indigo,
.tag--cyan {
  padding: 0.25rem 0.625rem;
  border-radius: 3px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-block;
}

/* Blue - Technology, Computing */
.tag--blue {
  background: #eff6ff;
  color: #1e40af;
}

/* Purple - AI, Data Science */
.tag--purple {
  background: #f5f3ff;
  color: #6d28d9;
}

/* Green - Life Sciences, Environment */
.tag--green {
  background: #ecfdf5;
  color: #047857;
}

/* Teal - Medicine, Health, Chemistry */
.tag--teal {
  background: #f0fdfa;
  color: #0f766e;
}

/* Orange - Engineering, Energy */
.tag--orange {
  background: #fff7ed;
  color: #c2410c;
}

/* Rose - Arts, Humanities, Social Sciences */
.tag--rose {
  background: #fff1f2;
  color: #be123c;
}

/* Amber - Business, Economics */
.tag--amber {
  background: #fffbeb;
  color: #b45309;
}

/* Slate - General, Interdisciplinary */
.tag--slate {
  background: #f8fafc;
  color: #475569;
}

/* Indigo - Mathematics, Physics */
.tag--indigo {
  background: #eef2ff;
  color: #4338ca;
}

/* Cyan - Ocean, Atmosphere */
.tag--cyan {
  background: #ecfeff;
  color: #0e7490;
}

/* Topic color dots for sidebar lists */
.topic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.topic-dot--blue { background: #1e40af; }
.topic-dot--purple { background: #6d28d9; }
.topic-dot--green { background: #047857; }
.topic-dot--teal { background: #0f766e; }
.topic-dot--orange { background: #c2410c; }
.topic-dot--rose { background: #be123c; }
.topic-dot--amber { background: #b45309; }
.topic-dot--slate { background: #475569; }
.topic-dot--indigo { background: #4338ca; }
.topic-dot--cyan { background: #0e7490; }

.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}

.page-header--large {
  padding: 2.5rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.page-header p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.page-header--large h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-header--large p {
  font-size: 1.125rem;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar-card {
  background: var(--color-bg-white);
  border-radius: 4px;
  padding: 1rem;
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

.sidebar-card:last-child {
  margin-bottom: 0;
}

.sidebar-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

/* Sidebar Navigation */
.sidebar-nav {
  background: var(--color-bg-white);
  border-radius: 6px;
  border: 1px solid var(--color-border);
  padding: 0.5rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: #555;
  text-decoration: none;
  font-size: 0.9375rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.sidebar-nav a:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

.sidebar-nav a.active {
  background: #fdeaea;
  color: var(--color-primary);
  font-weight: 500;
}

/* Sidebar List Hover States */
.sidebar-card li {
  transition: background var(--transition-fast);
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
  border-radius: 4px;
}

.sidebar-card li:hover {
  background: var(--color-bg);
}

/* ==========================================================================
   Lists
   ========================================================================== */

.list-plain {
  list-style: none;
}

.list-plain li a {
  display: block;
  padding: 0.5rem 0;
  text-decoration: none;
  color: #555;
  font-size: 1rem;
  border-bottom: 1px solid var(--color-border-light);
}

.list-plain li:last-child a {
  border-bottom: none;
}

.list-plain li a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Dividers
   ========================================================================== */

.divider {
  display: flex;
  align-items: center;
  margin: 1.75rem 0;
  color: #999;
  font-size: 0.875rem;
}

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

.divider span {
  padding: 0 1rem;
}

/* ==========================================================================
   Links
   ========================================================================== */

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.link-muted {
  color: var(--color-text-muted);
}

.link-muted:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center {
  text-align: center;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ==========================================================================
   Empty States
   ========================================================================== */

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: #d0d0d0;
}

.empty-state-icon svg {
  width: 100%;
  height: 100%;
}

.empty-state h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.empty-state .btn {
  margin-top: 0.5rem;
}

/* ==========================================================================
   Expandable List Toggle
   ========================================================================== */

.expand-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
}

.expand-toggle:hover {
  color: var(--color-primary);
}

.expand-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 800px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-nav.open {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .auth-card,
  .content-card {
    padding: 1.75rem;
  }
}
No