/* Auren — прозорец „Запази 30-минутен разговор“ (assets/auren-booking.js).
   Видът е на стария календар от contact.html / css/booking.css:
   тъмна карта #060910, оранжев избор #f75d00, Mulish за заглавия, Inter за текст. */
.aur-book {
  --bk-bg: #060910;
  --bk-card: rgba(255, 255, 255, .03);
  --bk-line: rgba(255, 255, 255, .08);
  --bk-brand: #f75d00;
  --bk-brand-soft: #f97d33;
  --bk-text: #fff;
  --bk-muted: #9e9e9e;
  --bk-success: #22c55e;
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 32px;
  border: 1px solid var(--bk-line);
  border-radius: 20px;
  background: var(--bk-bg);
  color: var(--bk-text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.aur-book::backdrop { background: rgba(6, 9, 16, .72); backdrop-filter: blur(4px); }
body.aur-book-open { overflow: hidden; }
.aur-book [hidden] { display: none !important; }
.aur-book h2 {
  margin: 0 40px 6px 0;
  font-family: Mulish, Inter, sans-serif;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--bk-text);
}
.aur-book_sub { margin: 0 0 24px; color: var(--bk-muted); font-size: .95rem; }
.aur-book button { font: inherit; }
.aur-book_nw { white-space: nowrap; }
.aur-book :focus-visible { outline: 2px solid #ff9a4d; outline-offset: 2px; }

.aur-book_close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--bk-line); border-radius: 12px;
  background: transparent; color: var(--bk-muted);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.aur-book_close:hover { color: var(--bk-text); border-color: rgba(247, 93, 0, .3); }

.aur-book_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aur-book_grid > * { min-width: 0; }
.aur-book_cal,
.aur-book_times {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 16px;
  background: var(--bk-card);
}

.aur-book_calhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.aur-book_month { font-family: Mulish, Inter, sans-serif; font-size: 1.05rem; font-weight: 700; }
.aur-book_nav {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, .06); border-radius: 8px;
  background: transparent; color: var(--bk-muted);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.aur-book_nav:hover:not(:disabled) { border-color: rgba(247, 93, 0, .3); color: var(--bk-brand); background: rgba(247, 93, 0, .05); }
.aur-book_nav:disabled { opacity: .3; cursor: not-allowed; }

.aur-book_wd,
.aur-book_days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.aur-book_wd span {
  padding: 6px 0; text-align: center;
  font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: #666;
}
.aur-book_day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 8px;
  background: transparent; color: var(--bk-text);
  font-size: .85rem; font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.aur-book_day:hover:not(:disabled):not(.is-selected):not(.is-empty) { background: rgba(255, 255, 255, .05); border-color: var(--bk-line); }
.aur-book_day:disabled { color: rgba(255, 255, 255, .18); cursor: not-allowed; }
.aur-book_day.is-empty { cursor: default; }
.aur-book_day.is-selected {
  background: var(--bk-brand); border-color: var(--bk-brand);
  color: #fff; font-weight: 700;
  box-shadow: 0 0 20px rgba(247, 93, 0, .3);
}

.aur-book_hint { margin: 0; padding: 40px 8px; text-align: center; color: #8a8a8a; font-size: .9rem; }
.aur-book_daytitle { margin: 0 0 12px; font-family: Mulish, Inter, sans-serif; font-size: 1.05rem; font-weight: 700; }
.aur-book_slots { display: flex; flex-direction: column; gap: 8px; }
.aur-book_slot {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .06); border-radius: 8px;
  background: transparent; color: var(--bk-text);
  font-size: .9rem; font-weight: 500; text-align: left;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.aur-book_slot small { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bk-success); }
.aur-book_slot:hover:not(:disabled):not(.is-selected) { border-color: rgba(247, 93, 0, .2); background: rgba(247, 93, 0, .04); }
.aur-book_slot.is-selected { border-color: var(--bk-brand); background: rgba(247, 93, 0, .08); color: var(--bk-brand-soft); box-shadow: 0 0 0 1px var(--bk-brand); }
.aur-book_slot.is-selected small { color: var(--bk-brand-soft); }
.aur-book_slot:disabled { opacity: .35; cursor: not-allowed; }
.aur-book_slot:disabled span { text-decoration: line-through; }
.aur-book_slot:disabled small { color: var(--bk-muted); }

.aur-book_form { margin-top: 20px; display: grid; gap: 12px; }
.aur-book_contact, .aur-book_volume { display: grid; gap: 8px; }
.aur-book_volume label { font-size: .85rem; font-weight: 600; color: var(--bk-muted); }
.aur-book_volume select {
  width: 100%; box-sizing: border-box; padding: 12px 14px;
  border: 1px solid var(--bk-line); border-radius: 12px;
  background: #0c1218; color: var(--bk-text); font: inherit; font-size: 16px;
}
.aur-book_volume select:focus { outline: none; border-color: rgba(247, 93, 0, .5); box-shadow: 0 0 0 3px rgba(247, 93, 0, .1); }
.aur-book_contact > label:first-child { font-size: .85rem; font-weight: 600; color: var(--bk-muted); }
.aur-book_contact input[type="text"] {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--bk-line); border-radius: 12px;
  background: rgba(255, 255, 255, .04); color: var(--bk-text);
  font: inherit; font-size: 16px; /* 16px: iOS не зумва */
}
.aur-book_contact input[type="text"]::placeholder { color: #666; }
.aur-book_contact input[type="text"]:focus { outline: none; border-color: rgba(247, 93, 0, .5); box-shadow: 0 0 0 3px rgba(247, 93, 0, .1); }
.aur-book_check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--bk-muted); cursor: pointer; }
.aur-book_check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bk-brand); }
.aur-book_check a { color: var(--bk-text); text-decoration: underline; text-underline-offset: 2px; }
.aur-book_hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.aur-book_status { margin: 0; min-height: 0; color: #ff8a80; font-size: .9rem; }
.aur-book_status:empty { display: none; }

.aur-book_submit {
  justify-self: start;
  padding: 14px 24px;
  border: 0; border-radius: 60px;
  background: #f66f14; color: #fff;
  font-weight: 600; font-size: .95rem;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}
.aur-book_submit:hover:not(:disabled) { background: var(--bk-brand); }
.aur-book_submit:disabled { opacity: .4; cursor: not-allowed; }
.aur-book_submit[aria-busy="true"] { opacity: .6; cursor: progress; }

.aur-book_done { padding: 24px 0 8px; text-align: center; outline: none; }
.aur-book_done h2 { margin: 0 0 8px; }
.aur-book_ok {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, .12); color: var(--bk-success);
  font-size: 26px; font-weight: 700;
}
.aur-book_when { margin: 0 0 8px; font-size: 1.05rem; font-weight: 600; color: var(--bk-brand-soft); }
.aur-book_done .aur-book_submit { justify-self: center; }

@media (max-width: 640px) {
  .aur-book { padding: 20px 16px; border-radius: 16px; }
  .aur-book_grid { grid-template-columns: 1fr; gap: 12px; }
  .aur-book_cal, .aur-book_times { padding: 14px; }
  .aur-book_hint { padding: 16px 8px; }
  .aur-book_slots { display: grid; grid-template-columns: 1fr 1fr; }
  .aur-book_slot { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 12px; }
  .aur-book_submit { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .aur-book * { transition: none !important; }
}
