/* Hiker V2 - Modern Mobile-First CSS */

/* CSS Variables for consistent theming */
:root {
  /* Colors - Forest Light Theme (Default) */
  --primary: #3F4F44;      /* dusty medium green */
  --primary-dark: #2C3930;
  --primary-light: #5a6b5f;
  --secondary: #A27B5C;    /* warm earthy accent */
  --accent: #2C3930;       /* deep pine */

  /* Grays */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Status colors */
  --success: #3F4F44;      /* Forest green for success */
  --warning: #A27B5C;      /* Warm brown for warning */
  --error: #aa5330;        /* Reddish-brown for errors */
  --info: #3F4F44;         /* Forest green for info */

  /* Background - Forest Light */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f3f0;
  --bg-tertiary: #DCD7C9;

  /* Text - Forest Light */
  --text-primary: #2C3930;
  --text-secondary: #4b5563;
  --text-tertiary: #8D8A80;

  /* Borders */
  --border-color: var(--gray-200);
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Monaco, Consolas, monospace;

  /* Layout */
  --header-height: 64px;
  --bottom-nav-height: 60px;
  --container-max-width: 1200px;
  --content-padding: var(--space-4);

  /* Transitions */
  --transition: all 0.2s ease-in-out;
  --transition-fast: all 0.1s ease-in-out;
}

/*Google Fonts*/
.playball-regular {
  font-family: "Playball", cursive;
  font-weight: 400;
  font-style: normal;
}
.orbitron-title {
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: "Inter", system-ui;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 20px 7px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/* App container */
.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2);
  max-width: var(--container-max-width);
  margin: 0 auto;
  height: var(--header-height);
}

.header-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-logo-wrapper {
  flex-shrink: 0;
}

