/* ----------------------------------------------------
   SALENTO 2026 DESIGN SYSTEM & GLASSMORPHISM
   ---------------------------------------------------- */
:root {
  --bg-color: #0b1329;
  --bg-card: rgba(23, 34, 62, 0.65);
  --bg-card-hover: rgba(30, 44, 80, 0.85);
  --border-color: rgba(255, 255, 255, 0.12);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  
  --primary-cyan: #38bdf8;
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-blue: #3b82f6;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

[data-theme="light"] {
  --bg-color: #f0f4f8;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --border-color: rgba(0, 0, 0, 0.08);
  --text-main: #0f172a;
  --text-muted: #475569;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Glowing Orbs */
.bg-gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: #0284c7;
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: #d97706;
  bottom: -150px;
  right: -150px;
}

/* Header */
.app-header {
  position: relative;
  z-index: 10;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 2rem;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.brand-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 8px 16px rgba(2, 132, 199, 0.4);
}

.brand h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand h1 span {
  color: var(--primary-cyan);
}

.subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary-cyan);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
}

.full-width {
  width: 100%;
}

/* Live Weather & Wind Widget */
.live-weather-wrapper {
  max-width: 1300px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.live-weather-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

[data-theme="light"] .live-weather-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);
  border-color: rgba(2, 132, 199, 0.2);
}

.weather-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 0.5rem;
}

[data-theme="light"] .weather-top-bar {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.weather-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-dot-anim 1.8s infinite;
}

@keyframes pulse-dot-anim {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.weather-loc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.weather-content-grid {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 1050px) {
  .weather-content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .weather-content-grid {
    grid-template-columns: 1fr;
  }
}

.weather-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .weather-box {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}

.weather-icon {
  font-size: 1.6rem;
}

.temp-icon {
  color: var(--accent-gold);
}

.wind-arrow-wrapper {
  width: 42px;
  height: 42px;
  background: rgba(56, 189, 248, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(56, 189, 248, 0.3);
  flex-shrink: 0;
}

.wind-arrow {
  font-size: 1.2rem;
  color: var(--primary-cyan);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.weather-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.weather-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.weather-sub {
  font-size: 0.8rem;
  color: var(--primary-cyan);
  font-weight: 600;
}

.coast-recommendation-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
  transition: all 0.3s ease;
}

.coast-recommendation-card.rec-ionio {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.22) 0%, rgba(56, 189, 248, 0.22) 100%);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}

.coast-recommendation-card.rec-adriatico {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(52, 211, 153, 0.22) 100%);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.coast-recommendation-card.rec-misto {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(251, 191, 36, 0.22) 100%);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

.rec-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}

.rec-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--accent-emerald);
  text-transform: uppercase;
}

.rec-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0.1rem 0;
}

[data-theme="light"] .rec-heading {
  color: #0f172a;
}

.rec-body {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.35;
}

[data-theme="light"] .rec-body {
  color: #334155;
}

.weather-buttons-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-windy {
  background: #e65100;
  color: #fff;
}

.btn-windy:hover {
  background: #f57c00;
  color: #fff;
}

.btn-jentu {
  background: #0284c7;
  color: #fff;
}

.btn-jentu:hover {
  background: #0369a1;
  color: #fff;
}

/* Quick Stats Bar */
.quick-stats-container {
  max-width: 1300px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.quick-stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.quick-stat-card i {
  font-size: 1.75rem;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-val {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
}

/* Utility Colors */
.text-cyan { color: var(--primary-cyan); }
.text-amber { color: var(--accent-gold); }
.text-emerald { color: var(--accent-emerald); }
.text-rose { color: var(--accent-rose); }
.text-blue { color: var(--accent-blue); }

/* Main Container */
.main-container {
  max-width: 1300px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
  scrollbar-width: thin;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: #fff;
  background: var(--primary-gradient);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Tab Content Visibility */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.35s ease-out;
}

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

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Filters */
.filter-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip.active, .filter-chip:hover {
  background: var(--primary-cyan);
  color: #0f172a;
  border-color: var(--primary-cyan);
  font-weight: 700;
}

/* Itinerary Timeline */
.itinerary-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.day-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.day-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.day-date-box {
  text-align: center;
  padding: 0.75rem;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-md);
}

.day-date-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-cyan);
  line-height: 1;
}

.day-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.day-content-main h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.day-description {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

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

.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tag-ionio { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.tag-adriatico { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.tag-esperienza { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.tag-logistica { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }
.tag-cibo { background: rgba(244, 63, 94, 0.15); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.3); }

.day-cost-badge {
  text-align: right;
}

.cost-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.cost-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Wind Rule Box & Beaches */
.wind-rule-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.wind-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
}

.wind-tramontana {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(15, 23, 42, 0.6) 100%);
  border-left: 4px solid var(--primary-cyan);
}

.wind-scirocco {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.25) 0%, rgba(15, 23, 42, 0.6) 100%);
  border-left: 4px solid var(--accent-gold);
}

.wind-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.wind-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.wind-badge {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
}

.beaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.beach-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.25s ease;
}

.beach-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-cyan);
  background: var(--bg-card-hover);
}

.beach-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.beach-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.beach-tip {
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6rem;
  border-radius: 6px;
  border-left: 3px solid var(--accent-gold);
}

/* Tours Comparison Grid */
.tours-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tour-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.tour-card.featured {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.tour-card:hover {
  transform: translateY(-4px);
}

.tour-badge-recommended {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent-emerald);
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
}

.tour-type {
  font-size: 0.8rem;
  color: var(--primary-cyan);
  font-weight: 600;
  text-transform: uppercase;
}

.tour-card-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.35rem 0 0.75rem;
}

.tour-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.tour-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.tour-body ul {
  list-style: none;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

/* Lodging Grid */
.lodging-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.lodging-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;

}

.lodging-badge {
  background: rgba(2, 132, 199, 0.2);
  color: var(--primary-cyan);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.lodging-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.lodging-card .location {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.lodging-card .description {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

/* Logistics Step */
.logistics-container {
  max-width: 800px;
  margin: 0 auto;
}

.logistics-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.logistics-step {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  align-items: flex-start;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.2);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.time-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.step-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.25rem 0 0.4rem;
}

/* Budget Calculator Layout */
.budget-calculator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 850px) {
  .budget-calculator-layout {
    grid-template-columns: 1fr;
  }
}

.budget-inputs-card, .budget-summary-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.budget-inputs-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.input-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.input-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.input-group input {
  width: 110px;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: right;
}

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

.total-display {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 1.5rem;
}

.total-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.total-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-emerald);
  margin: 0.25rem 0;
}

.total-sub {
  font-size: 0.85rem;
  color: var(--primary-cyan);
}

.budget-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-color);
}

/* Footer */
.app-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.88rem;
  position: relative;
  z-index: 10;
}

.app-footer a {
  color: var(--primary-cyan);
  text-decoration: none;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .day-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .day-date-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .day-cost-badge {
    text-align: left;
  }
}
