/* ============================================================
   CALORIE CALCULATOR — calorie-calculator.css
   Responsive glassmorphism styles for Daily Calorie & Macro Tracker
   Toolspot by Tradesala
   ============================================================ */

.container {
  --tool-red: var(--red);
  --tool-red-soft: var(--red-soft);
}

/* ── Target Dashboard KPI ── */
.calorie-dashboard {
  margin-bottom: 24px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.budget-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.budget-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 18px 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.budget-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Card specular highlight line */
.budget-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* Card Color Accent top bar */
.budget-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  opacity: 0.85;
}

.budget-card.target::before {
  background: linear-gradient(90deg, #6366f1, #3b82f6);
}

.budget-card.consumed::before {
  background: linear-gradient(90deg, #f59e0b, #eab308);
}

.budget-card.remaining::before {
  background: linear-gradient(90deg, var(--tool-red), #f43f5e);
}

/* Light Mode Overrides for Cards */
body.light .budget-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}

body.light .budget-card:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

body.light .budget-card::after {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent);
}

.budget-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.budget-val {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  transition: color 0.3s ease;
}

.budget-card.target .budget-val {
  color: #818cf8;
}

.budget-card.consumed .budget-val {
  color: #fbbf24;
}

.budget-card.remaining .budget-val.remaining {
  color: var(--tool-red);
  text-shadow: 0 0 12px rgba(251, 113, 133, 0.15);
}

.budget-card.remaining .budget-val.over {
  color: #f87171;
  text-shadow: 0 0 12px rgba(248, 113, 113, 0.15);
}

/* Light mode text colors for readability */
body.light .budget-card.target .budget-val {
  color: #4f46e5;
}

body.light .budget-card.consumed .budget-val {
  color: #d97706;
}

body.light .budget-card.remaining .budget-val.remaining {
  color: #e11d48;
  text-shadow: none;
}

body.light .budget-card.remaining .budget-val.over {
  color: #dc2626;
  text-shadow: none;
}

/* ── Progress Indicators ── */
.progress-container {
  margin-top: 20px;
}

.progress-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.light .progress-bar-bg {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, var(--tool-red));
  width: 0%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 6px;
}

.progress-bar-fill.over {
  background: linear-gradient(90deg, #ef4444, #b91c1c);
}

/* ── Macro Grid Layout ── */
.macro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.macro-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 14px 12px;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.macro-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.macro-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0.85;
}

