/* Public booking flow. Loaded only on /book/* pages. */

body.book-page {
    background-color: #f6f7f9;
}

.book-page #mainNav {
    background-color: #212529;
}

/* Compact brand strip on booking pages instead of the giant masthead the
   marketing home page uses. Keeps the focus on the funnel. */
.book-hero {
    background-color: #fff;
    border-bottom: 1px solid #e6e6e6;
    padding: 6.5rem 0 1.75rem;
}

@media (min-width: 992px) {
    .book-hero {
        padding-top: 7.5rem;
    }
}

.book-hero h1 {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.book-hero .lead {
    font-size: 1rem;
}

/* ---------- service picker cards ---------- */

.book-card {
    border: 1px solid #e3e3e3;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.book-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ---------- service page (step-based form) ---------- */

.book-step {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 0.6rem;
    padding: 1.25rem 1.5rem;
}

.book-step-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #212529;
    margin-bottom: 0.85rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f0f0f0;
}

/* ---------- therapist cards ---------- */

.book-therapist-pick {
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.book-therapist-card {
    border: 2px solid #e3e3e3;
    border-radius: 0.5rem;
    padding: 0.85rem 0.65rem;
    text-align: center;
    transition: border-color 0.1s ease, transform 0.1s ease;
    height: 100%;
}

.book-therapist-pick input:checked + .book-therapist-card {
    border-color: #ffc800;
    background: #fffaea;
}

.book-therapist-card:hover {
    border-color: #cfa400;
}

.book-therapist-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    font-size: 1.6rem;
    overflow: hidden;
    object-fit: cover;
}

.book-avatar-any {
    background-color: #6c757d;
}

.book-therapist-name {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.book-therapist-sub {
    margin-top: 0.25rem;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
}

/* ---------- slot grid ---------- */

.book-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.5rem;
}

.book-slot {
    background: #fff;
    border: 1.5px solid #ddd;
    color: #212529;
    border-radius: 0.4rem;
    padding: 0.55rem 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.08s ease, background 0.08s ease;
}

.book-slot:hover {
    border-color: #cfa400;
}

.book-slot.is-selected {
    border-color: #ffc800;
    background: #ffc800;
    color: #1a1a1a;
}

.book-slots-empty {
    grid-column: 1 / -1;
    padding: 1rem 0;
    text-align: center;
}

/* ---------- therapist chip reused on thanks/cancel pages ---------- */

.book-page .therapist-chip {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    margin: 0 0.2rem 0.2rem 0;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
