@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400..900&family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --font-display: "Bodoni Moda", "Bodoni MT", Didot, "Times New Roman", serif;
  --font-sans: Montserrat, "Avenir Next", "Segoe UI", Arial, sans-serif;
  --ink: #f7f3ef;
  --muted: #aaa4aa;
  --paper: #181820;
  --panel: #20202b;
  --field: #2a2a31;
  --line: rgba(255, 255, 255, 0.11);
  --admin: #ef4444;
  --reception: #f97316;
  --danger: #ff6868;
  --success: #2fb36d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at top left, rgba(239, 68, 68, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.14), transparent 32%),
    linear-gradient(135deg, #08080b 0%, #111118 48%, #191923 100%);
}

.auth-page {
  display: grid;
  place-items: center;
  padding: 28px;
}

.login-shell {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
}

.brand-panel,
.login-card,
.hero-card,
.info-grid article {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(24, 24, 32, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.brand-panel {
  min-height: 520px;
  padding: 44px;
  display: grid;
  align-content: center;
  gap: 18px;
  overflow: hidden;
  position: relative;
}

.brand-logo {
  width: 154px;
  max-height: 116px;
  object-fit: contain;
  object-position: left center;
}

.brand-panel > * {
  position: relative;
  z-index: 1;
}

.brand-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: 38px;
  right: 42px;
  border-radius: 999px;
  border: 34px solid rgba(239, 68, 68, 0.14);
  z-index: 0;
}

.page-logo {
  width: min(220px, 58%);
  max-height: 92px;
  margin-bottom: 28px;
  object-fit: contain;
  object-position: left center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--admin);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
}

h1 {
  max-width: 660px;
  font-size: 4.7rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: 2.1rem;
  letter-spacing: 0;
}

.brand-panel p:not(.eyebrow),
.hero-card p,
.muted {
  color: var(--muted);
  line-height: 1.7;
}

.role-pills,
.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.role-pills span,
.role-pills a,
.nav-actions a,
.nav-actions button,
.primary-link,
.secondary-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.login-card {
  padding: 42px;
  align-self: stretch;
  display: grid;
  align-content: center;
}

.login-form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
  color: var(--ink);
  background: var(--field);
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--field);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--admin);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.16);
}

button,
.primary-link,
.secondary-link {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.login-form button,
.primary-link {
  border: 0;
  border-radius: 18px;
  padding: 15px 18px;
  color: #fff8f5;
  background: linear-gradient(135deg, var(--admin), #991b1b);
  font-family: var(--font-sans);
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(239, 68, 68, 0.24);
}

button:hover,
.primary-link:hover {
  transform: translateY(-1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.message {
  min-height: 24px;
  margin: 18px 0 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.message.error {
  color: var(--danger);
}

.message.success {
  color: var(--success);
}

.app-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity 160ms ease;
}

.app-confirm-backdrop.active {
  opacity: 1;
}

.app-confirm-backdrop[hidden] {
  display: none;
}

.app-confirm-modal {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  border: 1px solid rgba(226, 183, 112, 0.34);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 30px);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(226, 183, 112, 0.18), transparent 38%),
    rgba(24, 24, 32, 0.98);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  transform: translateY(8px) scale(0.98);
  transition: transform 160ms ease;
}

.app-confirm-backdrop.active .app-confirm-modal {
  transform: translateY(0) scale(1);
}

.app-confirm-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 185, 40, 0.48);
  border-radius: 16px;
  color: #21150a;
  background: linear-gradient(135deg, #f4d49b, #b97a2e);
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(226, 183, 112, 0.2);
}

.app-confirm-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
}

.app-confirm-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  line-height: 1.6;
}

.app-confirm-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.app-confirm-actions button {
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 900;
}

.app-confirm-actions .secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.app-confirm-actions .primary-action {
  border: 0;
  color: #21150a;
  background: linear-gradient(135deg, #f4d49b, #b97a2e);
  box-shadow: 0 16px 34px rgba(226, 183, 112, 0.22);
}

.reservation-created-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 12px;
}

.reservation-created-details div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.reservation-created-details dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.reservation-created-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.reservation-created-return {
  color: var(--success) !important;
}

.topbar {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px 12px 22px;
  background: rgba(17, 17, 24, 0.82);
  backdrop-filter: blur(14px);
}

.nav-actions button {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 36px auto;
}

.topbar.concierge-topbar,
.topbar.admin-topbar,
.page-shell.concierge-page,
.page-shell.admin-page {
  width: min(1440px, calc(100% - 24px));
}

.page-shell.concierge-page,
.page-shell.admin-page {
  margin: 22px auto;
}

.hero-card {
  padding: clamp(32px, 6vw, 70px);
}

.hero-card h1 {
  margin-bottom: 18px;
}

.admin-theme {
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px) clamp(26px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(24, 24, 32, 0.92)),
    rgba(24, 24, 32, 0.88);
}

.receptionist-theme {
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px) clamp(26px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(24, 24, 32, 0.92)),
    rgba(24, 24, 32, 0.88);
}

.concierge-hero {
  padding: 24px 34px;
  border-radius: 22px;
}