.header-logo {
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* Show white logo in light theme, black logo in dark theme */
.theme-forest-light .header-logo-light {
  opacity: 1;
}

.theme-forest-light .header-logo-dark {
  opacity: 0;
}

.theme-forest-deep .header-logo-light {
  opacity: 0;
}

.theme-forest-deep .header-logo-dark {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.template-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
  border-radius: 50px;
  padding: 3px 4px;
  gap: 12px;
  cursor: pointer;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 -1px 2px rgba(255, 255, 255, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-width: 140px;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.template-switcher:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 -1px 2px rgba(255, 255, 255, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.12);
}

.template-switcher:active {
  transform: translateY(0);
  box-shadow:
    inset 0 3px 5px rgba(0, 0, 0, 0.15),
    inset 0 -1px 1px rgba(255, 255, 255, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08);
}

.template-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  min-width: 60px;
  text-align: center;
  padding: 0px 10px;
  transition: opacity 0.2s ease;
}

.toggle-dot {
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, var(--primary), #2d5a3d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    inset 0 -2px 3px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.toggle-dot:hover {
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    inset 0 -2px 3px rgba(0, 0, 0, 0.2);
}

.toggle-dot svg {
  fill: #ffffff;
  transition: all 0.3s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.template-switcher.traveler .toggle-dot {
  order: -1;
}

/* Legacy classes kept for compatibility */
.template-btn {
  display: none;
}

.template-icon {
  display: none;
}

.template-label {
  display: none;
}

.toggle-slider {
  display: none;
}

/* Forest Deep Theme */
.theme-forest-deep .template-switcher {
  background: linear-gradient(145deg, var(--earth-2), var(--earth-1));
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 -1px 2px rgba(255, 255, 255, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-forest-deep .template-switcher:hover {
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 -1px 2px rgba(255, 255, 255, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-forest-deep .template-switcher:active {
  box-shadow:
    inset 0 3px 5px rgba(0, 0, 0, 0.4),
    inset 0 -1px 1px rgba(255, 255, 255, 0.03),
    0 1px 3px rgba(0, 0, 0, 0.2);
}

.theme-forest-deep .toggle-dot {
  background: linear-gradient(145deg, var(--earth-4), var(--earth-3));
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.1),
    inset 0 -2px 3px rgba(0, 0, 0, 0.3);
}

.theme-forest-deep .toggle-dot:hover {
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.1),
    inset 0 -2px 3px rgba(0, 0, 0, 0.3);
}

.theme-forest-deep .template-name {
  color: var(--text);
}

/* Forest Light Theme */
.theme-forest-light .template-switcher {
  background: linear-gradient(145deg, #f5f5f5, #e8e8e8);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.08),
    inset 0 -1px 2px rgba(255, 255, 255, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.theme-forest-light .template-switcher:hover {
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.08),
    inset 0 -1px 2px rgba(255, 255, 255, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-forest-light .template-switcher:active {
  box-shadow:
    inset 0 3px 5px rgba(0, 0, 0, 0.12),
    inset 0 -1px 1px rgba(255, 255, 255, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

.theme-forest-light .toggle-dot {
  background: linear-gradient(145deg, #8A8A8A, #303e35);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -2px 3px rgba(0, 0, 0, 0.15);
}

.theme-forest-light .toggle-dot:hover {
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -2px 3px rgba(0, 0, 0, 0.15);
}

.theme-forest-light .template-name {
  color: var(--text-strong);
}

/* Main content */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--bottom-nav-height);
}

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

/* Page sections */
.page {
  display: none;
  flex: 1;
  padding: var(--space-4) 0;
}

.page.active {
  display: flex;
  flex-direction: column;
}

.page-header {
  margin-bottom: var(--space-6);
}

.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* Bottom navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  display: flex;
  height: var(--bottom-nav-height);
  z-index: 1000;
  box-shadow: 0 -2px 10px rgb(0 0 0 / 0.1);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: var(--space-2);
  border: none;
  background: none;
  cursor: pointer;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item:hover {
  color: var(--primary);
  background: var(--bg-secondary);
}

.nav-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-1);
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px; /* iOS minimum touch target */
  background: none;
  font-family: inherit;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

/* Focus-visible styles for keyboard navigation */
.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary:focus-visible {
  outline-color: var(--primary-light);
}

.btn-danger:focus-visible {
  outline-color: var(--error);
}

.stat-card:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(63, 79, 68, 0.1);
}

.template-btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.modal-close:focus-visible {
  outline: 3px solid var(--error);
  outline-offset: 2px;
}

.nav-item:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -2px;
}

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--gray-200);
}

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

.btn-outline:hover:not(:disabled) {
  background: var(--primary);
  color: white;
}

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

.btn-danger:hover:not(:disabled) {
  background: #dc2626;
  border-color: #dc2626;
}

.btn-sm {
  padding: var(--space-2) var(--space-3);
  font-size: 0.75rem;
  min-height: 36px;
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: 1rem;
  min-height: 52px;
}

.btn-full {
  width: 100%;
}

.btn-fab {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + var(--space-4));
  right: var(--space-4);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  z-index: 80;
  padding: 0;
}

.btn-group {
  display: flex;
  gap: var(--space-2);
}

.checklist-actions {
  display: flex;
  flex-direction: row;
  gap: var(--space-2);
  align-items: flex-end;
}

/* Collapsible checklist categories */
.checklist-category {
  margin-bottom: var(--space-4);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-primary);
}
.theme-forest-deep .checklist-category {
    margin-bottom: var(--space-4);
    border: 0px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--card-bg);
    box-shadow: var(--shadow);
}
.checklist-category-header {
  padding: var(--space-3);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.checklist-category-header:hover {
  background-color: var(--bg-secondary);
}

.checklist-category-header.active {
  border-bottom-color: var(--border-color);
}

.checklist-category-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 1.1rem;
}

.checklist-category-toggle {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.checklist-category-toggle.expanded {
  transform: rotate(90deg);
}

.checklist-category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 var(--space-3);
}

.checklist-category-content.expanded {
  max-height: 1000px;
  padding: var(--space-3);
}

.chevron {
  transition: transform 0.2s ease;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Checklist Header Actions */
.checklist-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Mobile hamburger menu */
.checklist-menu-mobile {
  position: relative;
  display: block;
}

/* Hide mobile menu on desktop */
@media (min-width: 768px) {
  .checklist-menu-mobile {
    display: none;
  }
}

/* Hide desktop actions on mobile */
@media (max-width: 767px) {
  .checklist-actions-desktop {
    display: none;
  }
}

.hamburger-btn {
  padding: var(--space-2);
  border-radius: var(--border-radius);
  font-size: 16px;
}

/* Dropdown menu */
.checklist-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 200px;
  margin-top: var(--space-1);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.checklist-dropdown.hidden {
  display: none;
}

.checklist-dropdown-content {
  padding: var(--space-2);
}

.checklist-menu-item {
  display: block;
  width: 100%;
  padding: var(--space-3);
  text-align: left;
  background: none;
  border: none;
  border-radius: var(--border-radius);
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.checklist-menu-item:hover {
  background: var(--bg-secondary);
}

.checklist-menu-item:active {
  background: var(--bg-tertiary);
}

/* Cards */
.card {
  background: var(--bg-primary);
  border: 0px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: visible;
  margin-bottom: var(--space-4);
  isolation: auto;
}

.card-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-color);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.card-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.stat-card .card-content {
  padding: var(--space-0);
}
.card-content {
  padding: var(--space-3);
}

.card-actions {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  display: flex;
  gap: var(--space-2);
  justify-content: flex-end;
}

.card-clickable {
  cursor: pointer;
  transition: var(--transition);
}

.card-clickable:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.form-label.required::after {
  content: '*';
  color: var(--error);
  margin-left: var(--space-1);
}

.form-input {
  padding: var(--space-3);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: var(--transition);
  min-height: 44px;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(63, 79, 68, 0.1);
}

.form-input::placeholder {
  color: var(--text-tertiary);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.form-error {
  color: var(--error);
  font-size: 0.75rem;
  margin-top: var(--space-1);
}

.form-help {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: var(--space-1);
}

/* Lists */
.list {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: visible;
}

.theme-forest-deep .list {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 0px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: visible;
    box-shadow: var(--shadow);
}

.list-item {
  display: flex;
  align-items: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  min-height: 60px;
}

.list-item:last-child {
  border-bottom: none;
}

.theme-forest-deep .list-item:hover {
  background: var(--earth-1);
}

.list-item-clickable {
  cursor: pointer;
}

.list-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.list-item-title {
  font-weight: 500;
  color: var(--text-primary);
}

.list-item-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.list-item-meta {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.list-item-icon {
  margin-right: var(--space-3);
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.list-item-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: var(--space-3);
  position: relative;
  z-index: 100;
}

/* Empty states */
.empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-4);
  color: var(--text-secondary);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.empty-state-description {
  margin-bottom: var(--space-6);
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: var(--space-6) var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.modal-body {
  padding: var(--space-6);
  max-height: 60vh;
  overflow-y: auto;
}

.modal-footer {
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

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

.badge-secondary {
  background: var(--gray-200);
  color: var(--gray-800);
}

.badge-success {
  background: var(--success);
  color: white;
}

.badge-warning {
  background: var(--warning);
  color: white;
}

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

/* Loading states */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s ease-in-out infinite;
}

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

.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--border-radius-sm);
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Utility classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

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

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

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

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

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

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

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

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

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

/* Responsive design */
@media (min-width: 768px) {
  :root {
    --content-padding: var(--space-6);
  }

  .page-title {
    font-size: 2.25rem;
  }

  .btn-fab {
    bottom: var(--space-6);
    right: var(--space-6);
  }

  .bottom-nav {
    display: none;
  }

  .main {
    padding-bottom: 0;
  }

  .header-content {
    padding: var(--space-4) var(--space-6);
  }

  .modal {
    padding: var(--space-8);
  }
}

@media (min-width: 1024px) {
  :root {
    --content-padding: var(--space-8);
  }
}

/* Safe area insets for devices with notches */
@supports (padding: max(0px)) {
  .header {
    padding-top: max(0px, env(safe-area-inset-top));
  }

  .bottom-nav {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
    height: calc(var(--bottom-nav-height) + max(0px, env(safe-area-inset-bottom)));
  }

  .main {
    padding-bottom: calc(var(--bottom-nav-height) + max(0px, env(safe-area-inset-bottom)));
  }
}

/* Print styles */
@media print {
  .header,
  .bottom-nav,
  .btn-fab {
    display: none !important;
  }

  .main {
    padding-bottom: 0;
  }

  .card {
    break-inside: avoid;
  }
}

/* GPX and Map Styles */
.theme-forest-deep .stat-card {
  text-align: center;
  background: var(--earth-1);
  color: var(--earth-4);
  padding: 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.theme-forest-deep .stat-card div {
  color: var(--earth-4) !important;
}

.theme-forest-deep .stat-card:hover {
  background: var(--earth-1);
  opacity: 0.9;
  box-shadow: var(--shadow-sm);
}

.theme-forest-deep .stat-card.active {
  background: var(--earth-4);
  color: var(--earth-1);
  box-shadow: var(--shadow-md);
}

.theme-forest-deep .stat-card.active div {
  color: var(--earth-1) !important;
}

.theme-forest-deep .stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.theme-forest-deep .stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gpx-marker {
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.error-message {
  text-align: center;
  color: var(--error);
  padding: var(--space-4);
  font-style: italic;
}

/* Destination gradient overlay */
.destination-gradient {
  background: linear-gradient(to right,
    rgba(63, 79, 68, 0.95) 0%,    /* Forest green overlay */
    rgba(63, 79, 68, 0.85) 50%,
    rgba(63, 79, 68, 0.4) 100%
  );
}

/* Info Cards - Beautiful gradient cards for trip overview */
.info-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* Collapsible sections */
.collapsible {
  max-height: 2000px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 1;
}

.collapsible.collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Login Page */
.login-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--space-4);
}

.login-page.hidden {
  display: none;
}

.login-container {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.login-header {
  text-align: center;
  margin-bottom: var(--space-4);
}

#login-logo {
  flex-shrink: 0;
  object-fit: contain;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.login-footer {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-color);
}

.btn-block {
  width: 100%;
}

/* Loading state in buttons */
.btn .loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Responsive Styles */
@media (max-width: 400px) {
  .header-title,
  .page-title {
    font-size: 1rem;
  }

  .header-logo-wrapper {
    width: 40px !important;
    height: 40px !important;
    margin-right: 8px !important;
  }

  .login-container {
    padding: var(--space-4);
  }

  #login-logo {
    width: 140px !important;
    height: 140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .login-header h1 {
    font-size: 2rem !important;
  }
}

/* Spin animation for sync indicator */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Trip Overview Masonry Layout */
.trip-overview-masonry {
  column-count: 4;
  column-gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.trip-overview-masonry .info-card {
  break-inside: avoid;
  margin-bottom: var(--space-3);
  display: inline-block;
  width: 100%;
}

/* Responsive masonry columns */
@media (max-width: 768px) {
  .trip-overview-masonry {
    column-count: 2;
  }
}

@media (max-width: 360px) {
  .trip-overview-masonry {
    column-count: 1;
  }
}

/* Responsive header for narrow screens */
@media (max-width: 360px) {
  .header-content {
    padding: var(--space-2) var(--space-3);
  }

  .header-actions {
    gap: var(--space-2);
  }

  .template-switcher {
    padding: 3px;
  }

  .template-btn {
    padding: 6px 12px;
    min-width: 60px;
    font-size: 0.8rem;
  }

  .template-label {
    display: none;
  }

  .template-icon {
    font-size: 1.1rem;
  }
}

/* =============================================================================
   THEME SYSTEM - Forest Deep & Forest Light
   ============================================================================= */

/* -----------------------------------------------------
   Forest Deep Theme (Dark Mode)
   Earthy, warm, dark-sage aesthetic
----------------------------------------------------- */

.theme-forest-deep {
  /* Forest Deep color palette */
  --earth-1: #3F4F44;   /* dark sage */
  --earth-2: #2C3930;   /* deep forest green */
  --earth-3: #A27B5C;   /* warm wood accent */
  --earth-4: #DCD7C9;   /* soft beige highlight */

  /* Override root variables for inline styles */
  --primary: var(--earth-1);       /* Dark sage */
  --primary-dark: var(--earth-2);
  --primary-light: #5a6b5f;
  --secondary: var(--earth-4);     /* Light beige, not warm accent */
  --accent: var(--earth-4);

  --bg: var(--earth-2);
  --bg-primary: var(--earth-2);
  --bg-secondary: var(--earth-1);
  --bg-tertiary: #2a3d34;

  --card-bg: #3F4F4466;

  --text: #DCD7C9;
  --text-primary: var(--earth-4);
  --text-secondary: var(--earth-4);
  --text-tertiary: #b8b3a9;
  --text-strong: var(--earth-4);

  --border-color: var(--earth-1);
  --shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ---------- Global ---------- */

.theme-forest-deep body {
    background: var(--bg);
    color: var(--text);
}

/* ---------- Text ---------- */

.theme-forest-deep p,
.theme-forest-deep span,
.theme-forest-deep li,
.theme-forest-deep label,
.theme-forest-deep small {
  color: var(--text);
}

.theme-forest-deep h1,
.theme-forest-deep h2,
.theme-forest-deep h3,
.theme-forest-deep h4,
.theme-forest-deep h5,
.theme-forest-deep h6 {
  color: var(--text-strong);
}

/* ---------- Cards / Panels ---------- */

.theme-forest-deep .card,
.theme-forest-deep .panel,
.theme-forest-deep .box,
.theme-forest-deep .widget {
  background: var(--card-bg);
  color: var(--text);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.theme-forest-deep .card-title,
.theme-forest-deep .card-subtitle,
.theme-forest-deep .list-item-title,
.theme-forest-deep .list-item-subtitle,
.theme-forest-deep .list-item-meta,
.theme-forest-deep .page-subtitle,
.theme-forest-deep .text-secondary,
.theme-forest-deep .text-muted,
.theme-forest-deep .text-primary {
  color: var(--text);
}

.theme-forest-deep .list-item-clickable .list-item-title {
  color: var(--earth-4) !important;
}

/* Info cards (trip cards with images, flight details, etc.) */
.theme-forest-deep .info-card {
  background: var(--card-bg) !important;
  color: var(--text) !important;
}

.theme-forest-deep .info-card::before {
  background: linear-gradient(135deg, rgba(220, 215, 201, 0.05) 0%, rgba(220, 215, 201, 0) 100%) !important;
}

.theme-forest-deep .info-card * {
  color: var(--text) !important;
}

.theme-forest-deep .info-card button,
.theme-forest-deep .info-card .btn {
  color: var(--text) !important;
  border-color: var(--text) !important;
}

/* Badges */
.theme-forest-deep .badge-secondary {
  background: var(--earth-1);
  color: var(--text);
}

/* Destination gradient overlay */
.theme-forest-deep .destination-gradient {
  background: linear-gradient(to right,
    rgba(44, 57, 48, 0.95) 0%,    /* Dark forest green overlay */
    rgba(44, 57, 48, 0.85) 50%,
    rgba(44, 57, 48, 0.4) 100%
  ) !important;
}

/* ---------- Buttons ---------- */

.theme-forest-deep .btn-primary {
  background: var(--earth-4);  /* Light beige, not wood accent */
  color: var(--earth-2);       /* Dark forest green text */
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.theme-forest-deep .btn-primary span,
.theme-forest-deep .btn-primary .btn-text {
  color: var(--earth-2) !important;
}

.theme-forest-deep .btn-primary:hover {
  background: #ccc5b8;  /* Slightly darker beige */
}

.theme-forest-deep .btn-secondary {
  background: var(--earth-1);
  color: var(--text);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
}

.theme-forest-deep .btn-secondary:hover {
  background: #344339;
}

.theme-forest-deep .btn-outline {
  color: var(--earth-4);        /* Light beige text */
  #border-color: var(--earth-4); /* Light beige border */
}

.theme-forest-deep .btn-outline:hover {
  background: var(--earth-4);
  color: var(--earth-2);
}

/* ---------- Inputs ---------- */

.theme-forest-deep input,
.theme-forest-deep select,
.theme-forest-deep textarea {
  background: var(--card-bg);
  color: var(--text);
  border: 0px solid var(--earth-4);
  border-radius: 6px;
  padding: 0.5rem;
}

.theme-forest-deep input::placeholder {
  color: #dcd7c980;
}

/* ---------- Header / Navbar ---------- */

.theme-forest-deep header,
.theme-forest-deep nav {
  background: var(--earth-4);
  color: var(--earth-2);
  padding: 4px 4px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.theme-forest-deep header .header-title,
.theme-forest-deep header .header-title span,
.theme-forest-deep header h1,
.theme-forest-deep header h1 span {
  color: var(--earth-2) !important;
}

.theme-forest-deep header svg {
  fill: var(--earth-2) !important;
}

.theme-forest-deep header svg path {
  stroke: none !important;
}

/* ---------- Footer ---------- */

.theme-forest-deep footer {
  background: var(--earth-2);
  color: var(--text);
  border-top: 1px solid var(--earth-1);
  padding: 1rem;
}

/* ---------- Bottom Nav ---------- */

.theme-forest-deep .bottom-nav {
  border-radius: 10px 10px 0;
  background: var(--earth-4);
  border-top: 1px solid var(--earth-1);
}

.theme-forest-deep .nav-item {
  color: #5a6b5f;
}

.theme-forest-deep .nav-item:hover {
  background: var(--earth-1);
}

.theme-forest-deep .nav-item:hover .nav-label {
  color: var(--earth-4);
}

.theme-forest-deep .nav-item.active {
  color: var(--earth-2);
}

.theme-forest-deep .nav-label {
  opacity: 1;
  visibility: visible;
}

/* ---------- Links ---------- */

.theme-forest-deep a {
  color: var(--earth-4);
}

.theme-forest-deep a:hover {
  color: var(--earth-3);
}

/* ---------- Dividers ---------- */

.theme-forest-deep hr,
.theme-forest-deep .divider {
  border-color: var(--earth-1);
}

/* ---------- Modals ---------- */

.theme-forest-deep .modal {
  background: var(--card-bg);
  color: var(--text);
  box-shadow: var(--shadow);
  padding: 1rem;
  border-radius: 8px;
}

.theme-forest-deep .overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* -----------------------------------------------------
   Forest Light Theme (Light Mode)
   Natural, soft, earthy light-mode companion to Forest Deep
----------------------------------------------------- */

.theme-forest-light {
  --primary: #3F4F44;      /* dusty medium green */
  --secondary: #A27B5C;    /* warm earthy accent */
  --accent: #2C3930;       /* deep pine for links/buttons */
  --muted: #8D8A80;        /* soft muted text */

  --bg: #DCD7C9;           /* light forest mist background */
  --card-bg: #ffffff;      /* white card / panel */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.10);

  --text-color: #2C3930;   /* main text */
  --text-strong: #3F4F44;  /* headings */
}

/* ---------- Global ---------- */

.theme-forest-light body {
  background: var(--bg);
  color: var(--text-color);
  font-family: Arial, sans-serif;
}

/* ---------- Text ---------- */

.theme-forest-light p,
.theme-forest-light span,
.theme-forest-light li,
.theme-forest-light label,
.theme-forest-light small {
  color: var(--text-color);
}

.theme-forest-light h1,
.theme-forest-light h2,
.theme-forest-light h3,
.theme-forest-light h4,
.theme-forest-light h5,
.theme-forest-light h6 {
  color: var(--text-strong);
}

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

/* ---------- Cards / Panels ---------- */

.theme-forest-light .card,
.theme-forest-light .panel,
.theme-forest-light .box,
.theme-forest-light .widget {
  background: var(--card-bg);
  color: var(--text-color);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */

.theme-forest-light .btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.theme-forest-light .btn-primary span,
.theme-forest-light .btn-primary .btn-text {
  color: #ffffff !important;
}

.theme-forest-light .btn-primary:hover {
  background: #324236;
}

.theme-forest-light .btn-secondary {
  background: var(--secondary);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
}

.theme-forest-light .btn-secondary:hover {
  background: #8f6c50;
}

/* ---------- Inputs ---------- */

.theme-forest-light input,
.theme-forest-light select,
.theme-forest-light textarea {
  background: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 0.5rem;
}

.theme-forest-light input::placeholder,
.theme-forest-light textarea::placeholder {
  color: var(--muted);
}

/* ---------- Navigation / Header ---------- */

.theme-forest-light header,
.theme-forest-light nav {
  background: var(--primary);
  color: #ffffff;
  padding: 4px 4px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.theme-forest-light header .header-title,
.theme-forest-light header .header-title span,
.theme-forest-light header h1,
.theme-forest-light header h1 span {
  color: var(--bg-primary) !important;
}

/* ---------- Footer ---------- */

.theme-forest-light footer {
  background: var(--primary);
  color: #ffffff;
  padding: 1rem;
}

.theme-forest-light footer,
.theme-forest-light footer span,
.theme-forest-light footer p,
.theme-forest-light footer div {
  color: var(--bg-primary) !important;
}

/* ---------- Bottom Nav ---------- */

.theme-forest-light .bottom-nav {
  border-radius: 10px 10px 0;
  background: var(--primary);
  border-top: 1px solid var(--primary-dark);
}

.theme-forest-light .nav-item {
  color: var(--bg-primary);
}

.theme-forest-light .nav-item:hover {
  background: var(--bg-primary);
}

.theme-forest-light .nav-item:hover .nav-label,
.theme-forest-light .nav-item:hover .nav-icon {
  color: var(--primary);
}

.theme-forest-light .nav-item.active {
  color: var(--bg-primary);
  font-weight: 600;
}

.theme-forest-light .nav-label {
  color: var(--bg-primary);
  opacity: 1;
  visibility: visible;
}

/* ---------- Booking Tabs ---------- */

.theme-forest-light .booking-tab-btn.active {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

/* ---------- Badges ---------- */

.theme-forest-light .badge,
.theme-forest-light .badge-primary,
.theme-forest-light .badge-success,
.theme-forest-light .badge-warning,
.theme-forest-light .badge-error {
  color: #ffffff !important;
}

.theme-forest-light .badge-secondary {
  background: var(--primary);
  color: #ffffff !important;
}

/* ---------- Stat Cards ---------- */

.theme-forest-light .stat-card {
  text-align: center;
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.theme-forest-light .stat-card div {
  color: var(--text-primary) !important;
}

.theme-forest-light .stat-card:hover {
  background: var(--bg-tertiary);
  opacity: 0.9;
}

.theme-forest-light .stat-card.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.theme-forest-light .stat-card.active div {
  color: #ffffff !important;
}

/* ---------- Links ---------- */

.theme-forest-light a {
  color: var(--accent);
}

.theme-forest-light a:hover {
  color: var(--secondary);
}

/* ---------- Dividers ---------- */

.theme-forest-light hr,
.theme-forest-light .divider {
  border-color: var(--muted);
}

/* ---------- Modals ---------- */

.theme-forest-light .modal {
  background: var(--card-bg);
  color: var(--text-color);
  box-shadow: var(--shadow);
  padding: 1rem;
  border-radius: 8px;
}

.theme-forest-light .overlay {
  background: rgba(0, 0, 0, 0.25);
}

/* ---------- Dropdown Menu ---------- */

.dropdown {
  position: relative;
  display: inline-block;
  z-index: 1000;
}

.dropdown-toggle {
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.dropdown-toggle:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

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

.dropdown-menu-item {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-menu-item:last-child {
  border-bottom: none;
}

.dropdown-menu-item:hover {
  background: var(--bg-secondary);
}

.dropdown-menu-item.danger {
  color: var(--error);
}

.dropdown-menu-item.danger:hover {
  background: rgba(170, 83, 48, 0.1);
}

/* ---------- Icon-Only Button ---------- */

.btn-icon-only {
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon-only:hover {
  color: var(--error);
  background: rgba(170, 83, 48, 0.1);
}
