@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600;700&display=swap');

:root {
  color-scheme: light;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  background: #000000;
  color: #14181f;
}

* {
  box-sizing: border-box;
}

/* body {
  margin: 0;
  padding: 32px 20px 40px;
  min-height: 100vh;
  background:
    radial-gradient(1200px 420px at 10% 0%, #dfe9ff 0%, rgba(223, 233, 255, 0) 60%),
    radial-gradient(900px 400px at 90% 20%, #ffe9d6 0%, rgba(255, 233, 214, 0) 60%),
    linear-gradient(180deg, #f8fafc 0%, #eef1f6 100%);
} */

body {
  margin: 0;
  padding: 0;
  background: none;
  overflow: hidden;
}
 
html {
  background: none;
}

.card {
  position: relative;
  width: 100%;
  margin: 0;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.15);
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.08);
  transition:
    height 0.24s ease,
    border-radius 0.24s ease,
    box-shadow 0.24s ease;
}

.card-actions {
  position: relative;
  padding: 18px 28px 18px 28px;
  transition: padding 0.24s ease;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease,
    padding 0.24s ease,
    font-size 0.24s ease,
    border-radius 0.24s ease;
}

.back-button:hover {
  background: #dbeafe;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.18);
}

.back-button:disabled {
  cursor: not-allowed;
  opacity: 0.75;
  transform: none;
  box-shadow: none;
}

.booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.58);
  display: grid;
  place-items: center;
  padding: 16px;
}

.booking-modal-overlay[hidden] {
  display: none !important;
}

.booking-modal {
  width: min(420px, 100%);
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
  padding: 18px;
  position: relative;
}

.booking-modal-content {
  display: grid;
  gap: 10px;
}

.booking-modal-content[hidden] {
  display: none !important;
}

.booking-modal-title {
  margin: 0;
  font-size: 22px;
  color: #0f172a;
}

.booking-modal-subtitle {
  margin: 0;
  color: #475569;
  font-size: 13px;
}

.booking-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.booking-form {
  display: grid;
  gap: 8px;
}

.booking-label {
  font-size: 12px;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.booking-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
}

.booking-input:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.booking-error {
  margin: 0;
  color: #b91c1c;
  font-size: 12px;
}

.booking-submit {
  margin-top: 4px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  background: #2563eb;
  color: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  cursor: pointer;
}

.booking-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(255, 159, 67, 0.08));
  pointer-events: none;
}

.card-header {
  position: relative;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f3f6ff 100%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: padding 0.24s ease, gap 0.24s ease;
}

.card-header-content {
  display: grid;
  gap: 4px;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #0f172a;
  transition: font-size 0.24s ease;
}

.card-subtitle {
  margin-top: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
}

.status-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: font-size 0.24s ease, padding 0.24s ease, letter-spacing 0.24s ease;
}

.status-available {
  color: #166534;
  background: #dcfce7;
  border-color: rgba(22, 101, 52, 0.2);
}

.status-reserved {
  color: #92400e;
  background: #ffedd5;
  border-color: rgba(146, 64, 14, 0.25);
}

.status-sold {
  color: #991b1b;
  background: #fee2e2;
  border-color: rgba(153, 27, 27, 0.25);
}

.status-unknown {
  color: #475569;
  background: #e2e8f0;
  border-color: rgba(71, 85, 105, 0.2);
}

.card-body {
  position: relative;
  padding: 18px 28px 28px;
  display: grid;
  gap: 14px;
  transition: padding 0.24s ease, gap 0.24s ease;
}

.section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94a3b8;
  margin-bottom: 12px;
  transition: font-size 0.24s ease, margin-bottom 0.24s ease, letter-spacing 0.24s ease;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  transition: gap 0.24s ease;
}

.stat {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 6px;
  transition: padding 0.24s ease, border-radius 0.24s ease, gap 0.24s ease;
}

.extra-grid {
  display: grid;
  gap: 12px;
  transition: gap 0.24s ease;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    padding 0.24s ease,
    border-radius 0.24s ease,
    gap 0.24s ease;
}

.row:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  transition: font-size 0.24s ease, letter-spacing 0.24s ease;
}

.value {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  transition: font-size 0.24s ease;
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card-header,
  .card-body,
  .card-actions,
  .card-title,
  .status-pill,
  .section-title,
  .stats-grid,
  .stat,
  .extra-grid,
  .row,
  .label,
  .value,
  .back-button {
    transition: none;
  }
}