.receptionist-theme.concierge-hero h1 {
  max-width: none;
  margin-bottom: 8px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.receptionist-theme.concierge-hero p:not(.eyebrow) {
  max-width: none;
  line-height: 1.35;
}

.admin-theme > *,
.receptionist-theme > * {
  position: relative;
  z-index: 1;
}

.admin-theme .page-logo,
.receptionist-theme .page-logo {
  display: none;
}

.admin-theme h1,
.receptionist-theme h1 {
  max-width: 640px;
  margin-bottom: 10px;
  font-size: clamp(2.45rem, 5vw, 3.35rem);
}

.admin-theme p:not(.eyebrow),
.receptionist-theme p:not(.eyebrow) {
  max-width: 780px;
  line-height: 1.45;
}

.client-theme {
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(24, 24, 32, 0.88)),
    rgba(24, 24, 32, 0.88);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.info-grid article {
  padding: 24px;
}

.info-grid h3 {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.crud-shell {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(22px, 4vw, 36px);
  background: rgba(24, 24, 32, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.concierge-page .crud-shell {
  margin-top: 14px;
  border-radius: 22px;
  padding: clamp(16px, 2.2vw, 24px);
}

.concierge-tabs {
  margin: 14px 0;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.admin-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-sans);
  font-weight: 800;
}

.admin-tabs button.active {
  border-color: rgba(239, 68, 68, 0.48);
  color: #fff8f5;
  background: linear-gradient(135deg, var(--admin), #991b1b);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.analytics-shell {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(22px, 4vw, 36px);
  background: rgba(12, 18, 32, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cash-control-shell {
  margin-top: 18px;
  border: 1px solid rgba(226, 183, 112, 0.24);
  border-radius: 30px;
  padding: clamp(22px, 4vw, 36px);
  background:
    radial-gradient(circle at top left, rgba(226, 183, 112, 0.14), transparent 34%),
    rgba(20, 17, 15, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.audit-shell {
  margin-top: 18px;
  border: 1px solid rgba(239, 68, 68, 0.26);
  border-radius: 30px;
  padding: clamp(22px, 4vw, 36px);
  background:
    radial-gradient(circle at top left, rgba(239, 68, 68, 0.13), transparent 30%),
    rgba(16, 18, 28, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.audit-limit-card {
  min-width: 210px;
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: 18px;
  padding: 15px 18px;
  background: rgba(239, 68, 68, 0.08);
}

.audit-limit-card span,
.audit-summary-grid span {
  display: block;
  color: var(--admin);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audit-limit-card strong,
.audit-summary-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.35rem;
}

.audit-limit-card small,
.audit-summary-grid small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.audit-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.audit-summary-grid article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.audit-summary-grid strong {
  font-size: 2rem;
}

.audit-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(145px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 18px 0 8px;
}

.audit-filters label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
}

.audit-filters button {
  min-height: 52px;
  border: 0;
  color: #fff8f5;
  background: linear-gradient(135deg, var(--admin), #991b1b);
}

.audit-table {
  min-width: 1100px;
}

.audit-table td {
  font-size: 0.9rem;
}

.audit-table td strong,
.audit-table td small {
  display: block;
}

.audit-table td small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
}

.audit-table code {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.audit-action-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  padding: 5px 9px;
  color: #e5e7eb;
  background: rgba(148, 163, 184, 0.12);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.audit-action-pill.crear,
.audit-action-pill.modificar {
  border-color: rgba(251, 191, 36, 0.32);
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
}

.audit-action-pill.eliminar {
  border-color: rgba(239, 68, 68, 0.42);
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
}

.audit-action-pill.ver,
.audit-action-pill.ver_lista {
  border-color: rgba(45, 212, 191, 0.32);
  color: #99f6e4;
  background: rgba(45, 212, 191, 0.12);
}

.help-guide-shell {
  background:
    radial-gradient(circle at top left, rgba(239, 68, 68, 0.12), transparent 30%),
    rgba(24, 24, 32, 0.9);
}

.help-guide-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.help-guide-summary article,
.help-guide-flow,
.help-guide-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 15, 0.28);
}

.help-guide-summary article {
  display: grid;
  gap: 8px;
  border-radius: 16px;
  padding: 18px;
}

.help-guide-summary span,
.help-guide-flow span,
.help-guide-card span {
  color: var(--admin);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.help-guide-summary strong {
  font-size: 1.12rem;
}

.help-guide-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.help-guide-flow {
  display: grid;
  gap: 12px;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
}

.help-guide-flow ol {
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
  line-height: 1.7;
}

.help-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.help-guide-card {
  display: grid;
  align-content: start;
  gap: 10px;
  border-radius: 18px;
  padding: 18px;
}

.help-guide-card h3 {
  margin-bottom: 0;
  font-size: 1.24rem;
}

.help-guide-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.help-guide-card small {
  display: block;
  border-left: 3px solid rgba(239, 68, 68, 0.58);
  padding-left: 10px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.55;
}

.analytics-filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.analytics-filters label {
  display: grid;
  gap: 7px;
  min-width: 150px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
}

.analytics-filters button {
  border: 0;
  color: #fff8f5;
  background: linear-gradient(135deg, var(--admin), #991b1b);
}

.analytics-filters .cash-load-button {
  min-height: 52px;
  border: 1px solid rgba(244, 212, 155, 0.42);
  padding: 14px 22px;
  color: #21150a;
  background: linear-gradient(135deg, #f4d49b, #b97a2e);
  box-shadow: 0 16px 34px rgba(226, 183, 112, 0.24);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.analytics-filters .cash-load-button:hover {
  box-shadow: 0 20px 44px rgba(226, 183, 112, 0.34);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-card {
  min-height: 168px;
  display: grid;
  align-content: center;
  gap: 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.84);
}

.metric-card span,
.chart-panel header span,
.analytics-table-panel header span {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-card strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 2.7rem;
  line-height: 1;
}

.metric-card small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.metric-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.metric-bar i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--success);
}

.metric-card.success {
  border-color: rgba(47, 179, 109, 0.26);
}

.metric-card.info {
  border-color: rgba(59, 130, 246, 0.28);
}

.metric-card.info strong {
  color: #2f8cff;
}

.metric-card.info .metric-bar i {
  background: #2f8cff;
}

.metric-card.warning {
  border-color: rgba(245, 185, 40, 0.32);
}

.metric-card.warning strong {
  color: #f5b928;
}

.metric-card.warning .metric-bar i {
  background: #f5b928;
}

.metric-card.accent {
  border-color: rgba(34, 211, 238, 0.30);
}

.metric-card.accent strong {
  color: #22d3ee;
}

.metric-card.accent .metric-bar i {
  background: #22d3ee;
}

.cash-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.cash-summary-card {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(226, 183, 112, 0.22);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.cash-summary-card span,
.cash-summary-card small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
}

.cash-summary-card strong {
  color: #f4d49b;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  line-height: 1;
}

.cash-summary-card.expected strong {
  color: #38bdf8;
}

.cash-summary-card.real strong {
  color: #22c55e;
}

.cash-summary-card.difference strong {
  color: #f59e0b;
}

.cash-summary-card.difference.is-balanced strong {
  color: var(--success);
}

.cash-summary-card.difference.is-missing strong {
  color: var(--danger);
}

.cash-control-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cash-control-form label {
  display: grid;
  gap: 7px;
}

.cash-difference-alert {
  margin-top: 16px;
  border: 1px solid rgba(245, 185, 40, 0.24);
  border-radius: 18px;
  padding: 14px 16px;
  color: #ffe3a4;
  background: rgba(245, 185, 40, 0.08);
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.cash-difference-alert.success {
  border-color: rgba(47, 179, 109, 0.28);
  color: #bff5d7;
  background: rgba(47, 179, 109, 0.10);
}

.cash-difference-alert.error {
  border-color: rgba(255, 104, 104, 0.28);
  color: #ffd0da;
  background: rgba(255, 104, 104, 0.10);
}

.cash-history-panel {
  margin-top: 22px;
}

.cash-history-table tbody tr {
  cursor: pointer;
}

.cash-history-table tbody tr:hover,
.cash-history-table tbody tr.selected {
  background: rgba(226, 183, 112, 0.10);
}

.cash-guide-card,
.cash-method-panel {
  margin-bottom: 18px;
  border: 1px solid rgba(226, 183, 112, 0.18);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.cash-guide-card strong,
.cash-method-heading h3,
.cash-method-name strong {
  color: #f4d49b;
  font-family: var(--font-sans);
}

.cash-guide-card ol {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.7;
}

.cash-method-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.cash-method-heading h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.cash-method-grid {
  display: grid;
  gap: 12px;
}

.cash-method-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) repeat(3, minmax(130px, 1fr));
  gap: 12px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.16);
}

.cash-method-name span,
.cash-method-stat span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cash-method-name strong,
.cash-method-stat strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.cash-method-row label {
  display: grid;
  gap: 7px;
}

.cash-method-row input {
  min-width: 0;
}

.cash-method-difference.is-balanced strong {
  color: var(--success);
}

.cash-method-difference.is-missing strong {
  color: var(--danger);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.chart-panel,
.analytics-table-panel {
  min-height: 340px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  padding: 22px;
  background: rgba(15, 23, 42, 0.84);
}

.chart-panel.wide {
  grid-column: 1 / -1;
}

.chart-panel header,
.analytics-table-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.chart-panel h3,
.analytics-table-panel h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.chart-canvas {
  min-height: 260px;
  display: grid;
  align-items: center;
}

.chart-canvas svg {
  width: 100%;
  height: auto;
  min-height: 240px;
}

.chart-empty {
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.analytics-table-panel {
  min-height: auto;
  margin-top: 18px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.74rem;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.crud-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.guided-maintainer-shell {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  padding: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 30%),
    rgba(15, 15, 23, 0.94);
  box-shadow: var(--shadow);
}

.guided-maintainer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.guided-maintainer-header h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.guided-readiness-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(245, 185, 40, 0.35);
  border-radius: 999px;
  padding: 10px 14px;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.1);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
}

.guided-readiness-badge.ready {
  border-color: rgba(47, 179, 109, 0.42);
  color: #7dd3b0;
  background: rgba(47, 179, 109, 0.1);
}

.guided-step-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.guided-step-progress span {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.guided-step-progress span[data-step-status="ready"] {
  border-color: rgba(47, 179, 109, 0.38);
  color: #7dd3b0;
  background: rgba(47, 179, 109, 0.08);
}

.guided-step-progress span[data-step-status="pending"] {
  border-color: rgba(245, 158, 11, 0.22);
}

.guided-room-form {
  display: grid;
  gap: 16px;
}

.guided-assistant-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.guided-assistant-tabs button {
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 900;
}

.guided-assistant-tabs button.active {
  border-color: rgba(34, 211, 238, 0.5);
  color: #cffafe;
  background: rgba(14, 116, 144, 0.22);
}

.guided-assistant-panel {
  display: none;
}

.guided-assistant-panel.active {
  display: block;
}

.guided-assistant-heading {
  margin-bottom: 16px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 18px;
  padding: 16px;
  background: rgba(14, 116, 144, 0.07);
}

.guided-assistant-heading h3 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
}

.guided-assistant-heading p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  line-height: 1.5;
}

.guided-simple-form {
  display: grid;
  gap: 16px;
}

.guided-helper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.guided-helper-grid article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 16px;
  padding: 14px;
  background: rgba(14, 116, 144, 0.07);
}

.guided-helper-grid span {
  color: #67e8f9;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guided-helper-grid strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.94rem;
}

.guided-helper-grid small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.45;
}

.guided-step-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  padding: 18px;
  background: rgba(15, 23, 42, 0.5);
}

.guided-step-card[data-step-status="ready"] {
  border-color: rgba(47, 179, 109, 0.34);
  background:
    linear-gradient(135deg, rgba(47, 179, 109, 0.08), transparent 34%),
    rgba(15, 23, 42, 0.5);
}

.guided-step-card[data-step-status="ready"] .guided-step-number {
  border-color: rgba(47, 179, 109, 0.46);
  color: #bbf7d0;
  background: rgba(47, 179, 109, 0.16);
}

.guided-step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.38);
  border-radius: 14px;
  color: #cffafe;
  background: rgba(14, 116, 144, 0.2);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 900;
}

.guided-step-content {
  min-width: 0;
}

.guided-step-content > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.guided-step-content h3 {
  margin: 0 0 5px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
}

.guided-step-content header p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.guided-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guided-category-preview {
  margin-top: 12px;
}

.guided-draft-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(245, 158, 11, 0.07);
}

.guided-draft-card.ready {
  border-color: rgba(47, 179, 109, 0.34);
  background: rgba(47, 179, 109, 0.07);
}

.guided-draft-card span,
.guided-draft-card em,
.guided-draft-issues span,
.guided-inline-hint {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.76rem;
}

.guided-draft-card span {
  color: #fcd34d;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guided-draft-card.ready span {
  color: #7dd3b0;
}

.guided-draft-card strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.24rem;
}

.guided-draft-card small {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.guided-draft-card em {
  font-style: normal;
}

.guided-draft-issues {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.guided-draft-issues span {
  border: 1px solid rgba(239, 68, 68, 0.36);
  border-radius: 999px;
  padding: 6px 9px;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
  font-weight: 800;
}

.guided-category-grid label,
.guided-room-row label,
.guided-rate-tools label,
.guided-days-grid label,
.guided-retire-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
}

.guided-category-grid input,
.guided-category-grid select,
.guided-room-row input,
.guided-rate-tools select,
.guided-rate-table input,
.guided-rate-table select,
.guided-days-grid input,
.guided-days-grid select {
  min-height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.guided-category-grid select option,
.guided-rate-tools select option,
.guided-rate-table select option {
  color: #111827;
  background: #ffffff;
}

.guided-days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.guided-days-grid label {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.guided-days-grid input[type="checkbox"] {
  min-height: auto;
  width: 18px;
  height: 18px;
}

.guided-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 16px;
  align-items: start;
}

.guided-product-preview {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(47, 179, 109, 0.26);
  border-radius: 20px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(47, 179, 109, 0.14), transparent 36%),
    rgba(15, 23, 42, 0.76);
}

.guided-product-preview span {
  color: #7dd3b0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guided-product-preview strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.25rem;
}

.guided-product-preview p,
.guided-product-preview small {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  line-height: 1.5;
}

.guided-payment-grid {
  display: grid;
  gap: 1rem;
}

.guided-payment-row {
  padding: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.62);
}

.guided-payment-row > header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.guided-payment-row > header span,
.guided-payment-row > header small,
.guided-switch-field {
  color: var(--muted);
}

.guided-payment-row > header strong {
  display: block;
  margin: 0.15rem 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
}

.guided-switch-field {
  min-width: 150px;
}

.guided-secondary-button {
  min-height: 44px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 12px;
  padding: 10px 14px;
  color: #cffafe;
  background: rgba(14, 116, 144, 0.16);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
}

.guided-secondary-button:hover {
  border-color: rgba(103, 232, 249, 0.65);
  background: rgba(14, 116, 144, 0.28);
}

.guided-room-rows {
  display: grid;
  gap: 10px;
}

.guided-room-row {
  display: grid;
  grid-template-columns: 38px minmax(110px, 0.65fr) minmax(210px, 1.35fr) minmax(90px, 0.45fr) minmax(130px, 0.65fr) auto;
  align-items: end;
  gap: 10px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.guided-row-index {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 10px;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  font-family: var(--font-sans);
  font-weight: 800;
}

.guided-remove-button {
  min-height: 42px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 9px 12px;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
}

.guided-remove-button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.guided-rate-explainer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.guided-rate-explainer article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 16px;
  padding: 14px;
  background: rgba(14, 116, 144, 0.08);
}

.guided-rate-explainer span {
  color: #67e8f9;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guided-rate-explainer strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.96rem;
}

.guided-rate-explainer small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.45;
}

