/* ── CALENDAR STYLES ── */
.cal-wrapper {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.cal-month {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
}

.cal-month-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.cal-month-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--cream);
}

.cal-month-year {
  font-size: 12px;
  color: var(--cream-dim);
  letter-spacing: 0.15em;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.cal-day-label {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  padding: 6px 0;
}

.cal-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background 0.2s;
  min-height: 44px;
  background: #2a2a2a;
  border: 1px solid #383838;
}

.cal-day.has-price:not(.booked) {
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.cal-day.booked {
  background: #1a1a1a;
  border: 1px solid #222;
  opacity: 0.5;
}

.cal-day.past {
  background: #1e1e1e;
  border: 1px solid #262626;
  opacity: 0.4;
}

.cal-day:not(.empty):not(.past):not(.booked):hover {
  background: rgba(201, 169, 110, 0.2);
  border-color: var(--gold-dim);
}

.cal-day-num {
  font-size: 13px;
  color: #e8e0d0;
  line-height: 1;
  font-weight: 400;
}

.cal-day.past .cal-day-num { color: #ffffff; }
.cal-day.booked .cal-day-num { color: #ffffff; }

.cal-day-price {
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.cal-booked-dot {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #555;
}

/* Tooltip */
.cal-tooltip {
  position: absolute;
  z-index: 9999;
  background: #2a2a2a;
  border: 1px solid var(--gold-dim);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 2px;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}

/* Legend */
.cal-legend {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--cream-dim);
  letter-spacing: 0.1em;
}

.cal-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: block;
}

.cal-legend-dot.available { background: #2a2a2a; border: 1px solid #383838; }
.cal-legend-dot.priced { background: rgba(201, 169, 110, 0.2); border: 1px solid rgba(201, 169, 110, 0.4); }
.cal-legend-dot.booked-dot { background: #1a1a1a; border: 1px solid #222; }
.cal-legend-dot.past-dot { background: #1e1e1e; border: 1px solid #262626; }

/* Admin Modal */
.cal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cal-modal {
  background: #1e1e1e;
  border: 1px solid var(--border-light);
  padding: 40px;
  min-width: 320px;
  max-width: 440px;
  width: 100%;
}

.cal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.cal-modal-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--cream);
}

.cal-modal-date {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.cal-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.cal-modal-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.cal-modal-input {
  background: #2a2a2a;
  border: 1px solid var(--border-light);
  color: var(--cream);
  padding: 12px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.cal-modal-input:focus { border-color: var(--gold); }

.cal-modal-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--cream-dim);
  cursor: pointer;
}

.cal-modal-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.cal-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── CALENDAR NAVIGATION ── */
.cal-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.cal-nav-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--cream-dim);
  padding: 8px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.cal-nav-btn:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Bulk pricing tool */
.bulk-price-section {
  background: #2a2a2a;
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .cal-day { min-height: 36px; }
  .cal-day-price { display: none; }
}

