/* Aathavan availability — styled to the Excello design system (uses app.css tokens). */

.avail-meta { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; margin-bottom: 24px; }
@media (min-width: 640px) { .avail-meta { grid-template-columns: repeat(3, 1fr); } }
.avail-meta__item { background: var(--panel); padding: 16px 18px; display: grid; gap: 4px; }
.avail-meta__k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.avail-meta__v { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }

.avail-bar { display: grid; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.avail-selects { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.avail-field { display: grid; gap: 5px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.avail-field select { min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font: inherit; color: var(--ink); letter-spacing: normal; text-transform: none; font-weight: 400; }
.avail-reset { margin-left: auto; align-self: end; }

.avail-results { margin-top: 4px; }
table.utable { width: 100%; border-collapse: collapse; font-size: 14px; }
table.utable caption { text-align: left; }
.utable th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #f3f4ed; }
.utable td { padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.utable__row.is-sold, .utable__row.is-reserved { color: var(--muted); }
.utable__no { font-weight: 600; color: var(--ink); }
.utable__badge { display: inline-block; margin-left: 6px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
.utable__badge.is-reserved { background: #fff3e5; color: #7a4a0f; border-color: #e9c99a; }
.utable__badge.is-sold { background: #efefed; color: #4a4a46; border-color: #d7d7d1; }
.utable__cta { text-align: right; white-space: nowrap; }
.utable__state { font-size: 12px; font-weight: 600; color: var(--muted); }
.utable__enq { min-height: 38px; padding: 8px 14px; }

.avail-empty { padding: 36px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-card); display: grid; gap: 14px; justify-items: center; color: var(--muted); }

/* Card-style rows on narrow screens */
@media (max-width: 720px) {
  .utable, .utable thead, .utable tbody, .utable tr, .utable td { display: block; width: 100%; }
  .utable thead { display: none; }
  .utable__row { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 6px 4px; background: #fff; }
  .utable td { border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; }
  .utable td:last-child { border-bottom: 0; }
  .utable td::before { content: attr(data-label); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
  .utable__cta { text-align: left; }
}