.guided-rate-tools {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.guided-inline-hint {
  margin: -2px 0 12px;
  line-height: 1.45;
}

.guided-rate-tools label {
  flex: 1 1 230px;
}

.guided-pricing-readiness {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.guided-check {
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  padding: 7px 10px;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.08);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
}

.guided-check.ready {
  border-color: rgba(47, 179, 109, 0.36);
  color: #7dd3b0;
  background: rgba(47, 179, 109, 0.08);
}

.guided-check.danger {
  border-color: rgba(239, 68, 68, 0.36);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
}

.guided-rate-table-wrap {
  max-height: 420px;
}

.guided-rate-table {
  min-width: 680px;
}

.guided-rate-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.guided-rate-table td:last-child,
.guided-rate-table th:last-child {
  width: 90px;
}

.guided-configuration-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.guided-configuration-summary article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.guided-configuration-summary span,
.guided-configuration-summary small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
}

.guided-configuration-summary strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.guided-configuration-summary article.danger {
  border-color: rgba(239, 68, 68, 0.36);
  background: rgba(239, 68, 68, 0.07);
}

.guided-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.guided-final-actions button {
  min-height: 48px;
  border-radius: 12px;
  padding: 12px 18px;
}

.guided-retire-card {
  margin-top: 18px;
  border: 1px solid rgba(239, 68, 68, 0.24);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(239, 68, 68, 0.1), transparent 34%),
    rgba(15, 23, 42, 0.56);
}

.guided-retire-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.guided-retire-card h3 {
  margin: 4px 0 6px;
  font-family: var(--font-sans);
  font-size: 1.08rem;
}

.guided-retire-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.55;
}

.guided-retire-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guided-retire-columns > div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.guided-retire-columns h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.98rem;
}

.guided-retire-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 12px;
}

.guided-retire-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
}

.guided-retire-controls select {
  min-height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.guided-retire-controls select option {
  color: #111827;
  background: #ffffff;
}

.guided-retire-review {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 18px;
  padding: 14px;
  background: rgba(245, 158, 11, 0.06);
}

.guided-retire-review.empty-state {
  display: block;
  color: var(--muted);
}

.guided-retire-review.ready {
  border-color: rgba(47, 179, 109, 0.34);
  background: rgba(47, 179, 109, 0.07);
}

.guided-retire-review.danger {
  border-color: rgba(239, 68, 68, 0.36);
  background: rgba(239, 68, 68, 0.08);
}

.guided-retire-review article {
  display: grid;
  gap: 5px;
}

.guided-retire-review span,
.guided-retire-review small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
}

.guided-retire-review span {
  color: #fca5a5;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guided-retire-review.ready span {
  color: #7dd3b0;
}

.guided-retire-review strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.96rem;
}

.guided-retire-message {
  margin-top: 14px;
}

@media (max-width: 1050px) {
  .guided-step-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guided-room-row {
    grid-template-columns: 38px repeat(2, minmax(0, 1fr));
  }

  .guided-room-row .guided-remove-button {
    grid-column: 2 / -1;
  }

  .guided-configuration-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guided-rate-explainer {
    grid-template-columns: 1fr;
  }

  .guided-helper-grid,
  .guided-product-layout {
    grid-template-columns: 1fr;
  }

  .guided-days-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guided-retire-review {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guided-retire-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .guided-maintainer-header,
  .guided-step-content > header {
    align-items: stretch;
    flex-direction: column;
  }

  .guided-readiness-badge {
    align-self: flex-start;
  }

  .guided-step-card {
    grid-template-columns: 1fr;
  }

  .guided-category-grid,
  .guided-step-progress,
  .guided-days-grid,
  .guided-room-row,
  .guided-configuration-summary {
    grid-template-columns: 1fr;
  }

  .guided-room-row .guided-remove-button {
    grid-column: auto;
  }

  .guided-rate-tools,
  .guided-rate-tools button,
  .guided-retire-controls,
  .guided-retire-controls button,
  .guided-retire-review,
  .guided-final-actions,
  .guided-final-actions button {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

.crud-heading h2 {
  margin-bottom: 8px;
}

.reservation-controls {
  flex: 1 1 620px;
  max-width: 760px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(170px, 260px);
  gap: 12px;
}

.reservation-controls input,
.reservation-controls select {
  min-height: 62px;
  border-radius: 22px;
}

.crud-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.crud-form label {
  display: grid;
  gap: 7px;
}

.full-field {
  grid-column: 1 / -1;
}

.companions-panel:empty {
  display: none;
}

.companions-panel {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
  background:
    linear-gradient(135deg, rgba(125, 211, 176, 0.055), rgba(239, 68, 68, 0.04)),
    rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.companions-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.76rem;
}

.companions-heading strong {
  color: #fff8f5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.companions-heading span {
  border: 1px solid rgba(125, 211, 176, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--success);
  background: rgba(125, 211, 176, 0.08);
  text-align: center;
}

.companions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 10px;
}

.companion-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(180px, 1fr) minmax(160px, 0.85fr);
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 15, 0.34);
}

