/* Sam's Goals – custom styles */

:root {
  --cream: #F4F1EC;
  --charcoal: #1F2329;
  --work: #E2231A;
  --health: #3F8F4F;
  --personal: #355C7D;
  --copper: #C45C26;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.font-oswald {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.02em;
}

/* Progress bars */
.progress-bar {
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Cards */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.12);
}

/* Animations */
.fade-in {
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Numbers */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Bottom nav safe area (iOS) */
.bottom-nav {
  padding-bottom: env(safe-area-inset-bottom);
}

/* Form focus rings */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 35, 41, 0.12);
}

/* Range slider */
input[type="range"] {
  accent-color: var(--charcoal);
}

/* Scrollbar subtle */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

/* Utility helpers that Tailwind CDN may not cover perfectly */
.bg-cream { background-color: var(--cream); }
.text-charcoal { color: var(--charcoal); }
.bg-charcoal { background-color: var(--charcoal); }
.text-work { color: var(--work); }
.bg-work { background-color: var(--work); }
.text-health { color: var(--health); }
.bg-health { background-color: var(--health); }
.text-personal { color: var(--personal); }
.bg-personal { background-color: var(--personal); }
.text-copper { color: var(--copper); }

.bg-work\/10 { background-color: rgba(226, 35, 26, 0.1); }
.bg-health\/10 { background-color: rgba(63, 143, 79, 0.1); }
.bg-personal\/10 { background-color: rgba(53, 92, 125, 0.1); }
.border-work\/20 { border-color: rgba(226, 35, 26, 0.2); }
.border-health\/20 { border-color: rgba(63, 143, 79, 0.2); }
.border-personal\/20 { border-color: rgba(53, 92, 125, 0.2); }
.bg-work\/5 { background-color: rgba(226, 35, 26, 0.05); }