.macro-card.protein::before {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.macro-card.carbs::before {
  background: linear-gradient(90deg, #eab308, #facc15);
}

.macro-card.fats::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

/* Light Mode Overrides for Macro Cards */
body.light .macro-card {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(0, 0, 0, 0.04);
}

body.light .macro-card:hover {
  background: rgba(0, 0, 0, 0.025);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.macro-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-3);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.macro-progress-wrap {
  margin-top: 8px;
}

.macro-progress-wrap .progress-bar-bg {
  height: 4px;
  border: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

body.light .macro-progress-wrap .progress-bar-bg {
  background: rgba(0, 0, 0, 0.08);
}

.macro-fill {
  height: 4px;
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}

.macro-fill.protein { background: #3b82f6; }
.macro-fill.carbs   { background: #facc15; }
.macro-fill.fats    { background: #10b981; }

.macro-stats {
  font-size: 13px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-top: 6px;
}

.macro-card.protein .macro-stats {
  color: #60a5fa;
}

.macro-card.carbs .macro-stats {
  color: #facc15;
}

.macro-card.fats .macro-stats {
  color: #34d399;
}

/* Light mode macro stats text colors */
body.light .macro-card.protein .macro-stats {
  color: #1d4ed8;
}

body.light .macro-card.carbs .macro-stats {
  color: #b45309;
}

body.light .macro-card.fats .macro-stats {
  color: #047857;
}

/* ── Risk Badge Slabs ── */
.risk-badge {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.risk-normal {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

body.light .risk-normal {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.18);
}

/* ── Food Search & Selection ── */
.search-container {
  position: relative;
  margin-bottom: 20px;
}

.search-results {
  background: rgba(18, 18, 28, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  max-height: 240px;
  overflow-y: auto;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

body.light .search-results {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.search-item {
  padding: 10px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}

body.light .search-item {
  border-bottom-color: rgba(0, 0, 0, 0.04);
}

.search-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

body.light .search-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

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

.food-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

/* ── Meal Slots Accordion ── */
.meal-slot-panel {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}

body.light .meal-slot-panel {
  background: rgba(0, 0, 0, 0.01);
  border-color: rgba(0, 0, 0, 0.04);
}

.meal-slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.meal-slot-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

body.light .meal-slot-title {
  color: #1e293b;
}

.meal-slot-total {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 600;
}

.logged-items-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.logged-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  animation: slideIn 0.25s ease-out forwards;
}

body.light .logged-item {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(0, 0, 0, 0.04);
}

.logged-item-info {
  flex: 1;
}

.logged-item-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

body.light .logged-item-name {
  color: #1e293b;
}

.logged-item-desc {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 2px;
}

.logged-item-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logged-item-cals {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

body.light .logged-item-cals {
  color: #1e293b;
}

.delete-btn {
  background: transparent !important;
  border: none;
  color: var(--text-3);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.delete-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1) !important;
}

/* Custom food toggles */
.custom-btn {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.custom-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

body.light .custom-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.05);
  color: #475569;
}

body.light .custom-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #0f172a;
}

/* ── Activity Grid Setup ── */
.activity-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.activity-toggle-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

body.light .activity-toggle-btn {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(0, 0, 0, 0.04);
}

.activity-toggle-btn:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

body.light .activity-toggle-btn:hover {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.03);
}

.activity-toggle-btn.active {
  background: var(--tool-red-soft);
  border-color: rgba(251, 113, 133, 0.3);
}

.activity-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

body.light .activity-title {
  color: #1e293b;
}

.activity-desc {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 2px;
}

.activity-multiplier {
  font-size: 11px;
  font-weight: 700;
  color: var(--tool-red);
}

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

/* ── PDF Template Custom Styles ── */
.print-only { display: none; }

/* ── Calorie Calculator Custom Button Overrides ── */
#reset-btn {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

#reset-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
}

body.light #reset-btn {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.18);
  color: #dc2626;
}

body.light #reset-btn:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}


/* ── Calculated Metrics Summary (BMR & TDEE) ── */
.metrics-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  opacity: 0.85;
}

.metric-card.bmr::before {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.metric-card.tdee::before {
  background: linear-gradient(90deg, #f97316, var(--tool-red));
}

.metric-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.metric-card.bmr .metric-val {
  color: #60a5fa;
}

.metric-card.tdee .metric-val {
  color: var(--tool-red);
  text-shadow: 0 0 12px rgba(251, 113, 133, 0.15);
}

/* Light Mode Overrides */
body.light .metric-card {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(0, 0, 0, 0.05);
}

body.light .metric-card:hover {
  background: rgba(0, 0, 0, 0.025);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

body.light .metric-card.bmr .metric-val {
  color: #1d4ed8;
}

body.light .metric-card.tdee .metric-val {
  color: #e11d48;
  text-shadow: none;
}

/* ── Custom Glassmorphism Toggles & Tabs overrides ── */
.mode-toggle {
  position: relative;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px !important;
  padding: 4px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4px !important;
  z-index: 1;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.light .mode-toggle {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

/* Sliding active pill indicator */
.mode-toggle::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 6px);
  background: rgba(251, 113, 133, 0.16) !important;
  border: 1px solid rgba(251, 113, 133, 0.35) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px !important;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
  z-index: 0;
  box-shadow: 0 4px 16px rgba(251, 113, 133, 0.15) !important;
}

body.light .mode-toggle::before {
  background: rgba(251, 113, 133, 0.12) !important;
  border: 1px solid rgba(251, 113, 133, 0.3) !important;
  box-shadow: 0 4px 12px rgba(251, 113, 133, 0.06) !important;
}

/* Position mapping using modern :has() selector */
.mode-toggle:has(.mode-btn[data-gender="female"].active)::before {
  transform: translateX(calc(100% + 4px)) !important;
}

/* Button modifications to overlay them above the pill */
.mode-btn {
  position: relative;
  z-index: 2;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.45) !important;
  transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.15s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.mode-btn:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.light .mode-btn {
  color: rgba(0, 0, 0, 0.45) !important;
}

body.light .mode-btn:hover {
  color: rgba(0, 0, 0, 0.8) !important;
}

.mode-btn.active {
  color: #ffffff !important;
}

body.light .mode-btn.active {
  color: #dc2626 !important;
}

.mode-btn:active {
  transform: scale(0.96) !important;
}

/* ── Activity Toggles styling enhancements ── */
.activity-toggle-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 14px !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.activity-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-1px);
}

.activity-toggle-btn.active {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.12), rgba(244, 63, 94, 0.06)) !important;
  border-color: rgba(251, 113, 133, 0.4) !important;
  box-shadow: 0 4px 20px rgba(251, 113, 133, 0.08) !important;
}

.activity-toggle-btn:active {
  transform: scale(0.98) !important;
}

body.light .activity-toggle-btn {
  background: rgba(0, 0, 0, 0.01) !important;
  border-color: rgba(0, 0, 0, 0.04) !important;
}

body.light .activity-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light .activity-toggle-btn.active {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.08), rgba(225, 29, 72, 0.03)) !important;
  border-color: rgba(225, 29, 72, 0.3) !important;
}

/* ── Fitness Goal Presets Styling ── */
.goal-preset-group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.goal-preset-btn {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px !important;
  padding: 8px 4px !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.goal-preset-btn .goal-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease;
}

.goal-preset-btn .goal-subtitle {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease;
}

.goal-preset-btn:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.goal-preset-btn:hover .goal-title {
  color: rgba(255, 255, 255, 0.8);
}

.goal-preset-btn.active {
  background: rgba(251, 113, 133, 0.16) !important;
  border-color: rgba(251, 113, 133, 0.35) !important;
  box-shadow: 0 4px 16px rgba(251, 113, 133, 0.15) !important;
}

.goal-preset-btn.active .goal-title {
  color: #ffffff !important;
}

.goal-preset-btn.active .goal-subtitle {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.light .goal-preset-btn {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02) !important;
}

body.light .goal-preset-btn .goal-title {
  color: rgba(0, 0, 0, 0.45);
}

body.light .goal-preset-btn .goal-subtitle {
  color: rgba(0, 0, 0, 0.3);
}

body.light .goal-preset-btn:hover {
  background: rgba(0, 0, 0, 0.04) !important;
}

body.light .goal-preset-btn:hover .goal-title {
  color: rgba(0, 0, 0, 0.8);
}

body.light .goal-preset-btn.active {
  background: rgba(251, 113, 133, 0.12) !important;
  border-color: rgba(251, 113, 133, 0.3) !important;
  box-shadow: 0 4px 12px rgba(251, 113, 133, 0.06) !important;
}

body.light .goal-preset-btn.active .goal-title {
  color: #dc2626 !important;
}

body.light .goal-preset-btn.active .goal-subtitle {
  color: rgba(220, 38, 38, 0.7) !important;
}

.goal-preset-btn:active {
  transform: scale(0.96) !important;
}

/* Light Mode Dropdown Polish */
body.light select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(15,23,42,0.5)' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}

body.light select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

