/* Premium visual layer — water theme, glass cards, layouts */

/* Decorative background blobs */
.page-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.page-deco__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.page-deco__blob--1 { width: 420px; height: 420px; background: #bae6fd; top: -120px; right: -80px; }
.page-deco__blob--2 { width: 320px; height: 320px; background: #a7f3d0; bottom: 10%; left: -100px; }
.page-deco__blob--3 { width: 260px; height: 260px; background: #ddd6fe; top: 40%; right: 5%; opacity: 0.3; }

body.has-deco { position: relative; }
body.has-deco > *:not(.page-deco) { position: relative; z-index: 1; }

/* Hero upgrade */
.hero-usp { padding: 2rem 0 3rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-graphic-wrap { order: -1; max-width: 280px; margin: 0 auto; }
}
.hero-graphic-wrap { display: flex; justify-content: center; }
.hero-graphic { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 20px 40px rgba(2, 132, 199, 0.2)); }

.glass-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

/* Feature pills on homepage */
.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0;
}
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}
.feature-pill__dot { width: 8px; height: 8px; border-radius: 50%; }
.feature-pill__dot--green { background: #10b981; }
.feature-pill__dot--blue { background: #0ea5e9; }
.feature-pill__dot--purple { background: #8b5cf6; }

/* Detail / queue split layout */
.detail-layout,
.queue-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 960px) {
  .detail-layout,
  .queue-layout { grid-template-columns: 1fr; }
  .wash-tools { order: -1; }
}
.detail-main { min-width: 0; }

/* Wash hero on detail page */
.wash-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  min-height: 200px;
  background: linear-gradient(135deg, #0c4a6e, #0284c7);
}
.wash-hero__photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.wash-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.75) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #fff;
}
.wash-hero--no-photo { padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 160px; }
.wash-hero__overlay h1,
.wash-hero--no-photo h1 { margin: 0.35rem 0 0; font-size: 1.5rem; color: #fff; }
.wash-hero__overlay .detail-address,
.wash-hero--no-photo .detail-address { color: rgba(255,255,255,0.85); margin: 0; }

/* Wash tools sidebar */
.wash-tools { display: flex; flex-direction: column; gap: 1rem; }
.wash-tools__card { border-radius: var(--radius); padding: 1.15rem; }
.wash-tools__head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.85rem; }
.wash-tools__head h3 { margin: 0; font-size: 0.95rem; }
.wash-tools__icon { font-size: 1.25rem; }
.wash-tools__qr p { margin: 0.5rem 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.45; }
.wash-tools__qr-frame {
  background: #fff;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  border: 2px dashed var(--line);
}
.wash-tools__qr-frame img { display: block; border-radius: 6px; }
.wash-tools__actions { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.85rem; }
.tool-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.tool-btn:hover { background: var(--primary-soft); border-color: #bae6fd; }
.tool-btn.is-active { background: #fef3c7; border-color: #fcd34d; }
.tool-btn__icon { font-size: 1rem; }
.wash-tools__queue-link {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.wash-tools__queue-link:hover { text-decoration: underline; }

/* Ad rotator — subtle, non-intrusive */
.ad-rotator {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-white);
}
.ad-rotator__tag {
  display: block;
  padding: 0.3rem 0.65rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.ad-rotator__frame {
  min-height: 72px;
  opacity: 0;
  transition: opacity 0.3s;
}
.ad-rotator__frame--visible { opacity: 1; }
.ad-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  min-height: 72px;
  justify-content: center;
  transition: transform 0.15s;
}
.ad-card:hover { transform: scale(1.01); }
.ad-card__title { font-weight: 700; font-size: 0.88rem; line-height: 1.3; }
.ad-card__sub { font-size: 0.75rem; opacity: 0.9; line-height: 1.35; }

/* Queue page inline ad — slim banner under list */
.ad-rotator--inline {
  margin: 1rem 0;
  border-radius: var(--radius-sm);
}
.ad-rotator--inline .ad-rotator__frame { min-height: 56px; }
.ad-rotator--inline .ad-card { min-height: 56px; padding: 0.65rem 0.85rem; flex-direction: row; align-items: center; justify-content: space-between; gap: 0.75rem; }
.ad-rotator--inline .ad-card__sub { font-size: 0.72rem; }

/* Queue page full layout */
.queue-page { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.queue-page--admin { max-width: 560px; }
.queue-main-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.queue-main-card__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

/* Section titles with icon */
.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.section-title__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: var(--primary-soft);
}

/* Verified washes bar */
.my-washes-bar {
  background: linear-gradient(90deg, #f5f3ff, #ede9fe 40%, #f0f9ff);
  border-bottom: 1px solid #ddd6fe;
  padding: 0.65rem 0;
}
.my-washes-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.my-washes-bar__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.my-washes-bar__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #8b5cf6;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}
.my-washes-bar__sub {
  display: block;
  font-size: 0.75rem;
  color: #6d28d9;
  font-weight: 500;
}
.my-washes-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}
.my-washes-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid #c4b5fd;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.my-washes-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.15);
}
.my-washes-chip__name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #4c1d95;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.my-washes-chip__meta {
  font-size: 0.68rem;
  color: #7c3aed;
  font-weight: 600;
}
.stat-pill--priority {
  background: #ede9fe !important;
  color: #6d28d9 !important;
  border-color: #c4b5fd !important;
}
