/* Self-hosted Inter (latin subset only) — replaces the Google Fonts CDN link
   so this stylesheet no longer needs an external, non-SRI-able resource.
   Inter is a variable font: Google serves ONE physical file covering weights
   300–600 and reuses it across each font-weight declaration below — that's
   why all four @font-face blocks point at the same local file. This mirrors
   Google's own CSS structure exactly. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f2ece8;
  --bg2: #ede7e2;
  --white: #ffffff;
  --black: #1a1a1a;
  --text: #1a1a1a;
  --text-muted: #6b6560;
  --text-light: #999190;
  --border: #ddd7d2;
  --accent: #1a1a1a;
  --radius: 4px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}

/* ── TOP NAV ── */
.topnav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: 100px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: height 0.25s ease, padding 0.25s ease;
}
.topnav.top-expanded {
  height: 150px;
}
.topnav-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.topnav-logo {
  width: 120px; height: 120px;
  border-radius: 0;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  background: transparent;
  transition: width 0.25s ease, height 0.25s ease;
}
.topnav.top-expanded .topnav-logo {
  width: 160px;
  height: 160px;
}
.topnav-logo img {
  width: 90%;
  height: 90%;
  padding-top: 10%;
  padding-bottom: 10%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}
.topnav-right {
  position: absolute; right: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.btn-booknow {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--black);
  border: none;
  padding: 0.65rem 1.15rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-booknow:hover { background: #333; transform: translateY(-1px); }
.topnav-search {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}
.topnav-search svg { width: 16px; height: 16px; }

/* ── HERO ── */
.hero {
  width: 100%;
  height: 400px;
  background:
    linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.55) 100%),
    url('img/banner_alt.webp') 30% 55%/120% no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
}
.hero-text {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  text-align: left;
}
.hero-text h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.hero-pills {
  display: flex; gap: 0.4rem;
}
.hero-pill {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  backdrop-filter: blur(4px);
}
.hero-pill:hover { background: rgba(0,0,0,0.6); }
.hero-pill.active {
  background: rgba(255,255,255,0.95);
  color: var(--black);
  border-color: transparent;
}

/* ── MAIN LAYOUT ── */
.main-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.service-header {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.service-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── SERVICE MENU ── */
.section-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.35rem 0;
  line-height: 1.01;
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.tab {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  padding: 0.5rem 0;
  margin-right: 1.5rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.tab.active {
  color: var(--text);
  font-weight: 500;
  border-bottom-color: var(--text);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.25rem;
  transition: box-shadow 0.15s, transform 0.12s;
  cursor: pointer;
}
.service-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.service-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.45rem;
}
.service-note {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
  font-style: italic;
}
.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid #f0ece8;
}
.service-book {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
}
.service-meta {
  font-size: 13.5px;
  color: var(--text-muted);
}
.service-meta span {
  color: var(--text-muted);
}
.services-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 1.25rem;
  text-align: center;
  font-style: italic;
}

/* Staff tab content */
.staff-panel { display: none; }
.staff-panel.visible { display: block; }
.services-panel { display: block; }
.services-panel.hidden { display: none; }

.staff-card {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.staff-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}
.staff-name { font-size: 13px; font-weight: 600; color: var(--text); }
.staff-role { font-size: 11.5px; color: var(--text-muted); }

