/* Seotronix — Agendador interno (booking modal) */
.bk-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(9, 19, 39, .55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity .22s ease;
}
.bk-overlay.show { display: flex; opacity: 1; }
.bk-modal {
  background: #fff; border-radius: 20px; width: 100%; max-width: 940px;
  max-height: 92vh; overflow: hidden; display: grid; grid-template-columns: 340px 1fr;
  box-shadow: 0 40px 100px rgba(9,19,39,.4); transform: translateY(12px); transition: transform .22s ease;
}
.bk-overlay.show .bk-modal { transform: translateY(0); }

.bk-aside {
  background: var(--navy); color: var(--white); padding: 34px 30px; display: flex; flex-direction: column;
}
.bk-aside .bk-logo { height: 26px; width: auto; margin-bottom: 32px; filter: brightness(0) invert(1); align-self: flex-start; }
.bk-host { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.bk-host img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: rgba(255,255,255,.1); }
.bk-host .hn { font-weight: 800; font-size: 15px; }
.bk-host .hr { font-size: 13px; color: rgba(245,247,250,.6); }
.bk-aside .bk-title { font-size: 26px; font-weight: 800; letter-spacing: -.5px; line-height: 1.12; margin-bottom: 10px; }
.bk-aside .bk-sub { font-size: 14px; color: rgba(245,247,250,.72); line-height: 1.5; margin-bottom: 28px; }
.bk-aside h3 { font-size: 24px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; margin-bottom: 20px; }
.bk-meta { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.bk-meta .row { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: rgba(245,247,250,.82); line-height: 1.4; }
.bk-meta .row svg { flex: 0 0 auto; width: 19px; height: 19px; fill: none; stroke: var(--red); stroke-width: 2; margin-top: 1px; }
.bk-aside .bk-note { margin-top: auto; font-size: 13px; color: rgba(245,247,250,.6); line-height: 1.5; padding-top: 24px; }
.bk-aside .bk-note a { color: #fff; border-bottom: 1px solid var(--red); }

.bk-main { padding: 30px 32px; overflow-y: auto; position: relative; }
.bk-close {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 9px;
  border: none; background: var(--gray); color: var(--text-dark); cursor: pointer; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: .18s; z-index: 2;
}
.bk-close:hover { background: #e3e7f0; }
.bk-step-title { font-size: 20px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 20px; }

/* calendar */
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bk-cal-head .m { font-weight: 800; font-size: 16px; text-transform: capitalize; }
.bk-nav { display: flex; gap: 8px; }
.bk-nav button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(13,27,53,.12); background: #fff; cursor: pointer; color: var(--navy); display: flex; align-items: center; justify-content: center; transition: .16s; }
.bk-nav button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.bk-nav button:disabled { opacity: .3; cursor: not-allowed; }
.bk-dow, .bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bk-dow { margin-bottom: 8px; }
.bk-dow span { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--text-muted); text-transform: uppercase; }
.bk-days button {
  aspect-ratio: 1; border: none; background: none; border-radius: 50%; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700; color: var(--navy); transition: .14s;
}
.bk-days button.avail { background: rgba(232,35,74,.10); color: var(--red); }
.bk-days button.avail:hover { background: rgba(232,35,74,.22); }
.bk-days button.sel { background: var(--red); color: #fff; }
.bk-days button.empty { background: none; cursor: default; }
.bk-days button:disabled { color: rgba(13,27,53,.22); cursor: not-allowed; background: none; }
.bk-tz { margin-top: 20px; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.bk-tz svg { width: 16px; height: 16px; stroke: var(--text-muted); fill: none; stroke-width: 2; }
/* timezone selector */
.bk-tzsel { position: relative; margin-top: 18px; }
.bk-tzbtn { display: inline-flex; align-items: center; gap: 8px; background: var(--gray); border: 1.5px solid rgba(13,27,53,.12); border-radius: 10px; padding: 9px 13px; font-family: inherit; font-size: 13px; color: var(--text-muted); cursor: pointer; transition: border-color .15s; }
.bk-tzbtn:hover, .bk-tzsel.open .bk-tzbtn { border-color: var(--navy); }
.bk-tzbtn strong { color: var(--navy); font-weight: 800; }
.bk-tzbtn svg:first-child { width: 16px; height: 16px; stroke: var(--text-muted); fill: none; stroke-width: 2; flex: 0 0 auto; }
.bk-tzbtn .caret { width: 11px; height: 7px; stroke: var(--text-muted); }
.bk-tzmenu { position: absolute; left: 0; bottom: calc(100% + 8px); width: 300px; max-width: 88vw; background: #fff; border: 1px solid rgba(13,27,53,.12); border-radius: 12px; box-shadow: 0 18px 46px rgba(9,19,39,.18); padding: 10px; z-index: 20; }
.bk-tzsearch { width: 100%; border: 1.5px solid rgba(13,27,53,.14); border-radius: 9px; padding: 9px 12px; font-family: inherit; font-size: 13.5px; color: var(--navy); outline: none; margin-bottom: 8px; }
.bk-tzsearch:focus { border-color: var(--navy); }
.bk-tzlist { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; }
.bk-tzlist button { text-align: left; background: none; border: none; padding: 9px 11px; border-radius: 8px; font-family: inherit; font-size: 13.5px; color: var(--navy); cursor: pointer; }
.bk-tzlist button:hover { background: var(--gray); }
.bk-tzlist button.on { background: var(--navy); color: #fff; font-weight: 700; }
.bk-tzempty { padding: 12px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* time slots */
.bk-slots-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.bk-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 360px; overflow-y: auto; padding-right: 4px; align-content: start; }
.bk-slots .day-lbl { grid-column: 1 / -1; font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.bk-daybar { display: none; align-items: center; justify-content: space-between; gap: 12px; background: var(--gray); border: 1.5px solid rgba(13,27,53,.12); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.bk-daybar span { font-size: 15px; font-weight: 800; color: var(--navy); }
.bk-change { background: none; border: none; color: var(--red); font-family: inherit; font-weight: 800; font-size: 13.5px; cursor: pointer; padding: 4px 6px; }
.bk-change:hover { text-decoration: underline; }
.bk-slot { padding: 10px 8px; border: 1.5px solid rgba(13,27,53,.14); border-radius: 10px; background: #fff; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 13.5px; color: var(--navy); text-align: center; transition: .14s; text-align: center; }
.bk-slot:hover { border-color: var(--red); color: var(--red); }
.bk-slot.sel { background: var(--navy); border-color: var(--navy); color: #fff; }

/* form */
.bk-form { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.bk-field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.bk-field input, .bk-field textarea {
  width: 100%; border: 1.5px solid rgba(13,27,53,.14); border-radius: 10px; padding: 12px 14px;
  font-family: inherit; font-size: 14.5px; color: var(--navy); transition: .16s; background: #fff;
}
.bk-field input:focus, .bk-field textarea:focus { outline: none; border-color: var(--red); }
.bk-field textarea { resize: vertical; min-height: 74px; }
.bk-field.err input, .bk-field.err textarea { border-color: var(--red); }
.bk-field .msg { font-size: 12px; color: var(--red); margin-top: 5px; display: none; }
.bk-field.err .msg { display: block; }
.bk-summary { background: var(--gray); border-radius: 12px; padding: 14px 16px; font-size: 14px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.bk-summary svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; }
.bk-actions { display: flex; gap: 10px; margin-top: 6px; }
.bk-back { background: none; border: none; color: var(--text-muted); font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; padding: 12px 4px; }
.bk-back:hover { color: var(--navy); }

/* confirmation */
.bk-done { text-align: center; padding: 30px 10px; max-width: 460px; margin: 0 auto; }
.bk-done .check { width: 72px; height: 72px; border-radius: 50%; background: rgba(31,138,91,.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.bk-done .check svg { width: 36px; height: 36px; stroke: #1f8a5b; fill: none; stroke-width: 2.5; }
.bk-done h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.bk-done p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 8px; }
.bk-done .bk-when { background: var(--gray); border-radius: 12px; padding: 16px; font-weight: 700; color: var(--navy); margin: 18px 0; }
.bk-done .bk-meet { display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; }

.bk-spin { display: inline-block; width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: bk-rot .7s linear infinite; }
@keyframes bk-rot { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .bk-modal { grid-template-columns: 1fr; max-height: 94vh; }
  .bk-aside { display: none; }
  .bk-slots-wrap { grid-template-columns: 1fr; }
  .bk-slots { max-height: 240px; }
  .bk-daybar { display: flex; }
  .bk-calcol { display: none; }
  .bk-slots .day-lbl { display: none; }
}
