/* Lilly Fresh Pet Food - Simple, Professional & Friendly Design System */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Palette */
  --primary: #123F4A;        /* Petrol Blue - Authoritative & Trustworthy */
  --primary-hover: #0d2f38;
  --secondary: #5F7A45;      /* Natural Green - Healthy & Organic */
  --secondary-hover: #4e6538;
  --sky-blue: #3E7EBC;       /* Friendly Sky Blue */
  --powder-blue: #BFD9ED;    /* Soft Powder Blue */
  --leaf-green: #8FBF67;     /* Fresh Leaf Green */
  --sage-green: #D6E7C8;     /* Soft Sage */
  --canvas-bg: #EDF4F8;      /* Clean, Calm Light Blue Background */
  --text-dark: #172522;      /* Deep Ink Typography */
  --card-bg: #FFFFFF;        /* Pure White Cards */
  --border-light: rgba(18, 63, 74, 0.1);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--canvas-bg);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Fredoka', cursive, sans-serif;
  letter-spacing: -0.01em;
}

/* Calm, Clean Canvas (Simple, Professional, Friendly) */
.blue-canvas, .light-canvas, .dark-canvas {
  background-color: #EDF4F8;
  background-image: 
    radial-gradient(circle at 8% 8%, rgba(191, 217, 237, 0.6) 0%, transparent 40%),
    radial-gradient(circle at 92% 12%, rgba(62, 126, 188, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(245, 249, 252, 0.7) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(95, 122, 69, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(18, 63, 74, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Simple, Professional Cards */
.vivid-card, .glass-panel-dark, .pro-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 24px -2px rgba(18, 63, 74, 0.07), 0 1px 3px rgba(18, 63, 74, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vivid-card:hover, .glass-panel-dark:hover, .pro-card:hover {
  border-color: rgba(95, 122, 69, 0.3);
  box-shadow: 0 8px 32px -4px rgba(18, 63, 74, 0.1), 0 2px 6px rgba(18, 63, 74, 0.04);
}

.vivid-card-alt, .glass-card-darker {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1.5px solid rgba(95, 122, 69, 0.25);
  box-shadow: 0 4px 24px -2px rgba(18, 63, 74, 0.07);
}

/* Friendly Rounded Buttons */
.vivid-btn-green, .btn-primary {
  background: linear-gradient(135deg, #5F7A45 0%, #709152 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(95, 122, 69, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vivid-btn-green:hover, .btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(95, 122, 69, 0.35);
  background: linear-gradient(135deg, #536c3c 0%, #638248 100%);
}

.vivid-btn-blue, .btn-secondary {
  background: linear-gradient(135deg, #123F4A 0%, #1e525e 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(18, 63, 74, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vivid-btn-blue:hover, .btn-secondary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(18, 63, 74, 0.3);
}

.btn-soft {
  background: #EAF2F7;
  color: #123F4A;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.15s ease;
}

.btn-soft:hover {
  background: #DEEBF3;
}

/* Glow & Accent Text */
.glow-green {
  color: #5F7A45;
}

.glow-blue, .glow-orange {
  color: #123F4A;
}

/* Friendly Pet Avatars & Badges */
.pet-pill-btn {
  border: 1.5px solid rgba(18, 63, 74, 0.12);
  background: #FFFFFF;
  color: #172522;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.pet-pill-btn.active, .pet-pill-btn:hover {
  border-color: #5F7A45;
  background: rgba(95, 122, 69, 0.08);
  color: #123F4A;
}

/* Smooth Weight Range Slider */
input[type="range"].lily-slider-vivid,
input[type="range"].lily-slider-dark {
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #5F7A45 0%, #8FBF67 35%, #3E7EBC 70%, #123F4A 100%);
  outline: none;
}

input[type="range"].lily-slider-vivid::-webkit-slider-thumb,
input[type="range"].lily-slider-dark::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3.5px solid #123F4A;
  box-shadow: 0 2px 8px rgba(18, 63, 74, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

input[type="range"].lily-slider-vivid::-webkit-slider-thumb:hover,
input[type="range"].lily-slider-dark::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(95, 122, 69, 0.2);
}

/* Active Preset Weight Chips */
.preset-active {
  background: #123F4A !important;
  border-color: #123F4A !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(18, 63, 74, 0.2) !important;
}

/* GPS Radar pulse */
@keyframes radar-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(62, 126, 188, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(62, 126, 188, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(62, 126, 188, 0);
  }
}

.radar-active {
  animation: radar-pulse 1.4s infinite;
}

/* Clean Form Controls */
.form-input {
  background: #F8FAFC;
  border: 1px solid rgba(18, 63, 74, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  color: #172522;
  font-weight: 500;
  transition: all 0.2s ease;
}

.form-input:focus {
  background: #FFFFFF;
  border-color: #5F7A45;
  box-shadow: 0 0 0 3px rgba(95, 122, 69, 0.15);
  outline: none;
}

/* Soft Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #EDF4F8;
}
::-webkit-scrollbar-thumb {
  background: #BFD9ED;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3E7EBC;
}