/* ── RIGHT SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 0.5rem; }
.btn-book-lg {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  background: var(--black);
  border: none;
  padding: 0.95rem 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
}
.btn-book-lg:hover { background: #333; }
.btn-mybookings {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.9rem 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
}
.btn-mybookings:hover { background: var(--bg2); }

/* ── BOOKING MODAL OVERLAY ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.45);
  align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 6px;
  width: 100%; max-width: 460px;
  padding: 2rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 18px; cursor: pointer;
  color: var(--text-muted); line-height: 1;
}
.modal-title {
  font-size: 1rem; font-weight: 600;
  margin-bottom: 2rem;
}

.modal-sub {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.55rem 0.75rem;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}
.form-group input:not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #999; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  cursor: pointer;
}
.form-group option { background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-group textarea { resize: vertical; min-height: 70px; }
.form-group-checkbox { margin-bottom: 1.25rem; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.15rem;
  accent-color: var(--text);
  cursor: pointer;
}
.checkbox-label a { color: var(--text); text-decoration: underline; }
.modal-submit {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--white); background: var(--black);
  border: none; border-radius: 3px;
  padding: 0.7rem; cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.15s;
}
.modal-submit:hover { background: #333; }
.modal-success { display: none; text-align: center; padding: 1.5rem 0; }
.modal-success.visible { display: block; }
.modal-form.hidden { display: none; }
.success-check {
  font-size: 2rem; margin-bottom: 0.75rem; color: #4caf50;
}
.success-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.success-msg { font-size: 12px; color: var(--text-muted); }

/* ── LOCATION & HOURS ── */
.location-section {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.map-container {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-container iframe {
  width: 100%; height: 100%;
  border: none;
}
.location-info h3 {
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 0.65rem;
}
.get-directions {
  font-size: 12px;
  color: var(--text);
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.get-directions:hover { text-decoration: underline; color: var(--text); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr td { padding: 0.6rem 0; font-size: 14.5px; }
.hours-table tr td:last-child { text-align: right; color: var(--text-muted); }
.hours-table tr.today td { font-weight: normal; color: inherit; }
.hours-table tr.today td:last-child { color: var(--text-muted); }

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
}
.footer-contact {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}
.footer-contact a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-contact a:hover { color: var(--text); }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.social-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--text);
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.15s;
}
.social-icon:hover { opacity: 0.75; }
.social-icon svg { width: 14px; height: 14px; fill: currentColor; }
.footer-powered {
  font-size: 11px;
  color: var(--text-light);
}
.footer-divider {
  height: 1px;
  background: var(--border);
  max-width: 900px;
  margin: 0 auto 1rem;
}

/* ── MOBILE ── */
@media (max-width: 760px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; }
  .btn-book-lg, .btn-mybookings { flex: 1; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.full-width { grid-column: auto; }
  .location-section { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { height: 320px; }
  .hero-text h1 { font-size: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .topnav { height: 72px; }
  .topnav-logo { width: 48px; height: 48px; }
  .topnav.top-expanded { height: 108px; }
  .topnav.top-expanded .topnav-logo { width: 72px; height: 72px; }
}
    .topnav-account {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #6b6560; text-decoration: none;
  margin-left: 10px; padding: 5px 10px; border-radius: 99px;
  border: 1px solid #ddd7d2; background: #fff; cursor: pointer;
  font-family: inherit; transition: border-color 0.15s, color 0.15s;
}
.topnav-account:hover { border-color: #1a1a1a; color: #1a1a1a; }
.topnav-account svg { width: 13px; height: 13px; }

.auth-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.45); align-items: center; justify-content: center; padding: 1rem;
}
.auth-modal-overlay.open { display: flex; }
.auth-modal {
  background: #fff; border-radius: 6px; width: 100%; max-width: 380px;
  padding: 2rem; position: relative; max-height: 90vh; overflow-y: auto;
}
.auth-modal-close {
  position: absolute; top: 1rem; right: 1rem; background: none; border: none;
  font-size: 18px; cursor: pointer; color: #9a9187; line-height: 1;
}
.auth-tabs { display: flex; border-bottom: 1px solid #ede7e2; margin-bottom: 1.25rem; }
.auth-tab {
  font-size: 13px; color: #9a9187; padding: 0.5rem 0; margin-right: 1.5rem;
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.auth-tab.active { color: #1a1a1a; font-weight: 500; border-bottom-color: #1a1a1a; }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-error {
  color: #c0392b; font-size: 12px; margin-bottom: 0.75rem; display: none;
}
.auth-submit {
  width: 100%; font-family: inherit; font-size: 13px; font-weight: 500;
  color: #fff; background: #1a1a1a; border: none; border-radius: 3px;
  padding: 0.7rem; cursor: pointer; margin-top: 0.5rem;
}

.account-panel-body { display: none; }
.account-panel-body.active { display: block; }
.account-info { margin-bottom: 1.5rem; }
.account-info p { font-size: 13px; color: #6b6560; margin-bottom: 4px; }
.account-info strong { color: #1a1a1a; }
.account-bookings-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.25rem; }
.account-booking-item {
  border: 1px solid #ede7e2; border-radius: 4px; padding: 12px 14px;
}
.account-booking-item .b-service { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.account-booking-item .b-date { font-size: 12px; color: #6b6560; margin-top: 2px; }
.account-booking-item .b-status {
  display: inline-block; margin-top: 6px; font-size: 10px; padding: 2px 8px;
  border-radius: 99px; text-transform: capitalize;
}
.b-status-pending   { background: #faeeda; color: #854f0b; }
.b-status-confirmed { background: #e1f5ee; color: #0f6e56; }
.b-status-completed { background: #ded9f9; color: #4b3fa0; }
.b-status-cancelled { background: #fcebeb; color: #a32d2d; }
.account-logout-btn {
  width: 100%; font-family: inherit; font-size: 13px; color: #6b6560;
  background: transparent; border: 1px solid #ddd7d2; border-radius: 3px;
  padding: 0.6rem; cursor: pointer;
}

.acct-header-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; gap: 0.75rem;
}
.settings-gear-btn, .settings-back-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid #ddd7d2; background: #fff; color: #6b6560;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: border-color 0.15s, color 0.15s;
}
.settings-gear-btn:hover, .settings-back-btn:hover { border-color: #1a1a1a; color: #1a1a1a; }
.settings-gear-btn svg, .settings-back-btn svg { width: 14px; height: 14px; }
.acct-header-row .modal-title { flex: 1; }

.settings-divider {
  height: 1px; background: #ede7e2; margin: 1.5rem 0;
}
.settings-subheading {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: #6b6560; margin-bottom: 0.75rem;
}
.settings-success {
  color: #0f6e56; font-size: 12px; margin-bottom: 0.75rem; display: none;
}
.delete-account-btn {
  width: 100%; font-family: inherit; font-size: 13px; font-weight: 500;
  color: #a32d2d; background: #fcebeb; border: 1px solid #f3c9c9;
  border-radius: 3px; padding: 0.65rem; cursor: pointer;
  transition: background 0.15s;
}
/* ── REVIEWS ── */
.star-rating {
  display: flex; gap: 6px; font-size: 28px; cursor: pointer;
}
.star-rating .star {
  color: #ddd7d2; transition: color 0.15s;
}
.star-rating .star.active { color: #c9a84c; }
.star-rating .star:hover { color: #e2c97e; }

.reviewable-item {
  border: 1px solid #ede7e2; border-radius: 4px; padding: 10px 12px;
  margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.reviewable-item .r-service { font-size: 12.5px; font-weight: 500; color: #1a1a1a; }
.reviewable-item .r-date { font-size: 11px; color: #9a9187; margin-top: 2px; }
.reviewable-item .r-review-btn {
  font-size: 11px; font-weight: 500; padding: 5px 12px; border-radius: 99px;
  background: #1a1a1a; color: #fff; border: none; cursor: pointer; flex-shrink: 0;
}

/* ── PUBLIC REVIEWS SECTION (homepage) ── */
#reviews-section {
  background: var(--bg2, #f8f5f2);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.review-card {
  background: #fff; border: 1px solid #ede7e2; border-radius: 4px;
  padding: 1.25rem;
}
.review-stars {
  color: #c9a84c; font-size: 15px; letter-spacing: 2px; margin-bottom: 0.5rem;
}
.review-comment {
  font-size: 13px; color: #3a3530; line-height: 1.6; margin-bottom: 0.75rem;
}
.review-meta {
  font-size: 11.5px; color: #9a9187; display: flex; justify-content: space-between;
}
.reviews-empty {
  text-align: center; color: #9a9187; font-size: 13px; padding: 2rem;
}

/* ── ADMIN REVIEW MODERATION ── */
.review-mod-item {
  background: #fff; border: 1px solid #ede7e2; border-radius: 4px;
  padding: 1rem 1.25rem; margin-bottom: 0.75rem;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
}
.review-mod-item .stars { color: #c9a84c; font-size: 13px; letter-spacing: 1px; }
.review-mod-item .comment { font-size: 13px; color: #3a3530; margin: 6px 0; }
.review-mod-item .meta { font-size: 11px; color: #9a9187; }
.review-mod-actions { display: flex; gap: 6px; flex-shrink: 0; }
.review-mod-actions button {
  font-size: 11px; padding: 5px 10px; border-radius: 3px; cursor: pointer;
  border: 1px solid #ddd7d2; background: #fff; color: #6b6560;
}
.review-mod-actions .approve-btn:hover { border-color: #0f6e56; color: #0f6e56; }
.review-mod-actions .hide-btn:hover { border-color: #854f0b; color: #854f0b; }
.review-mod-actions .delete-review-btn:hover { border-color: #a32d2d; color: #a32d2d; }
.review-status-badge {
  font-size: 10px; padding: 2px 8px; border-radius: 99px; margin-left: 8px;
}
.review-status-approved { background: #e1f5ee; color: #0f6e56; }
.review-status-hidden { background: #faeeda; color: #854f0b; }

/* ── INLINE REVIEW BUTTON ON BOOKING ITEM ── */
.b-status-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px; gap: 8px; flex-wrap: wrap;
}
.r-review-btn {
  font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 99px;
  background: #1a1a1a; color: #fff; border: none; cursor: pointer;
}
.r-review-btn:hover { background: #333; }

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: #f2ece8; color: #1a1a1a; font-size: 14px; }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-box { background: #fff; border: 1px solid #ddd7d2; border-radius: 4px; padding: 2.5rem; width: 100%; max-width: 360px; }
.login-box h1 { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; }
.login-box label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #6b6560; margin-bottom: 0.35rem; }
.login-box input { width: 100%; padding: 0.6rem 0.8rem; margin-bottom: 1rem; border: 1px solid #ddd7d2; border-radius: 3px; font-size: 13px; font-family: inherit; }
.login-box button { width: 100%; padding: 0.7rem; background: #1a1a1a; color: #fff; border: none; border-radius: 3px; font-size: 13px; font-weight: 500; cursor: pointer; }
.login-error { color: #c0392b; font-size: 12px; margin-bottom: 1rem; display: none; }
.back-to-site { display: block; text-align: center; margin-top: 1.25rem; font-size: 12px; color: #9a9187; text-decoration: none; }
.back-to-site:hover { color: #1a1a1a; }

.dashboard { display: none; padding: 2rem; max-width: 1500px; margin: 0 auto; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.dash-header h1 { font-size: 1.4rem; font-weight: 600; }

.admin-tabs { display: flex; border-bottom: 1px solid #ede7e2; margin-bottom: 1.5rem; }
.admin-tab {
  font-size: 13px; color: #9a9187; padding: 0.6rem 0; margin-right: 1.5rem;
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.admin-tab.active { color: #1a1a1a; font-weight: 500; border-bottom-color: #1a1a1a; }

.review-mod-item {
  background: #fff; border: 1px solid #ede7e2; border-radius: 4px;
  padding: 1rem 1.25rem; margin-bottom: 0.75rem;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
}
.review-mod-item .stars { color: #c9a84c; font-size: 13px; letter-spacing: 1px; }
.review-mod-item .comment { font-size: 13px; color: #3a3530; margin: 6px 0; }
.review-mod-item .meta { font-size: 11px; color: #9a9187; }
.review-mod-actions { display: flex; gap: 6px; flex-shrink: 0; }
.review-mod-actions button {
  font-size: 11px; padding: 5px 10px; border-radius: 3px; cursor: pointer;
  border: 1px solid #ddd7d2; background: #fff; color: #6b6560;
}
.review-mod-actions .approve-btn:hover { border-color: #0f6e56; color: #0f6e56; }
.review-mod-actions .hide-btn:hover { border-color: #854f0b; color: #854f0b; }
.review-mod-actions .delete-review-btn:hover { border-color: #a32d2d; color: #a32d2d; }
.review-status-badge {
  font-size: 10px; padding: 2px 8px; border-radius: 99px; margin-left: 8px;
}
.review-status-approved { background: #e1f5ee; color: #0f6e56; }
.review-status-hidden { background: #faeeda; color: #854f0b; }
.dash-actions { display: flex; gap: 0.6rem; }
.view-site-btn, .logout-btn { font-size: 12px; padding: 0.5rem 1rem; border-radius: 3px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; border: none; font-family: inherit; }
.view-site-btn { background: #1a1a1a; color: #fff; border: 1px solid #1a1a1a; }
.logout-btn { background: transparent; border: 1px solid #ddd7d2; color: #6b6560; }

table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 4px; overflow: hidden; }
th, td { padding: 0.75rem 1rem; text-align: left; font-size: 13px; border-bottom: 1px solid #ede7e2; vertical-align: top; }
th { background: #f8f5f2; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #9a9187; font-weight: 500; }
tr:last-child td { border-bottom: none; }

.status-select {
  font-family: inherit; font-size: 12px; padding: 5px 8px; border-radius: 99px;
  border: 1px solid transparent; cursor: pointer; appearance: none;
  -webkit-appearance: none; text-transform: capitalize; font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; padding-right: 22px;
}
.status-pending   { background: #faeeda; color: #854f0b; }
.status-confirmed { background: #e1f5ee; color: #0f6e56; }
.status-completed { background: #ded9f9; color: #4b3fa0; }
.status-cancelled { background: #fcebeb; color: #a32d2d; }

.paid-box { margin-top: 6px; }
.paid-box input {
  width: 90px; font-size: 12px; padding: 4px 6px; border: 1px solid #ddd7d2;
  border-radius: 3px; font-family: inherit;
}
.paid-box label { display: block; font-size: 10px; color: #9a9187; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
.paid-saved { font-size: 10px; color: #0f6e56; margin-left: 6px; display: none; }

.empty-state { text-align: center; padding: 3rem; color: #9a9187; }

.delete-btn {
  width: 30px; height: 30px; border-radius: 4px;
  border: 1px solid #ddd7d2; background: #fff; color: #9a9187;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.delete-btn:hover { border-color: #a32d2d; color: #a32d2d; background: #fcebeb; }
.delete-btn svg { width: 14px; height: 14px; }

.bookings-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.bookings-column { min-width: 0; } /* prevents the table's content from forcing the grid track (and the whole dashboard) wider than the viewport */
.bookings-column-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #9a9187; font-weight: 500; margin-bottom: 0.75rem; }
.bookings-column .empty-state { padding: 1.5rem; font-size: 12px; }
.bookings-column table {
  font-size: 12px;
  table-layout: fixed; /* respect column widths below instead of growing to fit content */
}
.bookings-column th, .bookings-column td { padding: 0.6rem 0.65rem; overflow-wrap: break-word; }
.bookings-column th:nth-child(1), .bookings-column td:nth-child(1) { width: 13%; }
.bookings-column th:nth-child(2), .bookings-column td:nth-child(2) { width: 16%; }
.bookings-column th:nth-child(3), .bookings-column td:nth-child(3) { width: 15%; white-space: nowrap; }
.bookings-column th:nth-child(4), .bookings-column td:nth-child(4) { width: 8%; }
.bookings-column th:nth-child(5), .bookings-column td:nth-child(5) { width: 18%; overflow-wrap: anywhere; }
.bookings-column th:nth-child(6), .bookings-column td:nth-child(6) { width: 15%; }
.bookings-column th:nth-child(7), .bookings-column td:nth-child(7) { width: 15%; }
.bookings-column th:nth-child(8), .bookings-column td:nth-child(8) { width: 90px; }

.archived-row { opacity: 0.75; }
.status-badge-static {
  font-size: 12px; padding: 5px 10px; border-radius: 99px; font-weight: 500;
  text-transform: capitalize; display: inline-block;
}
.paid-inline { font-size: 11px; color: #9a9187; display: block; margin-top: 4px; }

.archive-btn, .unarchive-btn {
  width: 30px; height: 30px; border-radius: 4px;
  border: 1px solid #ddd7d2; background: #fff; color: #9a9187;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.archive-btn:hover { border-color: #854f0b; color: #854f0b; background: #faeeda; }
.unarchive-btn:hover { border-color: #0f6e56; color: #0f6e56; background: #e1f5ee; }
.archive-btn svg, .unarchive-btn svg { width: 14px; height: 14px; }
.row-actions { display: flex; gap: 6px; }

.notes-view-btn {
  font-size: 11px; padding: 4px 10px; border-radius: 3px; cursor: pointer;
  border: 1px solid #ddd7d2; background: #fff; color: #6b6560;
}
.notes-view-btn:hover { border-color: #1a1a1a; color: #1a1a1a; }

.notes-modal-content {
  margin-top: 0.75rem;
  font-size: 13px;
  color: #3a3530;
  white-space: pre-wrap;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .bookings-columns { grid-template-columns: 1fr; }
}

/* Fix: remove unwanted white background on hours table */
.hours-table,
.hours-table tr,
.hours-table td {
  background: transparent !important;
}
.hours-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.hours-table tr:last-child {
  border-bottom: none;
}

/* ── REVIEW PHOTO UPLOAD ── */
.photo-upload-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px dashed #ddd7d2; border-radius: 4px;
  padding: 1rem; cursor: pointer; color: #6b6560; font-size: 13px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.photo-upload-btn:hover { border-color: #1a1a1a; color: #1a1a1a; background: #f8f5f2; }
.photo-upload-btn svg { width: 18px; height: 18px; }

.photo-preview-img {
  width: 100%; max-height: 220px; object-fit: cover;
  border-radius: 4px; border: 1px solid #ede7e2; display: block;
}
#photoPreviewWrap { position: relative; }
.photo-remove-btn {
  position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: #fff; border: none;
  font-size: 16px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.photo-remove-btn:hover { background: rgba(0,0,0,0.8); }

.review-card-photo {
  width: 100%; height: 160px; object-fit: cover;
  border-radius: 4px; margin-bottom: 0.75rem; display: block;
}
/* ─────────────────────────────────────────
   FORMERLY-INLINE STYLES
   (migrated out of style="" attributes so CSP style-src can drop
   'unsafe-inline' — see server/app.js)
   ───────────────────────────────────────── */
.hidden { display: none; }

.gmap-embed { border: 0; }

.reviews-section { padding: 3rem 1.5rem; }
.no-padding { padding: 0; }
.heading-spaced { margin-bottom: 1.25rem; }

.footer-legal-note { text-align: center; font-size: 11px; color: #9a9187; margin-top: 1rem; }
.footer-legal-link { color: #9a9187; text-decoration: none; }

.modal-title-tight { margin-bottom: 0; }
.acct-bookings-heading { font-size: 14px; margin-bottom: 0.75rem; }
.review-service-label { font-size: 13px; color: #6b6560; margin-bottom: 1rem; }
.form-group-mt { margin-top: 1rem; }

.auth-submit-dark { background: #3a3530; }
.auth-submit-full { width: 100%; }
.account-logout-spaced { margin-top: 0.5rem; }

.danger-heading { color: #a32d2d; }
.danger-warning-text { font-size: 12px; color: #9a9187; margin-bottom: 0.75rem; }
.delete-confirm-box { margin-top: 0.75rem; }

.post-booking-prompt { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #ede7e2; }
.post-booking-prompt-text { font-size: 13px; color: #3a3530; margin-bottom: 0.75rem; }

.admin-login-note { font-size: 13px; color: #6b6560; margin-bottom: 1.5rem; line-height: 1.6; }
.back-to-site-flush { margin-top: 0; }