/* TeeBox.app — small extras on top of Tailwind utilities */

:root {
  --pine: #234237;
  --clay: #c56a3a;
  --sand: #f6f1e8;
  --ink: #1a1f24;
  --mint: #A8DCAB;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Outfit, sans-serif;
  color: var(--ink);
  background: #fff;
}

.hero {
  background-image:
    linear-gradient(180deg, rgba(26, 31, 36, 0.28) 0%, rgba(26, 31, 36, 0.12) 42%, rgba(26, 31, 36, 0.45) 100%),
    url("https://images.unsplash.com/photo-1587174486073-ae5e5cff23aa?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center 40%;
}

.course-hero {
  background-image:
    linear-gradient(180deg, rgba(26, 31, 36, 0.15) 0%, rgba(26, 31, 36, 0.55) 100%),
    url("https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
}

.tile {
  background-size: cover;
  background-position: center;
}

.tile-deals { background-color: #234237; background-image: linear-gradient(180deg, rgba(26,31,36,.05), rgba(26,31,36,.55)), url("https://images.unsplash.com/photo-1593111774240-d529f12cf4bb?auto=format&fit=crop&w=800&q=80"); }
.tile-near { background-color: #1f3d4d; background-image: linear-gradient(180deg, rgba(26,31,36,.05), rgba(26,31,36,.55)), url("https://images.unsplash.com/photo-1592919505780-303950717480?auto=format&fit=crop&w=800&q=80"); }
.tile-saved { background-color: #3d5c4a; background-image: linear-gradient(180deg, rgba(26,31,36,.05), rgba(26,31,36,.55)), url("https://images.unsplash.com/photo-1500932334442-8761ee4810a7?auto=format&fit=crop&w=800&q=80"); }
.tile-club { background-color: #6b4a32; background-image: linear-gradient(180deg, rgba(26,31,36,.05), rgba(26,31,36,.55)), url("https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=800&q=80"); }
.tile-sims { background-color: #2c3a44; background-image: linear-gradient(180deg, rgba(26,31,36,.05), rgba(26,31,36,.55)), url("https://images.unsplash.com/photo-1611374243147-44a702c2d44c?auto=format&fit=crop&w=800&q=80"); }

.deal-row {
  scrollbar-width: thin;
  scrollbar-color: #c56a3a transparent;
}

.search-pill input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.55;
  cursor: pointer;
}

.nav-link.is-active {
  color: #234237 !important;
  box-shadow: inset 0 -2px 0 #A8DCAB;
}

.heading-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.heading-accent::before {
  content: "";
  width: 1.75rem;
  height: 3px;
  border-radius: 999px;
  background: #A8DCAB;
  flex: none;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  background: #A8DCAB;
  color: #234237;
  padding: 0.15rem 0.5rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #A8DCAB;
  color: #1a1f24;
  padding: 0.9rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(35, 66, 55, 0.08);
}

.pill:hover {
  background: #93d098;
}

.like {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(26, 31, 36, 0.45);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 31, 36, 0.18);
}

.like.is-liked {
  background: #A8DCAB;
  color: #234237;
}

.like.is-liked svg {
  fill: currentColor;
}

.time-btn,
.time-btn.is-deal {
  display: block;
  border-radius: 0.45rem;
  background: #A8DCAB;
  color: #1a1f24;
  padding: 0.62rem 0.2rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
}

.time-btn:hover {
  background: #93d098;
}

.time-price {
  display: block;
  margin-top: 0.35rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1f24;
}

.tile,
.deal-row > a,
.deal-card,
.course-row {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tile:hover,
.deal-row > a:hover,
.deal-card:hover,
.course-row:hover {
  transform: translateY(-2px);
  border-color: #A8DCAB !important;
  box-shadow: 0 12px 28px rgba(35, 66, 55, 0.12);
}

.slot.is-picked {
  border-color: #A8DCAB !important;
  background: rgba(168, 220, 171, 0.35) !important;
}

.chip.is-on {
  background: #A8DCAB !important;
  color: #1a1f24 !important;
  border-color: #A8DCAB !important;
}

.course-row.is-hidden,
.deal-card.is-hidden {
  display: none !important;
}

#auth-dialog {
  border: 0;
  border-radius: 1.25rem;
  padding: 0;
  width: min(100% - 2rem, 24rem);
  box-shadow: 0 24px 60px rgba(26, 31, 36, 0.28);
}

#auth-dialog::backdrop {
  background: rgba(26, 31, 36, 0.55);
}
