/* datepicker.css — shared on-brand calendar popover (site + admin) */
.lod-dp {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  padding-right: 2.2rem !important;
}
.lod-dp-cap { font-size: 0.72rem; color: rgba(245, 233, 200, 0.6); margin-top: 0.25rem; letter-spacing: 0.02em; }

.lod-dp-pop {
  position: fixed; z-index: 2147483000; width: 290px; box-sizing: border-box;
  background: linear-gradient(180deg, #14172f, #0e1128);
  border: 1px solid rgba(212, 175, 55, 0.28); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  padding: 0.7rem; font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5e9c8; -webkit-font-smoothing: antialiased; user-select: none;
}
.lod-dp-pop * { box-sizing: border-box; }
.lod-dp-head { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; margin-bottom: 0.5rem; }
.lod-dp-nav {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(255, 255, 255, 0.02); color: #f4d47c; font-size: 1.05rem; line-height: 1; cursor: pointer; transition: all 0.15s;
}
.lod-dp-nav:hover { background: rgba(212, 175, 55, 0.14); border-color: rgba(212, 175, 55, 0.4); }
.lod-dp-title {
  flex: 1; background: none; border: none; color: #f4d47c; cursor: pointer;
  font-family: "Cinzel", Georgia, serif; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.03em; padding: 0.3rem; border-radius: 8px; transition: background 0.15s;
}
.lod-dp-title:hover { background: rgba(212, 175, 55, 0.1); }
/* Table-based calendar — bullet-proof 7-column alignment */
.lod-dp-cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
.lod-dp-cal th { text-align: center; font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(212, 175, 55, 0.75); padding: 0.25rem 0 0.35rem; }
.lod-dp-cal td { text-align: center; padding: 1px; }
.lod-dp-cal td.lod-dp-day { height: 34px; border-radius: 8px; font-size: 0.82rem; color: #f5e9c8; cursor: pointer; transition: background 0.12s, color 0.12s; }
.lod-dp-cal td.lod-dp-day.empty { cursor: default; }
.lod-dp-cal td.lod-dp-day:hover:not(.dis):not(.sel):not(.empty) { background: rgba(212, 175, 55, 0.16); }
.lod-dp-cal td.lod-dp-day.today { box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.55); }
.lod-dp-cal td.lod-dp-day.cursor:not(.sel) { background: rgba(212, 175, 55, 0.1); }
.lod-dp-cal td.lod-dp-day.sel { background: linear-gradient(120deg, #d4af37, #f4d47c); color: #17130a; font-weight: 700; }
.lod-dp-cal td.lod-dp-day.dis { color: rgba(245, 233, 200, 0.2); cursor: not-allowed; }
.lod-dp-cal td.lod-dp-cell { height: 42px; border-radius: 8px; font-size: 0.82rem; color: #f5e9c8; cursor: pointer; transition: background 0.12s, color 0.12s; }
.lod-dp-cal td.lod-dp-cell:hover { background: rgba(212, 175, 55, 0.16); color: #f4d47c; }
/* fully-booked date (5 confirmed) — visibly closed, not just greyed */
.lod-dp-cal td.lod-dp-day.full { color: rgba(239, 149, 132, 0.55); background: rgba(239, 149, 132, 0.08); text-decoration: line-through; cursor: not-allowed; }

/* ---------- Time-slot drawer (LODTime) ---------- */
.lod-tp {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='12 7.5 12 12 15 13.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7rem center; padding-right: 2.2rem !important;
}
.lod-tp-pop {
  width: 264px; max-width: calc(100vw - 16px);
  background: linear-gradient(180deg, #14172f, #0e1128);
  border: 1px solid rgba(212, 175, 55, 0.28); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); padding: 0.7rem;
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5e9c8; user-select: none;
}
.lod-tp-pop * { box-sizing: border-box; }
.lod-tp-h { font-family: "Cinzel", Georgia, serif; font-size: 0.78rem; color: #f4d47c; letter-spacing: 0.04em; margin: 0.1rem 0 0.6rem; text-align: center; }
.lod-tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-right: 4px; }
.lod-tp-grid::-webkit-scrollbar { width: 8px; }
.lod-tp-grid::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.28); border-radius: 20px; }
.lod-tp-grid::-webkit-scrollbar-track { background: transparent; }
.lod-tp-slot {
  padding: 0.55rem 0.3rem; border: 1px solid rgba(212, 175, 55, 0.18); background: rgba(255, 255, 255, 0.02);
  color: #f5e9c8; border-radius: 8px; font-size: 0.82rem; cursor: pointer; transition: all 0.12s; text-align: center;
}
.lod-tp-slot:hover:not(.taken):not(.sel) { background: rgba(212, 175, 55, 0.16); border-color: rgba(212, 175, 55, 0.4); }
.lod-tp-slot.sel { background: linear-gradient(120deg, #d4af37, #f4d47c); color: #17130a; font-weight: 700; border-color: transparent; }
.lod-tp-slot.taken { color: rgba(245, 233, 200, 0.28); text-decoration: line-through; cursor: not-allowed; border-color: rgba(212, 175, 55, 0.06); background: transparent; }
.lod-dp-foot { display: flex; justify-content: space-between; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid rgba(212, 175, 55, 0.12); }
.lod-dp-jump, .lod-dp-clear { background: none; border: none; color: #f4d47c; cursor: pointer; font-size: 0.74rem; letter-spacing: 0.04em; padding: 0.25rem 0.4rem; border-radius: 6px; }
.lod-dp-jump:hover, .lod-dp-clear:hover { background: rgba(212, 175, 55, 0.12); }
.lod-dp-clear { color: rgba(245, 233, 200, 0.5); }
