/* Modal overlay + dialog + toast. */

.modal-overlay {
  position: fixed; inset: 0; background: rgba(28,27,25,.4); backdrop-filter: blur(2px);
  z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeIn .2s ease;
}
.modal {
  background: #fff; border-radius: 20px; width: 100%; max-width: 520px; max-height: 90vh;
  overflow: auto; box-shadow: 0 30px 80px -20px rgba(40,33,20,.4); animation: popIn .25s ease;
}
.modal-body { padding: 24px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.modal-title { font-size: 18px; font-weight: 800; }
.modal-close { font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1; }

.reserve-summary {
  background: var(--warn-bg); border: 1px solid #ECDBB4; border-radius: 12px;
  padding: 12px 14px; font-size: 13px; color: var(--warn-fg);
  display: flex; justify-content: space-between; gap: 10px;
}
.reserve-summary .rs-room { font-weight: 700; }

/* Detail modal rows */
.detail-rows { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.detail-row { display: flex; justify-content: space-between; gap: 10px; }
.detail-row .k { color: var(--muted); }
.detail-row .v { font-weight: 600; text-align: left; }
.detail-note { background: var(--soft); border-radius: 10px; padding: 10px 12px; color: var(--muted-2); font-size: 13px; }
.detail-actions { display: flex; gap: 10px; margin-top: 18px; }
.detail-actions .btn { padding: 11px 18px; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 80; transform: translateX(-50%);
  padding: 13px 22px; border-radius: 13px; font-size: 14px; font-weight: 700; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.35); background: var(--ink);
  animation: toastIn .25s ease;
  max-width: calc(100vw - 32px); width: max-content; text-align: center;
}
.toast.warn { background: var(--danger-fg); }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .modal-overlay { padding: 10px; }
  .modal { max-height: 94vh; max-height: 94svh; border-radius: 16px; }
  .modal-body { padding: 18px 16px; }
  .detail-actions { flex-wrap: wrap; }
  .toast { bottom: 16px; }
}
