/* ============================================
   APPOINTMENT PAGE — Ceron Matthew Calsena
   CMC Portfolio · 2026
============================================ */

:root {
  --yellow:  #ffd000;
  --orange:  #ff6a00;
  --orange2: #ff9a3c;
  --white:   #ffffff;
  --black:   #050505;
  --card:    rgba(18, 18, 18, 0.97);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--black);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 56px;
}

/* ── COSMOS ──────────────────────────────── */
#cosmos {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.star {
  position: absolute; border-radius: 50%; background: #fff;
  animation: twinkle var(--dur) ease-in-out infinite;
  animation-delay: var(--delay); opacity: 0;
}
@keyframes twinkle {
  0%,100% { opacity: 0; transform: scale(.5); }
  50%      { opacity: var(--op); transform: scale(1); }
}
.nebula {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .07;
  animation: nebulaDrift 20s ease-in-out infinite alternate;
}
@keyframes nebulaDrift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,30px) scale(1.1); }
}
.shooting-star {
  position: absolute; width: 2px; height: 2px;
  background: var(--yellow); border-radius: 50%;
  box-shadow: 0 0 4px 1px var(--yellow);
  animation: shoot var(--sdur) linear infinite;
  animation-delay: var(--sdelay); opacity: 0;
}
@keyframes shoot {
  0%   { opacity: 0; transform: translate(0,0); }
  5%   { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)); }
}

/* ── HEADER ──────────────────────────────── */
.page-header {
  position: relative; z-index: 10;
  text-align: center; padding: 60px 20px 40px;
}
.back-btn {
  position: absolute; top: 24px; left: 24px;
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.5); text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; transition: color .2s;
  font-family: 'Space Mono', monospace;
}
.back-btn:hover { color: var(--yellow); }

.owner-btn {
  position: absolute; top: 24px; right: 24px;
  background: rgba(255,208,0,.08);
  border: 1px solid rgba(255,208,0,.2);
  color: rgba(255,208,0,.6); font-size: 11px;
  font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: 7px 14px;
  border-radius: 20px; cursor: pointer; transition: all .2s;
  font-family: 'Space Mono', monospace;
}
.owner-btn:hover { background: rgba(255,208,0,.15); color: var(--yellow); }
.owner-btn.active { color: var(--yellow); border-color: rgba(255,208,0,.5); }

.header-tag {
  display: inline-block; font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange2); border: 1px solid rgba(255,154,60,.3);
  border-radius: 20px; padding: 4px 14px; margin-bottom: 18px;
  background: rgba(255,106,0,.08);
}
.header-title {
  font-size: clamp(32px, 6vw, 64px); font-weight: 900;
  line-height: 1; letter-spacing: -.02em; margin-bottom: 14px;
}
.header-title span {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header-sub {
  font-size: 14px; color: rgba(255,255,255,.45);
  max-width: 460px; margin: 0 auto 30px; line-height: 1.7;
}
.header-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  margin: 0 auto; border-radius: 2px;
}

/* ── YEAR BAR ────────────────────────────── */
.year-bar {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-bottom: 50px;
}
.year-btn {
  background: none; border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.5); width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; font-size: 18px;
  transition: all .2s; display: flex; align-items: center; justify-content: center;
}
.year-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.year-display {
  font-family: 'Space Mono', monospace; font-size: 28px;
  font-weight: 700; color: var(--white);
  letter-spacing: .05em; min-width: 100px; text-align: center;
}

/* ── CALENDAR GRID ───────────────────────── */
.calendar-grid {
  position: relative; z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 1320px;
  margin: 0 auto; padding: 0 24px 40px;
}