.companion-row h4 {
  margin: 0;
  color: var(--admin);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.companion-row label {
  align-self: end;
  margin: 0;
}

.crud-form .companions-panel {
  gap: 0;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.028);
}

.companions-compact {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}

.companions-compact-copy {
  display: grid;
  gap: 4px;
}

.companions-compact-copy strong {
  color: #fff8f5;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.companions-compact-copy span {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.76rem;
}

.companions-compact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.companion-chip {
  max-width: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.companion-chip.ok {
  border-color: rgba(125, 211, 176, 0.32);
  color: var(--success);
  background: rgba(125, 211, 176, 0.08);
}

.companion-chip.pending,
.companion-chip.warning {
  border-color: rgba(239, 68, 68, 0.34);
  color: var(--admin);
  background: rgba(239, 68, 68, 0.08);
}

.companion-edit-button {
  border: 1px solid rgba(125, 211, 176, 0.34);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--success);
  background: rgba(125, 211, 176, 0.08);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.products-panel .companions-compact-copy strong {
  color: #f4d49b;
}

.products-compact .companion-chip {
  max-width: 260px;
}

.product-modal {
  width: min(780px, 100%);
}

.product-modal-fields {
  display: grid;
  gap: 10px;
}

.product-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(9, 9, 14, 0.26);
}

.product-editor-row.selected {
  border-color: rgba(47, 179, 109, 0.5);
  background:
    linear-gradient(135deg, rgba(47, 179, 109, 0.12), rgba(47, 179, 109, 0.035)),
    rgba(9, 9, 14, 0.28);
}

.product-editor-row .product-card-copy strong {
  font-size: 1rem;
}

.product-editor-row .product-card-copy small {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  line-height: 1.4;
}

.product-editor-row .product-card-copy b {
  font-size: 0.76rem;
}

.product-editor-row .product-card-actions {
  grid-template-columns: 70px 98px;
}

.product-editor-row .product-card-actions input,
.product-editor-row .product-card-actions button {
  height: 40px;
}

.companion-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.companion-modal-backdrop[hidden] {
  display: none;
}

.companion-modal {
  width: min(860px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    #15151d;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.companion-modal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.companion-modal-heading h2 {
  margin: 0;
  font-size: 2.2rem;
}

.companion-modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.35rem;
  line-height: 1;
}

.companion-modal-fields {
  display: grid;
  gap: 12px;
}

.companion-modal-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(180px, 1fr) minmax(160px, 0.85fr) auto;
  align-items: end;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.companion-modal-row h3 {
  margin: 0 0 14px;
  color: var(--admin);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.companion-modal-row label {
  display: grid;
  gap: 7px;
}

.companion-remove-button {
  border: 1px solid rgba(255, 75, 82, 0.55);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--admin);
  background: rgba(255, 75, 82, 0.1);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.companion-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.companion-modal-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 900;
}

