:root {
  --bg-main: #0b0f19;
  --bg-card: #151c2c;
  --bg-card-hover: #1c253b;
  --bg-subtle: #1e293b;
  --border-color: #2e384d;
  --border-light: #3d4a66;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --color-primary: #3b82f6;
  --color-primary-hover: #2563eb;
  --color-success: #10b981;
  --color-success-bg: rgba(16, 185, 129, 0.15);
  --color-danger: #ef4444;
  --color-danger-bg: rgba(239, 68, 68, 0.15);
  --color-warning: #f59e0b;
  --color-info: #06b6d4;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
  padding: 1.5rem 1rem;
}

/* Header */
.app-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.badge-anki {
  background: #3b82f6;
  color: white;
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* SRS Counters */
.srs-counters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.counter-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-due {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.badge-due .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  animation: pulse 2s infinite;
}

.badge-learning {
  background: var(--color-danger-bg);
  color: #f87171;
}

.badge-new {
  background: rgba(147, 51, 234, 0.15);
  color: #c084fc;
}

.badge-done {
  background: var(--color-success-bg);
  color: #34d399;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Nav Tabs */
.nav-tabs {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 0.25rem;
  border: 1px solid var(--border-color);
}

.nav-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.nav-tab:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.nav-tab.active {
  background: var(--color-primary);
  color: white;
}

/* Autostart Toggle Switch */
.autostart-toggle-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
}

.switch-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.switch-label input {
  display: none;
}

.switch-slider {
  position: relative;
  width: 34px;
  height: 18px;
  background-color: var(--border-color);
  border-radius: 20px;
  transition: 0.2s ease;
}

.switch-slider::before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: #cbd5e1;
  border-radius: 50%;
  transition: 0.2s ease;
}

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

.switch-label input:checked + .switch-slider::before {
  transform: translateX(16px);
  background-color: white;
}

.switch-label input:checked ~ .switch-text {
  color: var(--text-main);
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tab-pane {
  display: none;
  flex: 1;
  flex-direction: column;
}

.tab-pane.active {
  display: flex;
}

/* Study Toolbar */
.study-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mode-select-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mode-select-wrap select {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-export-anki {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-export-anki:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-1px);
}

.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-icon:hover {
  color: var(--text-main);
  border-color: var(--border-light);
  background: var(--bg-subtle);
}

/* Flashcard Container */
.flashcard-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.card-inner {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  height: 100%;
  flex: 1;
}

/* Overlays */
.state-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--bg-card);
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.completed-icon {
  font-size: 3.5rem;
}

.empty-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Meta Top */
.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.source-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-app {
  background: #1e293b;
  color: #94a3b8;
  border: 1px solid var(--border-color);
}

.badge-cefr {
  background: #312e81;
  color: #a5b4fc;
}

.badge-pos {
  background: #064e3b;
  color: #6ee7b7;
}

.badge-state {
  background: #1e293b;
  color: #cbd5e1;
}

/* Card Front */
.card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

.word-pronounce-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.target-word {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.btn-audio {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-audio:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.05);
}

.card-ipa {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.card-context-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  max-width: 680px;
  width: 100%;
  margin-bottom: 0.75rem;
}

.context-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.context-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.context-text u {
  text-decoration: none;
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-weight: 700;
  border-bottom: 2px solid var(--color-primary);
}

.window-title-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 680px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Screenshot Hint */
.screenshot-hint-row {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 1rem;
}

.btn-hint {
  background: transparent;
  border: 1px dashed var(--border-color);
  color: var(--text-dim);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.screenshot-container {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.screenshot-container img {
  width: 100%;
  display: block;
}

/* Reveal Section */
.reveal-section {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: 1rem;
}

.btn-reveal {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border: none;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: all 0.15s ease;
}

.btn-reveal:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.key-hint {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

/* Card Back (Answer) */
.card-divider {
  border: none;
  border-top: 1px dashed var(--border-color);
  margin: 1.5rem 0;
}

.answer-section {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.translation-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.translation-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
}

.translation-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #34d399;
}

.meta-row, .definition-row, .context-trans-row, .synonyms-row {
  font-size: 0.95rem;
  line-height: 1.5;
}

.meta-label {
  color: var(--text-dim);
  font-weight: 500;
  margin-right: 0.4rem;
}

.meta-val, .synonyms-text {
  color: var(--text-muted);
  font-weight: 500;
}

.definition-text {
  color: #cbd5e1;
  margin-top: 0.2rem;
}

.context-trans-text {
  color: #94a3b8;
  font-style: italic;
  margin-top: 0.2rem;
}

/* Anki Action Buttons */
.anki-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: auto;
}

.btn-anki {
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.btn-forget {
  background: #7f1d1d;
  color: #fecaca;
  border: 1px solid #b91c1c;
}

.btn-forget:hover {
  background: #991b1b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-remember {
  background: #064e3b;
  color: #a7f3d0;
  border: 1px solid #047857;
}

.btn-remember:hover {
  background: #065f46;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.anki-btn-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.anki-btn-interval {
  font-size: 0.85rem;
  opacity: 0.9;
}

.btn-key {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
}

/* Hotkeys Footer */
.hotkeys-guide {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.hotkey-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

kbd {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* TAB 2: Table Browser */
.browser-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-box {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  color: var(--text-dim);
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
}

.filter-controls {
  display: flex;
  gap: 0.5rem;
}

.filter-controls select {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
  font-size: 0.85rem;
}

.browser-stats-bar {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.cards-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.cards-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.cards-table th {
  background: var(--bg-subtle);
  padding: 0.75rem 1rem;
  color: var(--text-dim);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.cards-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.cards-table tr:hover td {
  background: var(--bg-card-hover);
}

.tbl-word {
  font-weight: 600;
  color: var(--text-main);
}

.tbl-trans {
  color: #34d399;
}

.btn-tbl-action {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-dim);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
}

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

/* TAB 3: Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.color-new { color: #c084fc; }
.color-learning { color: #f87171; }
.color-review { color: #34d399; }
.color-due { color: #60a5fa; }
.color-retention { color: #fbbf24; }

.stats-apps-section h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.apps-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.app-stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-stat-name {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.app-stat-count {
  font-weight: 700;
  color: var(--color-primary);
}

/* Helper Utilities */
.hidden {
  display: none !important;
}

.btn {
  font-family: inherit;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
}

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

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

/* User / Lock Badge in Header */
.user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
}

.user-badge-label {
  color: #34d399;
  font-weight: 600;
}

.btn-logout {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-dim);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #f87171;
}

/* Auth Lock Modal Overlay */
.auth-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 15, 25, 0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card {
  background: #151c2c;
  border: 1px solid #2e384d;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.15);
  text-align: center;
  animation: authAppear 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authAppear {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin-bottom: 1rem;
}

.auth-icon {
  font-size: 26px;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.auth-subtitle {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.auth-input-wrap input {
  width: 100%;
  background: #0b0f19;
  border: 1px solid var(--border-color);
  padding: 0.85rem 2.8rem 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.auth-input-wrap input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.btn-eye {
  position: absolute;
  right: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.btn-eye:hover {
  opacity: 1;
}

.auth-remember-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  cursor: pointer;
  accent-color: var(--color-primary);
  width: 16px;
  height: 16px;
}

.auth-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.btn-auth-submit {
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  width: 100%;
}