/* ── CALENDAR CARD ───────────────────────── */
.cal-card {
  background: var(--card); border-radius: 20px;
  overflow: hidden; border: 1px solid rgba(255,255,255,.06);
  position: relative; transition: transform .3s, box-shadow .3s;
}
.cal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.cal-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; border-radius: 20px; overflow: hidden;
}
.cal-header {
  padding: 18px 20px 14px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 2;
}
.cal-month-name { font-size: 18px; font-weight: 700; }
.cal-month-num {
  font-family: 'Space Mono', monospace; font-size: 11px;
  color: rgba(255,255,255,.3); letter-spacing: .12em;
}
.cal-body { padding: 0 14px 16px; position: relative; z-index: 2; }
.cal-days-header {
  display: grid; grid-template-columns: repeat(7,1fr);
  margin-bottom: 6px;
}
.cal-day-name {
  text-align: center; font-size: 9px; font-weight: 600;
  color: rgba(255,255,255,.25); padding: 4px 0; text-transform: uppercase;
}
.cal-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; border-radius: 6px;
  cursor: pointer; transition: all .15s;
  position: relative; color: rgba(255,255,255,.8);
}
.cal-day:hover:not(.empty):not(.past) {
  background: rgba(255,106,0,.25); color: var(--orange2); transform: scale(1.1);
}
.cal-day.empty  { cursor: default; }
.cal-day.sunday { color: rgba(255,106,0,.7); }
.cal-day.past   { color: rgba(255,255,255,.18); cursor: default; }
.cal-day.today  {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--black); font-weight: 800;
  box-shadow: 0 0 12px rgba(255,106,0,.5);
}
.cal-day.selected {
  background: var(--yellow); color: var(--black);
  font-weight: 800; box-shadow: 0 0 16px rgba(255,208,0,.6);
  animation: pop .3s ease;
}
@keyframes pop {
  0%   { transform: scale(.8); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}
/* Booking indicator dot */
.cal-day.has-booking::after {
  content: ''; position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--orange2);
}
.cal-day.fully-booked::after { background: #ff4444; }

/* Just-booked highlight — green glow pulse */
.cal-day.just-booked {
  background: linear-gradient(135deg, rgba(0,200,100,0.25), rgba(0,255,140,0.1));
  box-shadow: 0 0 18px rgba(0,220,100,0.7), 0 0 6px rgba(0,255,140,0.4);
  border: 1px solid rgba(0,220,100,0.6);
  animation: bookedPulse 1.2s ease forwards;
}
.cal-day.just-booked::after {
  background: #00dc64 !important;
  width: 6px; height: 6px;
  box-shadow: 0 0 6px rgba(0,220,100,0.8);
}
@keyframes bookedPulse {
  0%   { transform: scale(0.85); box-shadow: 0 0 0 rgba(0,220,100,0); }
  40%  { transform: scale(1.18); box-shadow: 0 0 24px rgba(0,220,100,0.9); }
  100% { transform: scale(1);    box-shadow: 0 0 14px rgba(0,220,100,0.5); }
}

/* ── MONTH FX ANIMATIONS ─────────────────── */
/* Jan — Aurora */
.aurora {
  position: absolute; width: 200%; height: 60px;
  border-radius: 50%; filter: blur(20px); opacity: 0;
  animation: aurora var(--adur) ease-in-out infinite;
  animation-delay: var(--adelay);
}
@keyframes aurora {
  0%,100% { opacity: 0;    transform: translateX(-30%) scaleY(1); }
  50%      { opacity: .35; transform: translateX(10%)  scaleY(1.4); }
}
/* Feb — Hearts */
.heart-particle {
  position: absolute; font-size: var(--hsize); opacity: 0;
  animation: floatHeart var(--hdur) ease-in-out infinite;
  animation-delay: var(--hdelay); pointer-events: none;
}
@keyframes floatHeart {
  0%   { opacity: 0; transform: translateY(0) scale(.5); }
  20%  { opacity: .6; }
  80%  { opacity: .3; }
  100% { opacity: 0; transform: translateY(-80px) scale(1) rotate(20deg); }
}
/* Mar — Petals */
.petal {
  position: absolute; width: var(--pw); height: calc(var(--pw) * .7);
  border-radius: 50% 0 50% 0;
  background: linear-gradient(135deg, rgba(255,180,100,.7), rgba(255,208,0,.4));
  opacity: 0; animation: petalFall var(--pdur) ease-in-out infinite;
  animation-delay: var(--pdelay);
}
@keyframes petalFall {
  0%   { opacity: 0; transform: translateY(-10px) rotate(0deg); }
  15%  { opacity: .7; }
  85%  { opacity: .3; }
  100% { opacity: 0; transform: translateY(120px) rotate(360deg) translateX(30px); }
}
/* Apr — Rain */
.raindrop {
  position: absolute; width: 1px; height: var(--rh);
  background: linear-gradient(180deg, transparent, rgba(255,208,0,.5));
  opacity: 0; animation: rain var(--rdur) linear infinite;
  animation-delay: var(--rdelay);
}
@keyframes rain {
  0%   { opacity: 0; transform: translateY(-20px); }
  10%  { opacity: .6; }
  90%  { opacity: .4; }
  100% { opacity: 0; transform: translateY(140px); }
}
/* May — Fireflies */
.firefly {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 6px 2px rgba(255,208,0,.6);
  opacity: 0; animation: ffMove var(--ffdur) ease-in-out infinite;
  animation-delay: var(--ffdelay);
}
@keyframes ffMove {
  0%   { opacity: 0; transform: translate(0,0); }
  25%  { opacity: .9; transform: translate(var(--ffx1), var(--ffy1)); }
  50%  { opacity: .4; transform: translate(var(--ffx2), var(--ffy2)); }
  75%  { opacity: .8; transform: translate(var(--ffx3), var(--ffy3)); }
  100% { opacity: 0; transform: translate(0,0); }
}
/* Jun — Solar Flare */
.flare {
  position: absolute; top: 50%; left: 50%;
  width: var(--fw); height: var(--fw);
  margin-left: calc(var(--fw) / -2); margin-top: calc(var(--fw) / -2);
  border-radius: 50%; border: 1px solid rgba(255,208,0,.3);
  opacity: 0; animation: flare var(--fdur) ease-out infinite;
  animation-delay: var(--fdelay);
}
@keyframes flare {
  0%   { opacity: .8; transform: scale(.2); }
  100% { opacity: 0;  transform: scale(1); }
}
/* Jul — Lightning */
.lightning-bolt {
  position: absolute; top: 0; left: var(--lx); width: 2px; height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(255,208,0,.8) 40%, rgba(255,106,0,.6) 60%, transparent 100%);
  opacity: 0; animation: lightning var(--ldur) steps(1) infinite;
  animation-delay: var(--ldelay);
}
@keyframes lightning {
  0%,95%,100% { opacity: 0; }
  96% { opacity: .9; }
  97% { opacity: .3; }
  98% { opacity: .7; }
  99% { opacity: 0; }
}
/* Aug — Meteors */
.meteor {
  position: absolute; top: var(--mty); left: var(--mtx);
  width: var(--mlen); height: 1px;
  background: linear-gradient(90deg, rgba(255,208,0,.9), transparent);
  opacity: 0; transform: rotate(-35deg);
  animation: meteor var(--mtdur) ease-in infinite;
  animation-delay: var(--mtdelay);
}
@keyframes meteor {
  0%   { opacity: 0; transform: rotate(-35deg) translateX(0); }
  10%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(-35deg) translateX(100px); }
}
/* Sep — Orbits */
.orbit-ring {
  position: absolute; top: 50%; left: 50%;
  width: var(--ow); height: var(--oh);
  margin-left: calc(var(--ow) / -2); margin-top: calc(var(--oh) / -2);
  border-radius: 50%; border: 1px solid rgba(255,208,0,.15);
  animation: orbit var(--odur) linear infinite;
  animation-delay: var(--odelay);
}
.orbit-ring::after {
  content: ''; position: absolute; top: -3px; left: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 8px 2px rgba(255,208,0,.7);
  margin-left: -2.5px;
}
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
/* Oct — Embers */
.ember {
  position: absolute; width: var(--ew); height: var(--ew);
  border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 var(--eglow) rgba(255,106,0,.8);
  opacity: 0; animation: ember var(--edur) ease-out infinite;
  animation-delay: var(--edelay);
}
@keyframes ember {
  0%   { opacity: 0; transform: translate(0,0) scale(1); }
  20%  { opacity: .9; }
  100% { opacity: 0; transform: translate(var(--etx), var(--ety)) scale(.2); }
}
/* Nov — Snow */
.snowflake {
  position: absolute; color: rgba(255,255,255,.6); font-size: var(--ss);
  opacity: 0; animation: snow var(--sdur2) linear infinite;
  animation-delay: var(--sdelay2);
}
@keyframes snow {
  0%   { opacity: 0; transform: translateY(-10px) rotate(0deg) translateX(0); }
  10%  { opacity: .8; }
  90%  { opacity: .4; }
  100% { opacity: 0; transform: translateY(130px) rotate(360deg) translateX(var(--swx)); }
}
/* Dec — Sparks */
.spark {
  position: absolute; top: var(--spy); left: var(--spx);
  width: 2px; height: 2px; border-radius: 50%;
  background: var(--spc); box-shadow: 0 0 4px 1px var(--spc);
  opacity: 0; animation: spark var(--spdur) ease-out infinite;
  animation-delay: var(--spdelay);
}
@keyframes spark {
  0%   { opacity: 0; transform: translate(0,0) scale(1); }
  10%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--spvx), var(--spvy)) scale(0); }
}