@media (max-height: 800px) {
  .card {
    display: flex;
    flex-direction: column;
  }

  .card-header {
    padding: 18px 22px 14px;
    gap: 12px;
  }

  .card-title {
    font-size: 20px;
  }

  .status-pill {
    font-size: 11px;
    padding: 5px 10px;
  }

  .card-body {
    flex: 1;
    overflow: auto;
    padding: 14px 22px 16px;
    gap: 10px;
  }

  .section-title {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .stats-grid {
    gap: 8px;
  }

  .stat,
  .row {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .label {
    font-size: 11px;
  }

  .value {
    font-size: 14px;
  }

  .card-actions {
    padding: 12px 22px;
  }

  .booking-modal {
    border-radius: 14px;
    padding: 14px;
  }

  .booking-modal-title {
    font-size: 19px;
  }

  .booking-input,
  .booking-submit {
    padding: 8px 10px;
    font-size: 13px;
  }
}

@media (max-height: 650px) {
  .card-header {
    padding: 12px 16px 10px;
    gap: 8px;
  }

  .card-title {
    font-size: 17px;
  }

  .status-pill {
    font-size: 10px;
    padding: 4px 8px;
  }

  .card-body {
    padding: 10px 16px 12px;
    gap: 8px;
  }

  .section-title {
    font-size: 10px;
    margin-bottom: 6px;
    letter-spacing: 0.14em;
  }

  .stats-grid,
  .extra-grid {
    gap: 6px;
  }

  .stat {
    gap: 4px;
  }

  .stat,
  .row {
    padding: 8px 10px;
    border-radius: 10px;
  }

  .label {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .value {
    font-size: 12px;
  }

  .row:hover {
    transform: none;
    box-shadow: none;
  }

  .card-actions {
    padding: 8px 16px;
  }

  .back-button {
    font-size: 12px;
    padding: 6px 10px;
  }

  .booking-modal {
    padding: 12px;
  }

  .booking-modal-title {
    font-size: 17px;
  }

  .booking-modal-subtitle,
  .booking-label,
  .booking-error {
    font-size: 11px;
  }
}

@media (max-height: 500px) {
  .card-header {
    padding: 8px 10px 7px;
    gap: 6px;
  }

  .card-title {
    font-size: 14px;
  }

  .status-pill {
    font-size: 8px;
    padding: 3px 6px;
    letter-spacing: 0.04em;
  }

  .card-body {
    padding: 6px 10px 8px;
    gap: 6px;
  }

  .section-title {
    font-size: 9px;
    margin-bottom: 4px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .stat,
  .row {
    padding: 6px 7px;
    border-radius: 8px;
  }

  .label {
    font-size: 8px;
  }

  .value {
    font-size: 10px;
  }

  .card-actions {
    padding: 6px 10px;
  }

  .back-button {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 8px;
  }

  .booking-modal-overlay {
    padding: 10px;
  }

  .booking-modal {
    padding: 10px;
    border-radius: 10px;
  }

  .booking-modal-close {
    width: 26px;
    height: 26px;
    font-size: 18px;
  }

  .booking-modal-title {
    font-size: 14px;
  }

  .booking-input,
  .booking-submit {
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 8px;
  }
}

@media (max-height: 360px) {
  .card-header {
    padding: 6px 8px 5px;
  }

  .card-title {
    font-size: 12px;
  }

  .status-pill {
    font-size: 7px;
    padding: 2px 5px;
    letter-spacing: 0;
  }

  .card-body {
    padding: 4px 8px 6px;
    gap: 4px;
  }

  .section-title {
    font-size: 8px;
  }

  .stats-grid,
  .extra-grid {
    gap: 3px;
  }

  .stat,
  .row {
    padding: 4px 6px;
    border-radius: 6px;
  }

  .label {
    font-size: 7px;
  }

  .value {
    font-size: 9px;
  }

  .card-actions {
    padding: 4px 8px;
  }

  .back-button {
    font-size: 9px;
    padding: 3px 6px;
  }

  .booking-modal {
    padding: 8px;
  }

  .booking-modal-title {
    font-size: 12px;
  }
}

@media (max-height: 250px) {
  .card-header {
    padding: 4px 6px;
  }

  .card-title {
    font-size: 10px;
  }

  .status-pill {
    font-size: 6px;
    padding: 1px 4px;
  }

  .card-body {
    padding: 3px 6px 4px;
  }

  .section-title {
    font-size: 7px;
    margin-bottom: 2px;
  }

  .stat,
  .row {
    padding: 3px 5px;
  }

  .label {
    font-size: 6px;
  }

  .value {
    font-size: 8px;
  }

  .card-actions {
    padding: 3px 6px;
  }

  .back-button {
    font-size: 8px;
    padding: 2px 5px;
  }

  .booking-modal-overlay {
    padding: 6px;
  }

  .booking-modal {
    padding: 6px;
    border-radius: 8px;
  }

  .booking-modal-title {
    font-size: 10px;
  }

  .booking-input,
  .booking-submit {
    font-size: 9px;
    padding: 4px 6px;
  }
}

@media (max-width: 600px) {
  body {
    padding: 18px 14px 28px;
  }

  .card {
    border-radius: 16px;
  }

  .card-header,
  .card-body,
  .card-actions {
    padding-left: 20px;
    padding-right: 20px;
  }

  .row {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 340px) {
  .card-title {
    font-size: 16px;
  }
  .status-pill {
    font-size: 8px;
  }
}

@media (max-width: 260px) {
  .card-title {
    font-size: 11px;
  }
  .status-pill {
    font-size: 6px;
  }
  .card-header {
    flex-direction: column;
  }
  .section-title {
    font-size: 9px;
  }
  .value {
    font-size: 10px;
  }
  .label {
    font-size: 8px;
  }
  .back-button {
    font-size: 9px;
  }
}