/* Styles for the "availability-calendar" page-builder component (Retreat
   Pricing plugin) — the per-week dynamic pricing list a generic offer's
   "Secure Your Spot" button links to. See
   app/plugins/retreat-pricing/components/availability_calendar.php. */

.avc-wrap, .avc-wrap *, .avc-wrap *::before, .avc-wrap *::after { box-sizing: border-box; }

.avc-wrap {
  --navy: #0b1825;
  --teal: #45dae7;
  --teal-dark: #0091ad;
  --white: #ffffff;
  --muted: #7d96a3;
  --border: rgba(69,218,231,0.12);
  --row-alt: rgba(255,255,255,0.02);

  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Figtree', sans-serif;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

.avc-head { text-align: center; margin-bottom: 28px; }
/* The heading stands above the dark table, on the page itself. The page is light, so the heading is dark:
   it used to be near-white (made for a dark page) and could not be read. */
.avc-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 2.8px;
  color: #04696c; text-transform: uppercase; margin-bottom: 8px;
}
.avc-wrap h1 {
  font-family: 'Kanit', sans-serif; font-weight: 600;
  font-size: clamp(24px, 4vw, 34px); line-height: 1.15;
  margin: 0 0 8px; color: var(--navy);
}
.avc-sub { font-size: 15px; color: #4d5b66; margin: 0; }

.avc-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.avc-table th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--teal);
  padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.avc-table td {
  padding: 14px 20px; font-size: 14px; color: rgba(255,255,255,0.88);
  border-bottom: 1px solid var(--border);
}
.avc-table tbody tr:nth-child(even) { background: var(--row-alt); }
.avc-table tbody tr:last-child td { border-bottom: none; }

.avc-table .currency { font-size: 12px; color: var(--muted); }
.avc-table .amount {
  font-family: 'Kanit', sans-serif; font-size: 18px; font-weight: 600; color: var(--teal);
}

.avc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(69,218,231,0.10); color: var(--teal);
  border: 1.5px solid rgba(69,218,231,0.35);
  font-family: 'Figtree', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 9px 14px; border-radius: 8px; text-decoration: none;
  transition: background .15s, border-color .15s; white-space: nowrap;
}
.avc-btn:hover { background: rgba(69,218,231,0.20); border-color: var(--teal); }

.avc-unavailable { font-size: 12px; color: var(--muted); font-style: italic; }

@media (max-width: 560px) {
  .avc-table th, .avc-table td { padding: 10px 12px; font-size: 13px; }
  .avc-table .amount { font-size: 16px; }
}