/* ── MODALS ──────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.85); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: #111; border: 1px solid rgba(255,208,0,.2);
  border-radius: 24px; padding: 28px; width: 100%;
  max-width: 500px; max-height: 90vh; overflow-y: auto;
  transform: translateY(30px) scale(.95);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal::-webkit-scrollbar { width: 4px; }
.modal::-webkit-scrollbar-thumb { background: rgba(255,208,0,.2); border-radius: 4px; }

.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5); font-size: 18px;
  cursor: pointer; transition: all .2s; line-height: 1;
  width: 32px; height: 32px; display: flex;
  align-items: center; justify-content: center; border-radius: 50%;
}
.modal-close:hover { background: rgba(255,255,255,.12); color: #fff; }

.modal-date-label {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange2); margin-bottom: 8px;
}
.modal-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.modal-title span {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Form fields */
.mf { margin-bottom: 14px; }
.ml {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-bottom: 5px; display: block;
}
.ml .req { color: var(--orange2); }
.mi, .ms, .mta {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
  padding: 10px 14px; color: var(--white);
  font-family: 'Poppins', sans-serif; font-size: 13px;
  outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.mi:focus, .ms:focus, .mta:focus {
  border-color: rgba(255,208,0,.5);
  background: rgba(255,208,0,.03);
}
.mi.err, .ms.err, .mta.err { border-color: #ff4444 !important; }
.ms option { background: #111; }
.mta { resize: vertical; min-height: 72px; }
.mrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.modal-submit {
  width: 100%; margin-top: 12px; padding: 13px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  border: none; border-radius: 12px; color: var(--black);
  font-family: 'Poppins', sans-serif; font-size: 14px;
  font-weight: 700; cursor: pointer; transition: all .2s;
}
.modal-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,106,0,.4); }
.modal-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.modal-success { text-align: center; padding: 24px 0; display: none; }
.modal-success-icon { font-size: 52px; margin-bottom: 14px; }
.modal-success h3 { font-size: 20px; font-weight: 800; color: var(--yellow); margin-bottom: 8px; }
.modal-success p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.8; }