.companion-modal-actions .primary-action {
  border: 0;
  color: #fff8f5;
  background: linear-gradient(135deg, var(--admin), #991b1b);
}

.companions-summary {
  display: grid;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  color: var(--ink);
  font-size: 0.86rem;
}

.companions-summary strong {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.companions-summary span {
  color: var(--ink);
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.room-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.room-category-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.room-category-grid .room-card {
  min-height: 184px;
  align-content: center;
  gap: 5px;
  border-radius: 20px;
  padding: 22px 12px 17px;
}

.room-category-grid .room-radio {
  width: 23px;
  height: 23px;
  border-width: 2px;
}

.room-category-grid .room-card.selected .room-radio {
  box-shadow: inset 0 0 0 5px var(--paper);
}

.room-category-grid .room-card strong {
  font-size: 2.75rem;
}

.room-category-grid .room-card small {
  max-width: 100%;
  font-size: 0.66rem;
  line-height: 1.25;
  letter-spacing: 0.16em;
  overflow-wrap: anywhere;
}

.room-category-grid .room-card em {
  font-size: 0.86rem;
}

.room-category-grid .room-card b {
  font-size: 0.94rem;
}

.room-category-grid .room-badge {
  top: -10px;
  padding: 6px 11px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.room-card {
  position: relative;
  min-height: 260px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px 18px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  font-family: var(--font-display);
  cursor: pointer;
}

.room-card.featured {
  border-color: rgba(226, 183, 112, 0.58);
  box-shadow: 0 0 0 1px rgba(226, 183, 112, 0.18), var(--shadow);
}

.room-card.selected {
  border-color: var(--admin);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18), var(--shadow);
}

.room-radio {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.room-card.selected .room-radio {
  border-color: var(--admin);
  box-shadow: inset 0 0 0 7px var(--paper);
  background: var(--admin);
}

.room-card strong {
  font-size: 3.7rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.room-card small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.room-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 1.05rem;
}

.room-card b {
  color: var(--admin);
  font-family: var(--font-sans);
  font-size: 1.1rem;
}

.room-badge {
  position: absolute;
  top: -14px;
  border-radius: 999px;
  padding: 8px 16px;
  color: #21150a;
  background: linear-gradient(135deg, #f4d49b, #b97a2e);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.room-badge.hot {
  color: #fff7f7;
  background: linear-gradient(135deg, #ef4444, #991b1b);
}

.crud-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.crud-actions button,
.row-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--font-sans);
  font-size: 0.78rem;
}

.crud-actions .primary-action {
  border: 0;
  color: #fff8f5;
  background: linear-gradient(135deg, var(--admin), #991b1b);
}

.crud-actions .quote-action {
  border-color: rgba(226, 183, 112, 0.48);
  color: #21150a;
  background: linear-gradient(135deg, #f4d49b, #b97a2e);
  box-shadow: 0 14px 28px rgba(226, 183, 112, 0.18);
  font-weight: 900;
}

.table-wrap {
  width: 100%;
  margin-top: 12px;
  overflow: auto;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  overflow: hidden;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 9px 10px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.25;
}

th {
  color: var(--admin);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.crud-table td {
  font-size: 0.92rem;
}

.crud-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

.table-muted {
  color: var(--muted);
}

.row-actions {
  min-width: 138px;
  white-space: nowrap;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 18px;
  color: var(--muted);
}

.quote-card {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.quote-card:empty {
  display: none;
}

.privacy-notice,
.privacy-consent-card {
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 18px;
  background: rgba(251, 191, 36, 0.08);
  color: var(--ink);
}

.privacy-notice {
  padding: 16px;
}

.privacy-notice summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.privacy-notice summary::-webkit-details-marker {
  display: none;
}

.privacy-notice summary span {
  color: #fbbf24;
  font-weight: 800;
}

.privacy-notice summary small {
  color: var(--muted);
  font-weight: 700;
}

.privacy-notice summary::after {
  content: "⌄";
  color: #fbbf24;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.privacy-notice[open] summary::after {
  transform: rotate(180deg);
}

.privacy-notice[open] summary {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(251, 191, 36, 0.16);
}

.privacy-notice-body {
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.privacy-notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.privacy-consent-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 15px 16px;
}

.privacy-consent-card input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.privacy-consent-card span {
  color: var(--ink);
  line-height: 1.45;
}

.reception-update {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.reception-quote-preview {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(39, 212, 125, 0.26);
  border-radius: 16px;
  padding: 14px;
  background: rgba(22, 101, 52, 0.16);
}

.reception-quote-preview[hidden] {
  display: none;
}

.reception-quote-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.reception-quote-grid span,
.reception-quote-total {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
}

.reception-quote-grid small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reception-quote-grid strong {
  display: block;
  color: var(--ink);
  line-height: 1.25;
}

.reception-quote-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reception-additional-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 193, 7, 0.42);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(130, 90, 12, 0.22);
}

.reception-additional-payment span {
  color: var(--muted);
}

.reception-additional-payment strong {
  color: #ffd166;
  text-align: right;
}

.reception-payment-summary {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(125, 211, 176, 0.28);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(22, 101, 52, 0.12);
}

.reception-payment-summary span {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reception-payment-summary strong {
  color: var(--success);
  overflow-wrap: anywhere;
}

.reception-payment-summary small {
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
}

.reception-additional-payment.settled {
  border-color: rgba(39, 212, 125, 0.26);
  background: rgba(22, 101, 52, 0.12);
}

.reception-additional-payment.settled strong {
  color: var(--success);
}

.reception-quote-total span {
  color: var(--success);
}

.reception-quote-total strong {
  color: #fff;
  font-size: 1.08rem;
}

.concierge-board {
  overflow: hidden;
}

.concierge-heading {
  align-items: center;
  gap: 18px;
}

.concierge-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.room-floor-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 8px 6px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.room-floor-filter select {
  min-width: 92px;
  border: 0;
  border-radius: 999px;
  padding: 6px 28px 6px 10px;
  color: var(--ink);
  background: rgba(17, 17, 24, 0.92);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
}

.board-toggle-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff8f5;
  background: rgba(239, 68, 68, 0.16);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.board-toggle-button:hover {
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.14);
}

.concierge-board.collapsed .room-status-summary,
.concierge-board.collapsed .concierge-room-grid {
  display: none;
}

.walkin-section.collapsed > form,
.walkin-section.collapsed > .reception-quote-preview,
.walkin-section.collapsed > .crud-actions,
.walkin-section.collapsed > .message {
  display: none;
}

.room-status-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.room-status-summary span {
  min-width: 86px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 7px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-align: center;
}

.room-status-summary strong {
  display: block;
  color: var(--ink);
  font-size: 1.12rem;
}

.room-status-summary .summary-pending {
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(245, 158, 11, 0.1);
}

.room-status-summary .summary-pending strong {
  color: #fbbf24;
}

.room-status-summary .summary-paid {
  border-color: rgba(39, 212, 125, 0.3);
  background: rgba(39, 212, 125, 0.09);
}

.room-status-summary .summary-paid strong {
  color: var(--success);
}

.pending-web-alert {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  border: 1px solid rgba(245, 158, 11, 0.58);
  border-radius: 18px;
  padding: 18px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.08));
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3);
  animation: pending-web-alert-pulse 1.45s ease-in-out infinite;
}

.pending-web-alert[hidden] {
  display: none;
}

.pending-web-alert-heading,
.pending-web-alert-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pending-web-alert-heading h2 {
  margin: 3px 0;
  font-size: 1.45rem;
}

.pending-web-alert-heading p {
  margin-bottom: 0;
}

.pending-web-alert-count {
  min-width: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 158, 11, 0.6);
  border-radius: 14px;
  padding: 10px;
  color: #17120a;
  background: #fbbf24;
  font-size: 1.5rem;
}

.pending-web-alert-list {
  display: grid;
  gap: 8px;
}

.pending-web-alert-item {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(17, 17, 24, 0.82);
}

.pending-web-alert-item > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.pending-web-alert-item span,
.pending-web-alert-item small {
  color: var(--muted);
  font-size: 0.72rem;
}

.pending-web-alert-item button {
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 999px;
  padding: 9px 13px;
  color: #fff8ec;
  background: rgba(245, 158, 11, 0.18);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.pending-web-alert-item button:hover {
  background: rgba(245, 158, 11, 0.3);
}

@keyframes pending-web-alert-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(245, 158, 11, 0.06); }
}

@media (prefers-reduced-motion: reduce) {
  .pending-web-alert {
    animation: none;
  }
}

.concierge-room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.concierge-room-card {
  position: relative;
  min-height: 156px;
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  border-radius: 14px;
  padding: 11px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(17, 17, 24, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.concierge-room-card[data-reserva-id]:not([data-reserva-id=""]) {
  cursor: pointer;
}

.concierge-room-card[data-reserva-id]:not([data-reserva-id=""]):hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

.concierge-room-card.selected {
  border-color: rgba(239, 68, 68, 0.74);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2), 0 24px 58px rgba(0, 0, 0, 0.34);
}

.concierge-room-card.available {
  border-bottom-color: var(--success);
}

.concierge-room-card.occupied {
  border-bottom-color: #ff4f7a;
}

.concierge-room-card.cleaning {
  border-bottom-color: #f4b43f;
}

.concierge-room-card.maintenance {
  border-bottom-color: var(--danger);
}

.concierge-room-top,
.concierge-room-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.room-kicker {
  display: block;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.concierge-room-card h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0;
}

.concierge-room-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.68rem;
}

.status-pill,
.table-badge,
.table-room-pill {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 4px 7px;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 900;
  white-space: nowrap;
}

button.status-pill {
  cursor: default;
}

button.status-pill.interactive {
  cursor: pointer;
}

button.status-pill.interactive:hover {
  filter: brightness(1.14);
}

.status-pill.available,
.table-badge.success {
  color: #bff5d7;
  background: rgba(47, 179, 109, 0.16);
}

.status-pill.occupied,
.table-badge.danger {
  color: #ffd0da;
  background: rgba(255, 79, 122, 0.16);
}

.status-pill.cleaning,
.table-badge.warning {
  color: #ffe3a4;
  background: rgba(244, 180, 63, 0.16);
}

.status-pill.maintenance,
.table-badge.neutral {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.09);
}

.table-room-pill {
  color: #fff;
  background: rgba(239, 68, 68, 0.18);
}

.concierge-room-time {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.045);
}

.concierge-room-time span,
.concierge-room-detail span,
.concierge-room-footer span {
  display: block;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.concierge-room-time strong {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
  line-height: 1;
}

.concierge-room-time.success strong {
  color: #7dd3b0;
}

.concierge-room-time.warning strong {
  color: #f4b43f;
}

.concierge-room-time.danger strong {
  color: #ff6b6b;
}

.concierge-room-time.muted strong {
  color: var(--muted);
}

.concierge-room-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.concierge-room-detail {
  min-width: 0;
  border-radius: 9px;
  padding: 6px 7px;
  background: rgba(255, 255, 255, 0.04);
}

.concierge-room-detail.wide {
  grid-column: 1 / -1;
}

.concierge-room-detail strong,
.concierge-room-footer strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  white-space: nowrap;
}

.concierge-room-footer {
  align-items: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.room-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-top: 1px solid var(--line);
  padding-top: 7px;
}

.room-state-actions button {
  flex: 1 1 54px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 800;
}

.room-state-actions button:hover {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
}

.pending-reservations-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 7, 11, 0.7);
  opacity: 0;
  transition: opacity 160ms ease;
}

.pending-reservations-backdrop.active {
  opacity: 1;
}

