:root {
  color-scheme: light;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: #f3f1ec;
  color: #0b0f19;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #fef6e4 0%, #f3f1ec 40%, #e8edf5 100%);
}
.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #6b7280;
  font-weight: 700;
}
.hero h1 {
  font-size: 40px;
  margin: 8px 0 6px;
}
.subtitle {
  color: #6b7280;
  margin: 0;
}
.hero-actions {
  margin-top: 16px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #111827;
  color: #111827;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.btn-outline:hover {
  background: #0b0f19;
  color: white;
}
.price {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px 24px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  min-width: 220px;
}
.price-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9ca3af;
  font-weight: 700;
}
.price-value {
  font-size: 28px;
  font-weight: 800;
  margin-top: 6px;
}
.price-note {
  color: #9ca3af;
  font-size: 12px;
  margin-top: 4px;
}
.card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}
.card--room {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.room-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  width: 100%;
  align-items: start;
}
.room-head h2 {
  margin: 6px 0 4px;
  font-size: 26px;
}
.room-meta {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}
.room-title {
  position: relative;
  z-index: 2;
}
.room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.room-tags span {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}
.room-chip {
  background: #0b0f19;
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.room-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 2;
}
.room-aside-note {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
  text-align: center;
}
.room-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fef3c7;
  font-size: 22px;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.2);
}
.room-strip {
  position: absolute;
  inset: auto -10% -24px -10%;
  height: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  opacity: 0.25;
  z-index: 1;
}
.room-strip div {
  background: linear-gradient(120deg, #fef3c7 0%, #e0f2fe 100%);
  border-radius: 999px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.divider {
  height: 1px;
  background: #e5e7eb;
  margin: 18px 0;
}
.card--info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.card h2 {
  margin-top: 0;
  font-size: 24px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.calendar-wrap > span {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #4b5563;
  font-weight: 600;
}
.calendar {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.calendar-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: capitalize;
}
.calendar-nav {
  border: none;
  background: #0b0f19;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 11px;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 6px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-day {
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 10px;
  padding: 10px 0;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.calendar-day.is-selected {
  background: #0b0f19;
  color: white;
  border-color: #0b0f19;
}
.calendar-day.is-disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  border-color: #e5e7eb;
}
.calendar-day.is-empty {
  border: none;
  background: transparent;
  cursor: default;
}
.calendar-day.has-dot::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  bottom: 6px;
  right: 6px;
  background: #10b981;
}
.calendar-day.dot-partial::after {
  background: #f59e0b;
}
.calendar-day.dot-full::after {
  background: #ef4444;
}
.calendar-day.dot-free::after {
  background: #10b981;
}
.calendar-selected {
  margin-top: 8px;
  color: #6b7280;
  font-size: 12px;
}
.hours-picker > span {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #4b5563;
  font-weight: 600;
}
.hours-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hour-pill {
  border: 1px solid #e5e7eb;
  background: white;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.hour-pill.is-active {
  background: #0b0f19;
  color: white;
  border-color: #0b0f19;
}
label span {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #4b5563;
  font-weight: 600;
}
input, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  background: white;
}
.slots {
  margin-bottom: 24px;
}
.slots-header {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9ca3af;
  font-weight: 700;
  margin-bottom: 12px;
}
.slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.slot-list--hidden {
  display: none;
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.calendar-slot {
  border-radius: 14px;
  padding: 14px 12px;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.calendar-slot.is-range {
  background: #e5e7eb;
  color: #111827;
  border-color: #d1d5db;
}
.calendar-slot.is-active {
  background: #0b0f19;
  color: white;
  border-color: #0b0f19;
}
.calendar-slot.is-disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  border-color: #e5e7eb;
}
.slot {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-weight: 600;
}
.slot.active {
  background: #0b0f19;
  color: white;
  border-color: #0b0f19;
}
.slot.empty {
  cursor: default;
  background: #f3f4f6;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}
.promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
  gap: 12px;
  margin-top: 16px;
  align-items: end;
}
.promo-input {
  display: flex;
  gap: 8px;
}
.promo-info {
  font-size: 12px;
  color: #6b7280;
}
.total-row {
  line-height: 1.4;
}
.total-discount {
  color: #059669;
  font-weight: 600;
}
.total {
  font-size: 18px;
  font-weight: 700;
}
button[type="submit"] {
  background: #0b0f19;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
}
button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.error {
  color: #dc2626;
  margin-top: 10px;
  font-size: 13px;
}
.footer {
  margin-top: 24px;
  color: #6b7280;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
.footer a {
  color: #0b0f19;
  text-decoration: none;
}
.footer-links {
  display: flex;
  gap: 12px;
}
.tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px;
  border-radius: 999px;
  gap: 6px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  margin-bottom: 16px;
}
.tab {
  border: none;
  background: transparent;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  color: #6b7280;
}
.tab.is-active {
  background: #0b0f19;
  color: white;
}
.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
}
.admin-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1200px;
}
.admin-menu {
  position: sticky;
  top: 24px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.admin-mobile-toggle {
  display: none;
  width: 100%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  text-align: left;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  margin-bottom: 12px;
}
.admin-menu-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}
.admin-menu-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #0b0f19;
  color: #fef3c7;
  font-size: 18px;
}
.admin-menu-title {
  font-weight: 800;
  font-size: 16px;
}
.admin-menu-subtitle {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}
.admin-menu-nav {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.admin-menu .tab {
  text-align: left;
  border-radius: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  color: #111827;
  font-weight: 700;
  border: 1px solid transparent;
}
.admin-menu .tab.is-active {
  background: #0b0f19;
  color: white;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}
.admin-menu-footer {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}
.admin-menu-link {
  color: #111827;
  text-decoration: none;
  font-weight: 700;
}
.admin-link {
  color: #111827;
  text-decoration: none;
  font-weight: 700;
}
.admin-link:hover {
  text-decoration: underline;
}
.admin-content .hero {
  margin-bottom: 16px;
}
.admin-content {
  min-width: 0;
}
.admin-content .card {
  width: 100%;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.toolbar-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
}
.toolbar-form--inline {
  width: 100%;
  justify-content: space-between;
}
.toolbar-form--inline label {
  min-width: 160px;
}
.toolbar-form--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.toolbar-actions {
  display: inline-flex;
  gap: 8px;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: white;
}
.data-table thead tr {
  background: #f9fafb;
}
.data-table th, .data-table td {
  padding: 12px;
  vertical-align: top;
}
.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.action-row .admin-btn {
  padding: 6px 10px;
}
.admin-block-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 18px;
}
.admin-block-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
  align-items: end;
}
.checkbox {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 6px;
}
.checkbox input {
  width: auto;
}
.admin-btn {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #111827;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.admin-btn--warn {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
}
.admin-btn--danger {
  background: #fee2e2;
  border-color: #fecaca;
  color: #b91c1c;
}

@media (max-width: 720px) {
  .hero h1 { font-size: 32px; }
  .footer { flex-direction: column; gap: 8px; }
  .footer-links { flex-direction: column; gap: 6px; }
  .card--room { flex-direction: column; align-items: flex-start; gap: 12px; }
  .room-head { grid-template-columns: 1fr; }
  .room-aside { align-items: flex-start; width: 100%; }
  .slot-grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  .tabs { width: 100%; justify-content: space-between; }
  .toolbar-form { flex-direction: column; align-items: stretch; }
  .toolbar-form--inline { justify-content: flex-start; }
  .toolbar-actions { width: 100%; }
  .admin-block-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .promo-row { grid-template-columns: 1fr; }
  .calendar { padding: 12px; }
  .calendar-day { padding: 8px 0; font-size: 13px; }
  .calendar-slot { padding: 12px 8px; font-size: 13px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-mobile-toggle { display: block; }
  .admin-menu {
    position: static;
    padding: 14px;
    display: none;
  }
  .admin-menu.is-open {
    display: block;
  }
  .admin-menu-nav {
    grid-template-columns: 1fr;
  }
  .admin-menu .tab {
    padding: 12px 14px;
  }
  .admin-menu-footer {
    margin-top: 12px;
  }
}