/* Owner view modal */
.owner-modal { max-width: 540px; }
.appt-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,208,0,.12);
  border-radius: 14px; padding: 16px; margin-bottom: 12px;
}
.appt-card:last-child { margin-bottom: 0; }
.appt-card-top {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 12px;
}
.appt-name { font-size: 15px; font-weight: 700; color: var(--yellow); }
.appt-time-badge {
  font-family: 'Space Mono', monospace; font-size: 10px;
  background: rgba(255,106,0,.15); border: 1px solid rgba(255,106,0,.3);
  color: var(--orange2); border-radius: 20px; padding: 3px 10px;
}
.appt-row { display: flex; gap: 8px; margin-bottom: 5px; }
.appt-lbl {
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  min-width: 68px; padding-top: 1px; flex-shrink: 0;
}
.appt-val { font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.5; }
.appt-actions { display: flex; align-items: center; gap: 0.75rem; margin-top: 10px; }
.del-btn {
  background: none; border: 1px solid rgba(255,68,68,.3);
  color: rgba(255,68,68,.6); font-size: 10px; padding: 4px 12px;
  border-radius: 20px; cursor: pointer; transition: all .2s;
  font-family: 'Poppins', sans-serif;
}
.del-btn:hover { background: rgba(255,68,68,.12); color: #ff4444; }
.del-btn:disabled { opacity: 0.5; cursor: default; }
.appt-empty { text-align: center; padding: 30px 0; color: rgba(255,255,255,.3); font-size: 13px; }

/* Owner login modal */
.login-modal { max-width: 360px; }
.pin-err { color: #ff4444; font-size: 12px; text-align: center; margin-top: 8px; display: none; }

/* ── STICKY FOOTER ───────────────────────── */
.sticky-footer {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  height: 46px; background: rgba(8,8,8,.98);
  border-top: 1px solid rgba(255,208,0,.15);
  display: flex; align-items: center; overflow: hidden;
}
.footer-label {
  flex-shrink: 0; font-family: 'Space Mono', monospace;
  font-size: 10px; color: var(--yellow); letter-spacing: .1em;
  text-transform: uppercase; padding: 0 16px;
  border-right: 1px solid rgba(255,208,0,.2); white-space: nowrap;
}
.footer-track { flex: 1; overflow: hidden; }
.footer-run {
  display: inline-flex; align-items: center;
  white-space: nowrap; animation: footerScroll 25s linear infinite;
}
@keyframes footerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.f-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 20px; font-size: 12px; color: rgba(255,255,255,.6);
}
.f-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange2); flex-shrink: 0;
}
.f-item b { color: var(--white); }
.f-sep { color: rgba(255,208,0,.3); padding: 0 4px; }
.f-empty { font-size: 12px; color: rgba(255,255,255,.3); padding: 0 20px; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .calendar-grid { grid-template-columns: 1fr; padding: 0 16px 40px; }
  .mrow { grid-template-columns: 1fr; }
  .back-btn { font-size: 10px; }
  .owner-btn { font-size: 10px; padding: 6px 10px; }
}