.pending-reservations-modal {
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(24, 24, 32, 0.98);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.pending-reservations-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.pending-reservations-modal h2 {
  margin-bottom: 4px;
  font-size: 1.65rem;
}

.pending-reservations-modal header button,
.pending-reservation-card button {
  border: 1px solid rgba(239, 68, 68, 0.38);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff8f5;
  background: rgba(239, 68, 68, 0.16);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 900;
}

.pending-reservations-list {
  display: grid;
  gap: 10px;
  padding: 14px;
  overflow: auto;
}

.pending-reservation-card {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 2fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.pending-reservation-card h3 {
  margin: 8px 0 2px;
  font-size: 1.15rem;
}

.pending-reservation-card p {
  margin: 0;
  color: var(--muted);
}

.pending-reservation-card dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.pending-reservation-card dt {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pending-reservation-card dd {
  margin: 3px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  white-space: nowrap;
}

.table-action-button {
  border: 1px solid rgba(239, 68, 68, 0.34);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff8f5;
  background: rgba(239, 68, 68, 0.16);
  font-family: var(--font-sans);
  font-weight: 800;
}

.table-action-button.active {
  border-color: rgba(47, 179, 109, 0.58);
  color: #d8ffe8;
  background: rgba(47, 179, 109, 0.18);
  box-shadow: 0 0 0 3px rgba(47, 179, 109, 0.12);
}

.table-action-button:disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  opacity: 0.68;
}

.selected-reservation-row {
  background: rgba(239, 68, 68, 0.09);
  box-shadow: inset 4px 0 0 var(--admin);
}

.table-subtext {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.68rem;
}

.topbar small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.reservation-shell {
  width: min(1260px, calc(100% - 32px));
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.reservation-main,
.progress-card,
.step-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(24, 24, 32, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.reservation-main {
  padding: clamp(22px, 4vw, 42px);
}

.reservation-title {
  margin-bottom: 24px;
}

.reservation-title h1 {
  margin-bottom: 12px;
}

.step-form {
  display: block;
}

.step-panel {
  display: none;
  padding: clamp(22px, 4vw, 34px);
}

.step-panel.active {
  display: block;
  animation: riseIn 220ms ease;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.step-grid label {
  display: grid;
  gap: 10px;
  color: var(--ink);
}

.step-grid span {
  color: var(--muted);
  font-size: 0.8rem;
}

.phone-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--field);
}

.phone-field > span {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0 15px;
  color: var(--ink);
  background: rgba(239, 68, 68, 0.12);
  border-right: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 800;
}

.phone-field input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.step-actions button,
.step-actions a {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--font-sans);
  font-weight: 800;
  text-decoration: none;
}

.step-actions .primary-action {
  border: 0;
  color: #fff8f5;
  background: linear-gradient(135deg, var(--admin), #991b1b);
}

.step-actions .reservation-return-action {
  color: #21150a;
  background: linear-gradient(135deg, #f4d49b, #b97a2e);
  box-shadow: 0 16px 34px rgba(226, 183, 112, 0.22);
}

.step-actions button:disabled {
  opacity: 0.45;
}

#payWebpayButton[aria-disabled="true"] {
  cursor: not-allowed;
  filter: grayscale(0.7);
}

#payWebpayButton[aria-disabled="true"]:hover {
  transform: none;
}

.progress-card {
  position: sticky;
  top: 24px;
  padding: 28px;
}

.progress-card ol {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.progress-card li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-weight: 800;
}

.progress-card li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  width: 1px;
  height: 32px;
  background: var(--line);
}

.progress-card li:last-child::before {
  display: none;
}

.progress-card span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.progress-card li.active {
  color: var(--ink);
}

.progress-card li.active span,
.progress-card li.done span {
  border-color: var(--admin);
  color: #fff;
  background: var(--admin);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Date & Time Picker Styles */
.date-picker-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.date-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 90px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 200ms ease;
}

.date-button:hover {
  border-color: var(--admin);
  background: rgba(239, 68, 68, 0.08);
}

.date-button.selected {
  border-color: var(--admin);
  color: var(--ink);
  background: rgba(239, 68, 68, 0.16);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.date-button .day-name {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.date-button .day-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
}

.time-picker-container {
  margin: 16px 0;
}

.time-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 10px;
}

.time-button {
  min-height: 55px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms ease;
}

.time-button:hover:not(:disabled) {
  border-color: var(--success);
  background: rgba(47, 179, 109, 0.12);
  color: var(--success);
}

.time-button.selected {
  border-color: var(--admin);
  color: #fff;
  background: var(--admin);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.time-button:disabled {
  border-color: var(--danger);
  color: var(--danger);
  background: rgba(255, 104, 104, 0.08);
  cursor: not-allowed;
  opacity: 0.6;
}

.time-picker-empty {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.time-picker-empty p {
  margin: 0;
}

.client-time-picker {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.client-time-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.client-time-banner strong {
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}

.client-time-banner span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: capitalize;
}

.time-wheel-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.time-wheel-column {
  width: 86px;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.time-wheel-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.time-wheel-arrow {
  width: 60px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--admin);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 180ms ease;
}

.time-wheel-arrow:hover {
  border-color: var(--admin);
  background: rgba(239, 68, 68, 0.12);
}

.time-wheel-window {
  width: 100%;
  height: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)),
    rgba(4, 4, 8, 0.45);
  box-shadow: inset 0 18px 24px rgba(0, 0, 0, 0.24), inset 0 -18px 24px rgba(0, 0, 0, 0.24);
}

.time-wheel-window strong {
  width: 72%;
  padding: 8px 0;
  border-top: 1px solid rgba(239, 68, 68, 0.28);
  border-bottom: 1px solid rgba(239, 68, 68, 0.28);
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  text-align: center;
}

.time-wheel-option {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.05rem;
  opacity: 0.45;
}

.time-wheel-separator {
  align-self: center;
  color: var(--admin);
  font-size: 2rem;
  font-weight: 800;
  padding-top: 22px;
}

.time-wheel-meridiem {
  display: grid;
  gap: 8px;
  align-self: center;
}

.time-wheel-meridiem button {
  width: 70px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  cursor: pointer;
  transition: all 180ms ease;
}

.time-wheel-meridiem button.selected {
  border-color: var(--admin);
  color: #fff;
  background: rgba(239, 68, 68, 0.16);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.time-wheel-selected {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin-top: 18px;
}

.time-wheel-selected strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
}

.time-wheel-selected span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.time-wheel-selected.available strong {
  color: #f8fff9;
}

.time-wheel-selected.unavailable strong {
  color: #fff3f3;
}

.time-wheel-status {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  border-radius: 14px;
  padding: 14px 16px;
}

.time-wheel-status strong {
  font-size: 0.98rem;
}

.time-wheel-status span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.35;
}

.time-wheel-status.available {
  border: 1px solid rgba(47, 179, 109, 0.55);
  background: rgba(47, 179, 109, 0.16);
}

.time-wheel-status.available strong {
  color: #7dd3b0;
}

.time-wheel-status.unavailable {
  border: 1px solid rgba(255, 104, 104, 0.7);
  background: rgba(239, 68, 68, 0.2);
}

.time-wheel-status.unavailable strong {
  color: #ff6b6b;
}

@media (max-width: 820px) {
  .login-shell,
  .info-grid,
  .crud-form,
  .reservation-shell,
  .step-grid,
  .room-card-grid,
  .metric-grid,
  .analytics-grid,
  .cash-summary-grid,
  .cash-control-form,
  .help-guide-summary,
  .help-guide-grid {
    grid-template-columns: 1fr;
  }

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

  .brand-panel {
    min-height: auto;
    padding: 34px;
  }

  h1 {
    font-size: 3rem;
  }

  .metric-card strong {
    font-size: 2.25rem;
  }

  .room-card strong {
    font-size: 3rem;
  }

  .login-card {
    padding: 30px;
  }

  .topbar {
    align-items: flex-start;
    border-radius: 24px;
    flex-direction: column;
  }

  .topbar.concierge-topbar,
  .topbar.admin-topbar,
  .page-shell.concierge-page,
  .page-shell.admin-page {
    width: min(100% - 20px, 100%);
  }

  .page-shell.concierge-page,
  .page-shell.admin-page {
    margin: 18px auto;
  }

  .concierge-hero {
    padding: 22px;
  }

  .concierge-heading {
    align-items: stretch;
  }

  .concierge-heading-actions {
    justify-content: stretch;
  }

  .concierge-heading-actions .board-toggle-button {
    flex: 1 1 100%;
  }

  .room-floor-filter {
    width: 100%;
    justify-content: space-between;
  }

  .room-floor-filter select {
    flex: 1;
    min-width: 0;
  }

  .concierge-room-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .app-confirm-modal {
    grid-template-columns: 1fr;
  }

  .app-confirm-actions {
    justify-content: stretch;
  }

  .app-confirm-actions button {
    flex: 1 1 100%;
  }

  .reservation-created-details {
    grid-template-columns: 1fr;
  }

  .crud-heading {
    flex-direction: column;
  }

  .reservation-controls {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
  }

  .analytics-filters {
    width: 100%;
    justify-content: stretch;
  }

  .analytics-filters label,
  .analytics-filters button {
    width: 100%;
  }

  .room-status-summary {
    justify-content: stretch;
    width: 100%;
  }

  .room-status-summary span {
    flex: 1 1 120px;
  }

  .pending-web-alert-heading,
  .pending-web-alert-item {
    align-items: stretch;
    flex-direction: column;
  }

  .pending-web-alert-count {
    align-self: flex-start;
  }

  .pending-web-alert-item button {
    width: 100%;
  }

  .concierge-room-details {
    grid-template-columns: 1fr;
  }

  .pending-reservation-card {
    grid-template-columns: 1fr;
  }

  .pending-reservation-card dl {
    grid-template-columns: 1fr 1fr;
  }

  .pending-reservation-card button {
    width: 100%;
  }

  .reception-quote-grid {
    grid-template-columns: 1fr;
  }

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

  .companions-heading span {
    width: 100%;
  }

  .companions-grid,
  .companion-row,
  .companions-compact,
  .companion-modal-row,
  .product-editor-row {
    grid-template-columns: 1fr;
  }

  .companion-modal {
    max-height: 88vh;
    padding: 18px;
  }

  .companion-modal-heading h2 {
    font-size: 1.8rem;
  }

  .companion-modal-actions {
    flex-direction: column-reverse;
  }

  .companion-modal-actions button,
  .companion-edit-button,
  .companion-remove-button {
    width: 100%;
  }

  .product-editor-row .product-card-actions {
    grid-template-columns: minmax(74px, 0.38fr) minmax(0, 1fr);
    width: 100%;
  }

  .product-editor-row .product-card-actions input,
  .product-editor-row .product-card-actions button {
    width: 100%;
    min-width: 0;
  }

  .companion-row h4 {
    margin-bottom: 0;
  }

  .cash-method-row {
    grid-template-columns: 1fr;
  }

  .reception-quote-total,
  .reception-additional-payment {
    align-items: flex-start;
    flex-direction: column;
  }

  .reception-additional-payment strong {
    text-align: left;
  }

  .progress-card {
    position: static;
  }

  .date-picker-container {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  }

  .time-picker-grid {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  }

  .client-time-banner,
  .time-wheel-layout {
    align-items: stretch;
  }

  .client-time-banner {
    flex-direction: column;
  }

  .time-wheel-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .time-wheel-meridiem {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    justify-self: center;
    max-width: 180px;
    width: 100%;
  }

  .time-wheel-meridiem .time-wheel-label {
    grid-column: 1 / -1;
    text-align: center;
  }

  .time-wheel-column {
    width: 100%;
    min-width: 0;
  }

  .time-wheel-arrow {
    width: 100%;
    max-width: 74px;
  }

  .time-wheel-selected strong {
    font-size: 2.15rem;
  }
}

