/* ================================================
   TravelTips - Main Stylesheet
   大象导旅行管家 - 主样式表
   与详情页detail-v3.css保持一致
   ================================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* 与详情页一致的品牌色 */
  --primary: #2d7d6f;
  --primary-dark: #1a5c52;
  --primary-light: #3d9d8f;
  
  /* 兼容旧变量名 */
  --color-primary: #2d7d6f;
  --color-primary-dark: #1a5c52;
  --color-secondary: #64748b;

  /* 分类颜色 */
  --color-beach: #0ea5e9;
  --color-mountain: #22c55e;
  --color-ancient: #f59e0b;
  --color-urban: #8b5cf6;
  --color-religious: #ec4899;
  --color-snow: #06b6d4;
  --color-grassland: #84cc16;
  --color-desert: #f97316;

  /* 中性色 */
  --color-bg: #f8fafc;
  --color-bg-card: #ffffff;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;

  /* 间距 */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* 圆角 */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

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

  /* 动画 */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

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

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-md);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 960px;
}

/* ---------- Header ---------- */
.header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.header-logo {
  height: 48px;
  width: auto;
  display: block;
  margin: 0 auto 12px;
}

.header-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.header-subtitle {
  font-size: 1rem;
  opacity: 0.9;
}

/* ---------- Site Header (首页顶部导航) ---------- */
.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
}

.header-logo {
  height: 32px;
  width: auto;
}

.header-logo-text {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.logo-icon {
  font-size: 24px;
}

.logo-text {
  font-size: 16px;
  font-weight: 600;
}

.header-divider {
  color: rgba(255,255,255,0.5);
}

.header-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.header-nav {
  display: flex;
  gap: 20px;
}

.header-nav a {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: white;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 400px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(45,125,111,0.4);
  letter-spacing: 2px;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* ---------- Section Category ---------- */
.section-category {
  padding: 40px 20px;
  background: var(--color-bg);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
  color: var(--color-text);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.category-card {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.2s;
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45,125,111,0.15);
}

.category-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}

.category-name {
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.category-count {
  font-size: 12px;
  color: var(--color-text-light);
}

/* ---------- Section Featured ---------- */
.section-featured {
  padding: 40px 20px;
  background: white;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-more {
  text-align: center;
  margin-top: 32px;
}

/* ---------- Dest Card ---------- */
.dest-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.2s;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.dest-card-cover {
  position: relative;
  height: 140px;
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
}

.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.dest-card-season {
  background: rgba(255,255,255,0.95);
  color: var(--color-text);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.dest-card-content {
  padding: 16px;
}

.dest-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.dest-card-location {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.dest-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.dest-tag {
  background: rgba(45,125,111,0.1);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.dest-card-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .header-nav {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
  }
}

/* ---------- Navigation ---------- */
.nav-tabs {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  flex-shrink: 0;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

/* ---------- Category Section ---------- */
.category-section {
  margin-bottom: var(--space-2xl);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-border);
}

.category-icon {
  font-size: 2rem;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
}

/* ---------- Dest List Page ---------- */
.dest-section {
  margin-bottom: 40px;
}

.dest-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
}

.dest-section-title .dest-count {
  font-size: 13px;
  font-weight: normal;
  color: var(--color-text-light);
  margin-left: auto;
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .dest-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 列表页顶部标签栏 */
.list-nav-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: center;
  flex-wrap: wrap;
}

.list-nav-tabs::-webkit-scrollbar {
  display: none;
}

.list-nav-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s;
}

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

.category-desc {
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

/* ---------- Destination Grid ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.dest-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.dest-card-cover {
  position: relative;
  height: 160px;
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.dest-card-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

.dest-card-content {
  padding: var(--space-lg);
}

.dest-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.dest-card-location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.dest-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.dest-tag {
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.dest-tag.highlight {
  background: var(--color-primary);
  color: white;
}

/* ---------- Detail Page ---------- */
.detail-header {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  overflow: hidden;
}

.detail-header-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-2xl);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
}

.detail-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  font-size: 1rem;
  opacity: 0.9;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--color-border);
}

.tab-btn {
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

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

.tab-btn.active {
  color: var(--color-primary);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-content {
  display: none;
  padding: var(--space-lg) 0;
}

.tab-content.active {
  display: block;
}

/* ---------- Checklist ---------- */
.checklist {
  list-style: none;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

.checklist-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-size: 0.875rem;
}

.checklist-icon.warning {
  background: var(--color-ancient);
}

.checklist-icon.danger {
  background: #ef4444;
}

/* ---------- Info Cards ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.info-card {
  background: var(--color-bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.info-card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.info-card-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.info-card-value {
  font-size: 1.125rem;
  font-weight: 600;
}

/* ---------- Card Download Section ---------- */
.card-download-section {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 100;
}

.card-download-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
}

.card-download-btn:hover {
  background: var(--color-primary-dark);
  transform: scale(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #2d7d6f 0%, #1a5c52 100%);
  color: white;
  padding: 40px 20px;
  margin-top: 30px;
}

.site-footer .footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.site-footer .container {
  max-width: 900px;
  margin: 0 auto;
}

.footer {
  background: linear-gradient(180deg, #2d7d6f 0%, #1a5c52 100%);
  color: white;
  padding: var(--space-2xl) 0;
  margin-top: var(--space-2xl);
  text-align: center;
}

.footer-content {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* 首页底部品牌区域 */
.footer-brand {
  text-align: center;
  margin-bottom: 24px;
}

.footer-logo {
  height: 36px;
  width: auto;
  display: block;
  margin: 0 auto 8px;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
  opacity: 0.8;
  display: block;
}

.brand-nav-section {
  margin-bottom: 24px;
}

.brand-nav-title {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  color: white;
}

.brand-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.brand-nav-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.brand-nav-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.brand-nav-card .brand-name {
  font-size: 14px;
  font-weight: 500;
}

.footer-links-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links-row a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.site-footer .footer-copy {
  font-size: 12px;
  opacity: 0.7;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* 响应式 */
@media (max-width: 600px) {
  .brand-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-links-row {
    gap: 16px;
  }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-primary {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
}

.badge-success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-mountain);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-ancient);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* ---------- Search ---------- */
.search-box {
  position: relative;
  max-width: 400px;
  margin: 0 auto var(--space-xl);
}

.search-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  padding-left: 3rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.search-icon {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
}

/* ---------- Section Title ---------- */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.section-title h2 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--color-text-light);
}

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

.empty-state-text {
  font-size: 1.125rem;
}

/* ---------- Loading ---------- */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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