/* Komplex Logopédia — self-contained booking modal styles for the mirrored
   (Webflow-exported) pages. Everything is scoped under #bookingModal so it
   never clashes with the page's own Webflow CSS. Colors are literal (no vars). */

#bookingModal { position: fixed; inset: 0; background: rgba(8,20,32,.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; box-sizing: border-box; }
#bookingModal.open { display: flex; }
#bookingModal *, #bookingModal *::before, #bookingModal *::after { box-sizing: border-box; }

/* display/position are set explicitly to defeat Webflow's own `.modal { display:none; position:fixed; inset:0 }` */
#bookingModal .modal { display: block; position: relative; inset: auto; background: #fff; border-radius: 20px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(8,20,32,.3); color: #0b2236; margin: 0; }
#bookingModal .modal__head { padding: 20px 24px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
#bookingModal .modal__head h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: #0b2236; }
#bookingModal .modal__close { background: none; border: none; font-size: 1.7rem; color: #64748b; line-height: 1; cursor: pointer; padding: 0 4px; }
#bookingModal .modal__close:hover { color: #0b2236; }
#bookingModal .modal__body { padding: 24px; }

#bookingModal .center { text-align: center; }
#bookingModal .muted { color: #64748b; }
#bookingModal .text-pink { color: #db2777; }
#bookingModal .mt-2 { margin-top: 8px; } #bookingModal .mt-4 { margin-top: 16px; }
#bookingModal .mt-6 { margin-top: 24px; } #bookingModal .mt-8 { margin-top: 32px; }
#bookingModal .grid { display: grid; }

#bookingModal .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; border: 1px solid transparent; border-radius: 12px; padding: 13px 22px; font-weight: 700; font-size: 1rem; font-family: inherit; line-height: 1.2; transition: background .15s, transform .15s, border-color .15s, color .15s; text-decoration: none; }
#bookingModal .btn:active { transform: translateY(1px); }
#bookingModal .btn-primary { background: #008ae6; color: #fff; box-shadow: 0 12px 26px rgba(0,138,230,.28); }
#bookingModal .btn-primary:hover { background: #0077c8; }
#bookingModal .btn-ghost { background: #fff; color: #0b2236; border-color: #e2e8f0; }
#bookingModal .btn-ghost:hover { border-color: #008ae6; color: #008ae6; }
#bookingModal .btn-outline { background: transparent; color: #008ae6; border-color: #008ae6; }
#bookingModal .btn-outline:hover { background: #008ae6; color: #fff; }
#bookingModal .btn-lg { padding: 16px 30px; font-size: 1.06rem; }
#bookingModal .btn-block { display: flex; width: 100%; }

#bookingModal .field { margin-bottom: 16px; }
#bookingModal .field label { display: block; font-weight: 600; color: #334155; margin-bottom: 6px; font-size: .92rem; }
#bookingModal .field input, #bookingModal .field select, #bookingModal .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 1rem; font-family: inherit; color: #0b2236; background: #fff; }
#bookingModal .field input:focus, #bookingModal .field select:focus, #bookingModal .field textarea:focus { outline: none; border-color: #008ae6; box-shadow: 0 0 0 3px #eef7ff; }

#bookingModal .book-spin { width: 34px; height: 34px; border: 3px solid #d0e8fb; border-top-color: #008ae6; border-radius: 50%; margin: 0 auto 12px; animation: kl-bkspin .8s linear infinite; }
@keyframes kl-bkspin { to { transform: rotate(360deg); } }

#bookingModal .book-cat { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
#bookingModal .book-cat:hover { border-color: #008ae6; box-shadow: 0 6px 16px rgba(8,20,32,.08); }
#bookingModal .book-cat__dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
#bookingModal .book-cat__txt { flex: 1; display: flex; flex-direction: column; }
#bookingModal .book-cat__txt strong { color: #0b2236; }
#bookingModal .book-cat__txt small { color: #64748b; font-size: .85rem; }
#bookingModal .book-cat__meta { text-align: right; font-size: .82rem; color: #64748b; white-space: nowrap; }
#bookingModal .book-cat__meta b { color: #008ae6; }

#bookingModal .book-days { display: grid; gap: 14px; max-height: 360px; overflow-y: auto; }
#bookingModal .book-day__label { font-weight: 700; color: #0b2236; margin-bottom: 8px; }
#bookingModal .book-times { display: flex; flex-wrap: wrap; gap: 8px; }
#bookingModal .book-time { background: #eef7ff; color: #0369a1; border: 1px solid #d0e8fb; border-radius: 10px; padding: 9px 14px; font-weight: 700; font-size: .92rem; cursor: pointer; transition: .15s; }
#bookingModal .book-time:hover { background: #008ae6; color: #fff; border-color: #008ae6; }
#bookingModal .book-summary { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; color: #334155; }
#bookingModal .book-check { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 2rem; display: grid; place-items: center; margin: 0 auto; }
#bookingModal h3 { color: #0b2236; }