/* ── CALENDAR DAY PILLS ──────────────────── */
.cal-day {
  flex-direction: column;
  gap: 2px;
  padding: 3px 2px;
  height: auto;
  min-height: 0;
  aspect-ratio: unset;
}
/* Days without pills keep square shape */
.cal-day:not(:has(.cal-day-pills)) {
  aspect-ratio: 1;
  padding: 0;
}
.cal-day-num {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
}
.cal-day-pills {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}
.cal-day-pill {
  display: block;
  font-size: 7px;
  font-weight: 600;
  background: rgba(255, 106, 0, 0.2);
  border: 1px solid rgba(255, 154, 60, 0.35);
  color: var(--orange2);
  border-radius: 3px;
  padding: 1px 3px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
  line-height: 1.4;
}
.cal-day.today .cal-day-pill {
  background: rgba(0,0,0,0.2);
  border-color: rgba(0,0,0,0.2);
  color: rgba(0,0,0,0.7);
}
.cal-day.fully-booked .cal-day-pill {
  background: rgba(255,68,68,0.15);
  border-color: rgba(255,68,68,0.3);
  color: rgba(255,100,100,0.9);
}

/* ── MODAL BOOK FOOTER BTN ───────────────── */
.modal-book-footer {
  position: sticky;
  bottom: 0;
  padding-top: 14px;
  margin-top: 6px;
  background: linear-gradient(transparent, #111 30%);
  pointer-events: none;
}
.modal-book-footer-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(255, 208, 0, 0.35);
  border-radius: 12px;
  color: var(--yellow);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.03em;
  pointer-events: all;
}
.modal-book-footer-btn:hover {
  background: rgba(255, 208, 0, 0.08);
  border-color: var(--yellow);
  transform: translateY(-1px);
}

/* ── DAY VIEW ────────────────────────────── */
.day-appt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,208,0,.12);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.day-appt-item:last-child { margin-bottom: 0; }
.day-appt-time {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(255,208,0,.1);
  border: 1px solid rgba(255,208,0,.2);
  border-radius: 8px;
  padding: 5px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.day-appt-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.day-appt-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.day-appt-topic {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.day-appt-empty {
  text-align: center;
  padding: 24px 0 16px;
  color: rgba(255,255,255,.3);
  font-size: 13px;
}

/* Back button in booking form */
.back-to-day-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  padding: 0 0 14px 0;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Poppins', sans-serif;
}
.back-to-day-btn:hover { color: var(--yellow); }

/* ── NAV COLUMN BUTTONS ──────────────────── */
.nav-col-btns {
  position: absolute;
  top: 24px; left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
}
.nav-col-btn {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.5); text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; transition: color .2s;
  font-family: 'Space Mono', monospace;
  white-space: nowrap;
}
.nav-col-btn:hover { color: var(--yellow); }