/* 0193 «Ön görüşme takvimi» (owner 2026-12-01: «iyzads'teki gibi olsun»): the request form's calendar — the month on
   the left (open days filled, the chosen one in the brand colour, today marked), the chosen day's free times listed under
   its name on the right — and the meeting's private page. */

/* ---- In the request form ---- */
.kw-booking { display: grid; gap: 16px; }
.kw-booking__head { display: grid; gap: 6px; }
.kw-booking__head > strong { font-size: 1.05rem; color: var(--text-dark, #0f172a); }
.kw-booking__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--text-dark, #0f172a); }
.kw-booking__facts i { color: var(--primary, #1e40af); margin-right: 4px; }
.kw-booking__other { justify-self: start; padding: 0; border: 0; background: none; color: var(--primary, #1e40af); font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.kw-booking__other:hover { color: var(--primary-dark, #1e3a8a); }
.kw-booking__other i { margin-right: 4px; }

/* ---- The calendar ---- */
.bk-cal { display: grid; gap: 14px; }
.bk-cal__hosts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.bk-host-card { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--surface-2, #e2e8f0); border-radius: var(--radius-md, 8px); background: var(--white, #fff); text-align: left; cursor: pointer; color: var(--text-dark, #0f172a); }
.bk-host-card:hover { border-color: var(--primary, #1e40af); }
.bk-host-card.is-on { border-color: var(--primary, #1e40af); box-shadow: inset 0 0 0 1px var(--primary, #1e40af); background: rgba(30, 64, 175, .05); }
.bk-host-card__photo { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: rgba(30, 64, 175, .1); color: var(--primary, #1e40af); font-weight: 700; font-size: 17px; }
.bk-host-card__text { display: grid; gap: 1px; min-width: 0; }
.bk-host-card__text strong { font-size: .92rem; }
.bk-host-card__text small { color: var(--text-muted, #64748b); font-size: .78rem; }

.bk-cal__panes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 240px); border: 1px solid var(--surface-2, #e2e8f0); border-radius: 12px; background: var(--white, #fff); overflow: hidden; }
.bk-cal__month { padding: 20px 22px 18px; min-width: 0; }
.bk-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.bk-cal__head > strong { font-size: 1.1rem; font-weight: 700; color: var(--text-dark, #0f172a); }
.bk-cal__head > strong span { font-weight: 500; color: var(--text-muted, #64748b); }
.bk-cal__nav { display: inline-flex; gap: 4px; }
.bk-cal__nav button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--text-dark, #0f172a); font-size: 15px; cursor: pointer; }
.bk-cal__nav button:hover:not(:disabled) { background: var(--surface, #f1f5f9); }
.bk-cal__nav button:disabled { opacity: .3; cursor: default; }
.bk-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bk-cal__wd { padding: 2px 0 8px; text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--text-muted, #64748b); }
.bk-cal__day { position: relative; aspect-ratio: 1 / 1; min-height: 38px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--text-light, #94a3b8); font-weight: 600; font-size: .95rem; }
.bk-cal__day.is-open { background: #eef2f7; color: var(--text-dark, #0f172a); cursor: pointer; transition: background var(--transition), color var(--transition); }
.bk-cal__day.is-open:hover { background: #dfe6f0; }
.bk-cal__day.is-on, .bk-cal__day.is-on:hover { background: var(--primary, #1e40af); color: #fff; }
.bk-cal__day.is-today::after { content: ''; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.bk-cal__day.is-empty { background: transparent; }
.bk-cal__day:focus-visible, .bk-slot:focus-visible, .bk-host-card:focus-visible, .bk-cal__nav button:focus-visible, .kw-booking__other:focus-visible { outline: 2px solid var(--primary, #1e40af); outline-offset: 2px; }

.bk-cal__side { display: flex; flex-direction: column; min-width: 0; padding: 20px 16px 18px; border-left: 1px solid var(--surface-2, #e2e8f0); background: #fbfcfe; }
.bk-cal__side-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.bk-cal__side-head > strong { font-size: 1.05rem; color: var(--text-dark, #0f172a); }
.bk-cal__tz { font-size: .75rem; color: var(--text-muted, #64748b); white-space: nowrap; }
.bk-cal__slots { display: grid; gap: 8px; max-height: 360px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.bk-slot { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--surface-3, #cbd5e1); border-radius: 8px; background: var(--white, #fff); color: var(--text-dark, #0f172a); font-weight: 700; font-size: .95rem; cursor: pointer; transition: border-color var(--transition), background var(--transition), color var(--transition); }
.bk-slot:hover { border-color: var(--primary, #1e40af); color: var(--primary, #1e40af); }
.bk-slot.is-on, .bk-slot.is-on:hover { border-color: var(--primary, #1e40af); background: var(--primary, #1e40af); color: #fff; }
.bk-cal__msg { margin: 12px 0 0; color: var(--text-muted, #64748b); font-size: .9rem; line-height: 1.55; }
.bk-cal__side .bk-cal__msg { margin-top: 0; }
.bk-cal__msg.is-error { padding: 10px 12px; border: 1px solid #fecaca; border-radius: 8px; background: #fef2f2; color: #b91c1c; }
.bk-cal__chosen { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #bbf7d0; border-radius: 10px; background: #f0fdf4; }
.bk-cal__chosen > i { font-size: 22px; color: #16a34a; }
.bk-cal__chosen > span { display: grid; gap: 2px; min-width: 0; }
.bk-cal__chosen small { color: var(--text-muted, #64748b); }
.bk-link { padding: 0; border: 0; background: none; color: var(--primary, #1e40af); font-weight: 600; text-decoration: underline; cursor: pointer; }
.bk-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.bk-submit .btn { min-width: 200px; padding: 12px 22px; font-weight: 700; }
.bk-submit small { color: var(--text-muted, #64748b); }

/* ---- The meeting's private page ---- */
.bk-wrap--narrow { max-width: 860px; }
.bk-banner { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid var(--surface-2, #e2e8f0); border-radius: var(--radius-md, 8px); background: var(--surface, #f8fafc); line-height: 1.55; }
.bk-banner > i { font-size: 22px; color: var(--primary, #1e40af); }
.bk-banner.is-ok { border-color: #bbf7d0; background: #f0fdf4; }
.bk-banner.is-ok > i { color: #16a34a; }
.bk-manage { display: grid; gap: 18px; padding: 28px; border: 1px solid var(--surface-2, #e2e8f0); border-radius: var(--radius-lg, 8px); background: var(--white, #fff); box-shadow: var(--shadow-md); }
.bk-manage__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.bk-manage__kind { font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--primary, #1e40af); }
.bk-badge { padding: 4px 10px; border-radius: var(--radius-pill, 6px); font-size: .82rem; font-weight: 700; background: #f1f5f9; color: #475569; }
.bk-badge.is-ok { background: #dcfce7; color: #166534; }
.bk-badge.is-off { background: #fee2e2; color: #991b1b; }
.bk-manage__title { margin: 0; font-size: 1.45rem; color: var(--text-dark, #0f172a); }
.bk-manage__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.bk-manage__facts.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk-manage__facts > div { padding: 12px 14px; border: 1px solid var(--surface-2, #e2e8f0); border-radius: var(--radius-sm, 8px); background: var(--surface, #f8fafc); }
.bk-manage__facts dt { margin-bottom: 4px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted, #64748b); }
.bk-manage__facts dd { margin: 0; font-weight: 600; color: var(--text-dark, #0f172a); }
.bk-manage__facts dd small { font-weight: 400; color: var(--text-muted, #64748b); }
.bk-join { justify-self: start; padding: 12px 22px; font-weight: 700; }
.bk-note { margin: 0; color: var(--text-muted, #64748b); line-height: 1.6; }
.bk-note--center { margin-top: 18px; text-align: center; }
.bk-calendar-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bk-calendar-links > span { color: var(--text-muted, #64748b); font-size: .92rem; margin-right: 4px; }
.bk-manage__actions { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--surface-2, #e2e8f0); }
.bk-manage__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-confirm { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid #fecaca; border-radius: var(--radius-md, 8px); background: #fef2f2; }
.bk-confirm p { margin: 0; color: #7f1d1d; }
.bk-manage__move { padding-top: 6px; }

@media (max-width: 767.98px) {
  .bk-cal__hosts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .bk-host-card { padding: 7px 8px; gap: 8px; }
  .bk-host-card__photo { flex-basis: 34px; width: 34px; height: 34px; font-size: 14px; }
  .bk-host-card__text small { display: none; }
  .bk-cal__panes { grid-template-columns: 1fr; }
  .bk-cal__month { padding: 16px 14px 14px; }
  .bk-cal__side { border-left: 0; border-top: 1px solid var(--surface-2, #e2e8f0); padding: 16px 14px; }
  .bk-cal__slots { max-height: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bk-cal__grid { gap: 4px; }
  .bk-manage { padding: 20px 16px; }
  .bk-manage__facts, .bk-manage__facts.is-four { grid-template-columns: 1fr; }
  .bk-submit .btn { width: 100%; }
}