/* ── Promotion Cards ────────────────────────── */

.promo-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 220ms ease;
  text-align: left;
  width: 100%;
}

.promo-card:hover:not(.unavailable) {
  border-color: rgba(239, 68, 68, 0.4);
  background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(255,255,255,0.03));
  transform: translateY(-1px);
}

.promo-card.selected {
  border-color: var(--success);
  background: linear-gradient(135deg, rgba(47,179,109,0.12), rgba(47,179,109,0.04));
  box-shadow: 0 0 0 3px rgba(47,179,109,0.12), 0 8px 32px rgba(0,0,0,0.2);
}

.promo-card.unavailable {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.promo-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.promo-card-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.promo-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.promo-icon.no-promo {
  background: rgba(239, 68, 68, 0.1);
}

.promo-card.selected .promo-icon {
  background: rgba(47, 179, 109, 0.18);
}

.promo-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.promo-info strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
}

.promo-info small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
}

.promo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.promo-badge.restrict {
  color: #ff9b9b;
  background: rgba(239, 68, 68, 0.14);
}

.promo-badge.senior {
  color: #f4d49b;
  background: rgba(226, 183, 112, 0.16);
}

.promo-badge.credential {
  color: #9bc4f4;
  background: rgba(112, 165, 226, 0.16);
}

.promo-badge.upcoming {
  color: var(--muted);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.promo-discount {
  color: var(--admin);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.promo-radio {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  flex-shrink: 0;
  transition: all 180ms ease;
}

.promo-card.selected .promo-radio {
  border-color: var(--success);
  background: var(--success);
  box-shadow: inset 0 0 0 4px var(--paper);
}

/* Additional products */

.product-card-list {
  display: grid;
  gap: 14px;
}

.product-card-list.full-field {
  width: 100%;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(22, 22, 30, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: transparent;
  transition: background 180ms ease;
}

.product-card:hover {
  border-color: rgba(226, 183, 112, 0.38);
  background:
    linear-gradient(135deg, rgba(226, 183, 112, 0.075), rgba(255, 255, 255, 0.03)),
    rgba(22, 22, 30, 0.95);
  transform: translateY(-1px);
}

.product-card.selected {
  border-color: rgba(47, 179, 109, 0.68);
  background:
    linear-gradient(135deg, rgba(47, 179, 109, 0.15), rgba(47, 179, 109, 0.045)),
    rgba(22, 22, 30, 0.95);
  box-shadow: 0 0 0 3px rgba(47, 179, 109, 0.12), 0 14px 34px rgba(0, 0, 0, 0.24);
}

.product-card.selected::before {
  background: var(--success);
}

.product-card-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.product-card-copy strong {
  color: #fff8f5;
  font-size: 1.15rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.product-card-copy small {
  max-width: 58ch;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.45;
}

.product-card-copy b {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 4px 10px;
  color: #7dd3b0;
  background: rgba(47, 179, 109, 0.12);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 76px minmax(104px, auto);
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.product-card-actions input {
  width: 76px;
  height: 46px;
  border-radius: 14px;
  padding: 0 8px;
  color: #fff8f5;
  background: rgba(255, 255, 255, 0.055);
  font-family: var(--font-sans);
  font-weight: 800;
  text-align: center;
}

.product-card-actions input:focus {
  border-color: rgba(226, 183, 112, 0.72);
  box-shadow: 0 0 0 4px rgba(226, 183, 112, 0.14);
}

.product-card-actions button {
  min-width: 104px;
  height: 46px;
  border: 1px solid rgba(239, 68, 68, 0.42);
  border-radius: 999px;
  padding: 0 16px;
  color: #fff8f5;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.92), rgba(153, 27, 27, 0.95));
  font-family: var(--font-sans);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.16);
}

.product-card-actions button:hover {
  transform: translateY(-1px);
}

.product-card-actions button[aria-pressed="true"] {
  border-color: rgba(47, 179, 109, 0.62);
  color: #052014;
  background: linear-gradient(135deg, #7dd3b0, var(--success));
  box-shadow: 0 12px 24px rgba(47, 179, 109, 0.18);
}

.product-card-actions button:focus-visible {
  outline: 3px solid rgba(226, 183, 112, 0.34);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .reservation-shell {
    width: min(100% - 20px, 1260px);
    margin: 22px auto;
  }

  .step-panel {
    border-radius: 22px;
    padding: 20px 16px;
  }

  .product-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 14px;
    border-radius: 16px;
    padding: 16px;
  }

  .product-card-copy strong {
    font-size: 1.04rem;
  }

  .product-card-copy small {
    font-size: 0.88rem;
  }

  .product-card-actions {
    grid-template-columns: minmax(74px, 0.38fr) minmax(0, 1fr);
    width: 100%;
  }

  .product-card-actions input,
  .product-card-actions button {
    width: 100%;
    min-width: 0;
  }

  .step-actions button {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .room-category-grid {
    grid-template-columns: 1fr;
  }
}

/* Estilos para el panel interactivo de horas adicionales */
.extra-hours-box {
  background: rgba(45, 90, 74, 0.12);
  border: 1px solid rgba(45, 90, 74, 0.35);
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.extra-hours-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.extra-hours-col {
  display: flex;
  flex-direction: column;
}

.extra-hours-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 4px;
}

.extra-hours-value-green {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #7dd3b0;
  line-height: 1.2;
}

.extra-hours-sub {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 4px;
}

.extra-hours-value-red {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff5252;
  line-height: 1.2;
  text-align: right;
}

.extra-hours-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.extra-hours-options-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 8px;
}

.extra-hours-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.extra-hours-warning {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.08);
  color: #ffd166;
  font-size: 0.82rem;
  line-height: 1.4;
}

.hour-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #eee;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  outline: none;
}

.hour-pill:hover {
  background: rgba(45, 90, 74, 0.2);
  border-color: rgba(125, 211, 176, 0.4);
}

.hour-pill.selected {
  background: rgba(45, 90, 74, 0.35);
  border-color: #7dd3b0;
  color: #7dd3b0;
  box-shadow: 0 0 10px rgba(125, 211, 176, 0.15);
}

.hour-pill:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

/* Analytics production dashboard */
.analytics-production {
  padding: clamp(20px, 2.6vw, 34px);
  background:
    radial-gradient(circle at 20% 0%, rgba(14, 116, 144, 0.08), transparent 32%),
    rgba(8, 15, 29, 0.96);
}

.analytics-dashboard-header,
.analytics-room-panel > header,
.analytics-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.analytics-dashboard-header {
  padding: 4px 4px 20px;
}

.analytics-dashboard-header h2 {
  margin: 7px 0 8px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.analytics-header-controls {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.analytics-production .analytics-filters input {
  min-height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
}

.analytics-refresh-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.22);
}

.analytics-refresh-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.analytics-refresh-button.loading .analytics-refresh-icon {
  animation: analytics-refresh-spin 800ms linear infinite;
}

.analytics-filters .analytics-download-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(34, 211, 238, 0.42);
  border-radius: 10px;
  padding: 12px 18px;
  color: #ecfeff;
  background: linear-gradient(135deg, #0e7490, #155e75);
  box-shadow: 0 12px 28px rgba(14, 116, 144, 0.24);
}

.analytics-filters .analytics-download-button:hover {
  border-color: rgba(103, 232, 249, 0.7);
  box-shadow: 0 16px 36px rgba(14, 116, 144, 0.34);
}

.analytics-filters .analytics-download-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

@keyframes analytics-refresh-spin {
  to { transform: rotate(360deg); }
}

.analytics-last-updated {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.76rem;
}

.analytics-last-updated.pending {
  color: #fbbf24;
}

.analytics-section-block {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  padding: 14px;
  margin-top: 14px;
  background: rgba(15, 23, 42, 0.34);
}

.analytics-section-heading {
  padding: 0 4px 12px;
}

.analytics-section-heading h3,
.analytics-room-panel h3 {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.analytics-section-heading p,
.analytics-room-panel p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.76rem;
}

.analytics-live-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.85fr) minmax(520px, 1.6fr);
  gap: 12px;
}

