/* Premium text rendering */
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

/* Make bold/strong look modern (less chunky) */
strong, b {
  font-weight: 600;              /* instead of 700+ */
  color: inherit;                /* avoid weird dark jumps */
}

/* Buttons + chips typography polish */
button, .sc-check-btn {
  letter-spacing: -0.01em;
}

/* Tiny global rhythm improvement */
p, li, span, label {
  line-height: 1.55;
}
.modal.hidden { display: none; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 9999;
}

.modal-card {
  width: min(520px, 100%);
  background: #111827;
  color: #f9fafb;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.modal-header { padding: 18px 18px 10px 18px; }
.modal-header h2 { margin: 0 0 6px 0; font-size: 20px; }
.modal-header p { margin: 0; opacity: 0.8; font-size: 14px; }

.modal-body { padding: 14px 18px 18px 18px; display: grid; gap: 12px; }

.modal-body label { display: grid; gap: 6px; font-size: 13px; }

.modal-body input {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #f9fafb;
  padding: 12px 12px;
  outline: none;
}

.modal-body input:focus { border-color: #6366f1; }

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

.btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
}

.btn.primary { background: #6366f1; color: white; }
.btn.secondary { background: rgba(255,255,255,0.08); color: white; }

.error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.35);
  color: #fecaca;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}
.error.hidden { display: none; }

.notify.hidden { display: none; }

.notify{
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: min(720px, calc(100% - 24px));
}

.notify-card{
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
}

.notify-row{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
}

.notify-icon{
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

.notify-title{
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 2px;
}

.notify-msg{
  font-size: 14px;
  opacity: 0.95;
}

.notify-close{
  background: transparent;
  border: 0;
  color: inherit;
  opacity: 0.75;
  cursor: pointer;
  font-size: 16px;
  padding: 6px 8px;
  border-radius: 10px;
}
.notify-close:hover{ opacity: 1; background: rgba(255,255,255,0.08); }

/* types */
.notify-success{
  background: rgba(16,185,129,0.18);
  color: #ecfdf5;
  border-color: rgba(16,185,129,0.35);
}
.notify-error{
  background: rgba(239,68,68,0.18);
  color: #fff1f2;
  border-color: rgba(239,68,68,0.35);
}
.notify-warn{
  background: rgba(245,158,11,0.18);
  color: #fffbeb;
  border-color: rgba(245,158,11,0.35);
}
.notify-info{
  background: rgba(99,102,241,0.18);
  color: #eef2ff;
  border-color: rgba(99,102,241,0.35);
}

.booked-slot::after {
  content: "";
}

.past-day {
  opacity: 0.45;
  filter: grayscale(0.6);
  pointer-events: none; /* blocks clicks */
}

/* Smaller, distinct info panel */
/* Compact neutral info panel (doesn't blend into blue banner) */
.sc-info{
  margin: 18px 0 6px;   /* space below banner */
}

.sc-info-inner{
  background: rgba(17,24,39,.55);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 12px 14px 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.sc-info-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.sc-info-title h2{ margin:0; font-size: 15px; }
.sc-info-title p{ margin:4px 0 0; opacity:.8; font-size: 12px; }

.sc-divider{
  border:0;
  height:1px;
  margin: 10px 0 8px;
  background: rgba(255,255,255,.10);
}

.sc-info-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sc-info-box{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 8px 10px;
}
.sc-info-box h3{ margin:0 0 4px; font-size: 12.5px; opacity:.9; }
.sc-info-box p, .sc-info-box li{ font-size: 12px; opacity:.85; }
.sc-info-box ul{ margin:0; padding-left: 16px; }

/* Stand-out button */
.sc-check-btn{
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  color: #f8fafc;
  background-color: rgba(255,255,255,.08);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  white-space: nowrap;
  transition: transform .06s ease, background .15s ease, border-color .15s ease;
}
.page-container{
  max-width: 1100px;   /* match banner content width */
  margin: 0 auto;
  padding: 0 20px;     /* same side padding as banner */
}
.sc-check-btn:hover{
  background-color: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
  filter: brightness(1.05);
}

.sc-check-btn:active{
  transform: scale(.98);
}

@media (max-width: 900px){
  .sc-info-grid{ grid-template-columns: 1fr; }
  .sc-check-btn{ width: 100%; }
}

@media (max-width: 900px){
  .sc-check-btn{
    padding: 7px 12px;
    font-size: 12.5px;
    width: auto;
    max-width: 180px;
  }
  .sc-info-top{ align-items: center; }
}

@media (max-width: 480px){
  .sc-check-btn{
    font-size: 12px;
    padding: 6px 10px;
  }
}

#appointmentsSection {
  scroll-margin-top: 20px;
}

/* Improve text rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Better default text rhythm */
p, label, span, input, select, button {
  line-height: 1.5;
}

/* Slightly tighter headings */
h1, h2, h3 {
  letter-spacing: -0.01em;
  line-height: 1.25;
}

button {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.slot {
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Disabled slots (past / too far) */
.slot:disabled {
  background-color: #e5e7eb;   /* gray-200 */
  color: #9ca3af;              /* gray-400 */
  cursor: not-allowed;
}

/* Booked slots (different from disabled) */
.slot.booked-slot {
  background-color: #bfdbfe;   /* blue-200 */
  color: #1e3a8a;              /* blue-900 */
  border: 1px solid #60a5fa;   /* blue-400 */
  cursor: not-allowed;
  opacity: 1;
}