.analytics-live-card {
  min-height: 138px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  padding: 18px;
  background: rgba(10, 19, 35, 0.9);
}

.current-occupancy-card {
  border-color: rgba(34, 197, 94, 0.38);
}

.analytics-card-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.52);
  border-radius: 50%;
  color: #dff8ff;
  background: rgba(14, 116, 144, 0.16);
  font-size: 1.45rem;
}

.current-occupancy-card .analytics-card-icon {
  border-color: rgba(34, 197, 94, 0.52);
  background: rgba(22, 163, 74, 0.16);
}

.analytics-live-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 6px;
}

.analytics-live-copy > span,
.analytics-today-summary span {
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 800;
}

.analytics-live-copy strong,
.analytics-today-summary strong {
  color: var(--success);
  font-family: var(--font-sans);
  font-size: 2.25rem;
  line-height: 1;
}

.analytics-live-copy small {
  color: var(--muted);
  font-size: 0.74rem;
}

.today-activity-card {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
}

.analytics-today-summary {
  display: flex;
  align-items: center;
  gap: 14px;
}

.analytics-today-summary > div:last-child {
  display: grid;
  gap: 7px;
}

.analytics-today-summary strong {
  color: var(--ink);
}

.analytics-status-visual {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.percentage-stack {
  min-height: 34px;
  display: flex;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(148, 163, 184, 0.1);
}

.percentage-segment {
  min-width: 2px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
}

.percentage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
}

.percentage-legend-item {
  display: grid;
  grid-template-columns: 9px auto;
  gap: 2px 6px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.68rem;
}

.percentage-legend-item i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 2px;
}

.percentage-legend-item strong {
  grid-column: 2;
  color: var(--ink);
  font-size: 0.76rem;
}

.analytics-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.production-metric {
  min-height: 150px;
  border-radius: 16px;
  padding: 18px;
}

.production-metric strong {
  font-size: clamp(1.8rem, 2.5vw, 2.55rem);
}

.analytics-production-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 14px;
  margin-top: 14px;
}

.analytics-production-grid .chart-panel {
  min-width: 0;
  min-height: 330px;
  border-radius: 18px;
  padding: 18px;
}

.analytics-production-grid .chart-canvas {
  min-height: 245px;
}

.percentage-chart-content {
  display: grid;
  align-content: center;
  gap: 22px;
}

.percentage-chart-content .percentage-stack {
  min-height: 150px;
  align-items: stretch;
  border-radius: 12px;
}

.percentage-chart-content .percentage-segment {
  align-content: center;
  gap: 4px;
  font-size: 0.78rem;
}

.percentage-chart-content .percentage-segment strong {
  display: block;
  font-size: 1rem;
}

.percentage-total {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.analytics-donut-layout {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(160px, 1fr);
  align-items: center;
  gap: 18px;
}

.analytics-donut {
  width: min(180px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
}

.analytics-donut-center {
  width: 57%;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: #0d1729;
  text-align: center;
}

.analytics-donut-center strong {
  font-size: 1.45rem;
}

.analytics-donut-center small {
  color: var(--muted);
  font-size: 0.66rem;
}

.analytics-donut-legend {
  display: grid;
  gap: 10px;
}

.analytics-donut-legend > div {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.7rem;
}

.analytics-donut-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.analytics-donut-legend strong {
  color: var(--ink);
  font-size: 0.7rem;
}

.analytics-room-panel {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  padding: 18px;
  margin-top: 14px;
  background: rgba(15, 23, 42, 0.84);
}

.analytics-room-panel > header {
  margin-bottom: 14px;
}

.analytics-room-panel > header > span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.room-performance-table {
  max-height: 570px;
  overflow: auto;
}

.room-performance-table table {
  min-width: 900px;
}

.room-performance-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #111b2f;
}

.room-performance-table th,
.room-performance-table td {
  vertical-align: middle;
}

.analytics-cell-bar {
  min-width: 155px;
  display: grid;
  grid-template-columns: minmax(90px, 1fr) 52px;
  align-items: center;
  gap: 9px;
}

.analytics-cell-bar-track {
  height: 14px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(148, 163, 184, 0.14);
}

.analytics-cell-bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #22c5df;
}

.analytics-cell-bar.occupancy .analytics-cell-bar-track i {
  background: #22c55e;
}

.analytics-cell-bar strong {
  color: var(--ink);
  font-size: 0.74rem;
}

.analytics-cash-overview {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.4fr);
  gap: 14px;
  margin-top: 14px;
}

.analytics-cash-overview .chart-panel,
.analytics-cash-overview .analytics-table-panel {
  min-height: 340px;
  margin-top: 0;
  border-radius: 18px;
}

.cash-compliance-list {
  display: grid;
  gap: 14px;
}

.cash-compliance-row {
  display: grid;
  grid-template-columns: 46px minmax(120px, 1fr) 64px;
  align-items: center;
  gap: 7px 10px;
  color: var(--muted);
  font-size: 0.7rem;
}

.cash-compliance-track {
  position: relative;
  height: 17px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.14);
}

.cash-compliance-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #22c55e;
}

.cash-compliance-track b {
  position: absolute;
  inset: 0 5px auto auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.59rem;
  line-height: 17px;
}

.cash-compliance-row.difference .cash-compliance-track i {
  background: #f59e0b;
}

.cash-compliance-row.pending .cash-compliance-track i {
  background: #64748b;
}

.cash-compliance-row > strong {
  color: var(--ink);
  text-align: right;
}

.cash-compliance-row > small {
  grid-column: 2 / -1;
  color: var(--muted);
}

@media (max-width: 900px) {
  .audit-summary-grid,
  .audit-filters {
    grid-template-columns: 1fr;
  }

  .audit-filters button {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  .analytics-live-grid,
  .analytics-production-grid,
  .analytics-cash-overview {
    grid-template-columns: 1fr;
  }

  .analytics-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .analytics-dashboard-header,
  .analytics-room-panel > header {
    align-items: stretch;
    flex-direction: column;
  }

  .analytics-header-controls,
  .analytics-header-controls .analytics-filters {
    width: 100%;
    justify-items: stretch;
  }

  .analytics-production .analytics-filters,
  .analytics-production .analytics-filters label,
  .analytics-production .analytics-filters button {
    width: 100%;
  }

  .analytics-live-grid,
  .analytics-results-grid {
    grid-template-columns: 1fr;
  }

  .today-activity-card {
    grid-template-columns: 1fr;
  }

  .analytics-donut-layout {
    grid-template-columns: 1fr;
  }
}
