/*!
 * BookingDo — Calendly-style theme overrides (storefront / booking flow)
 * Applies to all vendor storefront themes (theme-1..theme-17) and the
 * booking pages, since they all share this Bootstrap-based stylesheet.
 *
 * Deliberately does NOT touch --bs-primary / --bs-secondary: each vendor
 * picks their own brand color in their settings, and that should keep
 * working exactly as before. This file only retheme shape, spacing,
 * elevation and type so every theme reads like a clean, modern booking
 * flow — the color is the vendor's, the *feel* is Calendly's.
 */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --ink: #0A2540;
    --muted: #5D7290;
    --border-soft: #E3E8EF;
    --bg-alt: #F6F8FC;
    --radius-card: 16px;
    --radius-pill: 999px;
    --radius-input: 10px;
    --shadow-soft: 0 16px 32px -14px rgba(10, 37, 64, 0.14);
}

body {
    font-family: "Inter", sans-serif !important;
    color: var(--ink);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Sora", sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}

.text-muted {
    color: var(--muted) !important;
}

/* ---------- Buttons: pill shape everywhere, calmer hover ---------- */
.btn {
    border-radius: var(--radius-pill) !important;
    font-weight: 600;
    padding: 11px 24px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn.btn-primary,
.btn.btn-secondary {
    box-shadow: 0 8px 18px -8px rgba(10, 37, 64, 0.28);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-submit {
    border-radius: var(--radius-pill) !important;
}

/* ---------- Cards & panels: soft radius, quiet border, lift on hover ---------- */
.card,
.rounded-3,
.bg-blur {
    border-radius: var(--radius-card) !important;
}

.card {
    border-color: var(--border-soft) !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
    box-shadow: var(--shadow-soft);
}

/* ---------- Three-panel booking layout (summary | calendar | time slots) ---------- */
.booking-split {
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    gap: 28px;
    align-items: start;
}

.booking-split-col {
    min-width: 0;
}

/* thin dividers between panels, drawn with pseudo-columns via nth-child spacing */
.booking-split-col.booking-summary {
    border-right: 1px solid var(--border-soft);
    padding-right: 24px;
}

.booking-calendar-col {
    border-right: 1px solid var(--border-soft);
    padding-right: 24px;
}

.booking-summary-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-secondary, #7B61FF), var(--bs-primary, #0069FF));
    margin-bottom: 14px;
}

.booking-summary-vendor {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.booking-summary-title {
    font-size: 18px !important;
    margin-bottom: 14px !important;
    line-height: 1.3;
}

.booking-summary-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--ink);
    margin-bottom: 10px;
}

.booking-summary-row i {
    color: var(--muted);
    width: 16px;
}

.booking-summary-price {
    display: inline-block;
    margin-top: 10px;
    background: color-mix(in srgb, var(--success), transparent 88%);
    color: var(--success);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
}

@media (max-width: 900px) {
    .booking-split {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .booking-split-col.booking-summary,
    .booking-calendar-col {
        border-right: none;
        border-bottom: 1px solid var(--border-soft);
        padding-right: 0;
        padding-bottom: 20px;
    }
}

/* ---------- Calendar / time-slot picker (the heart of a booking page) ---------- */
.fc, .fc-daygrid-day, .fc-timegrid-slot {
    border-radius: 6px;
}

.fc-day-today {
    border-radius: 10px !important;
}

/* Generic slot/day pill patterns used across themes for available times */
.time-slot,
.slot-item,
.day-picker li,
.available-slot {
    border-radius: var(--radius-input) !important;
    transition: border-color .15s ease, background-color .15s ease;
}

/* ---------- Forms: rounded, quiet inputs with a clear focus state ---------- */
.form-control,
.form-select,
.bootstrap-select .dropdown-toggle {
    border-radius: var(--radius-input) !important;
    border-color: var(--border-soft) !important;
    padding: 11px 14px;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-primary, #0069FF), transparent 82%) !important;
}

/* ---------- Avatars ---------- */
.avatar-img, .avatar-sm img {
    border: 2.5px solid #fff;
}

@media (prefers-reduced-motion: reduce) {
    .btn, .card, .time-slot, .slot-item, .available-slot {
        transition: none !important;
    }
}

/* ---------- Step titles (Information / Confirm booking) ---------- */
.booking-step-title {
    position: relative;
    padding-left: 16px;
    font-size: 18px !important;
}

.booking-step-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, var(--bs-primary, #0069FF), var(--bs-secondary, #7B61FF));
}

/* ---------- Subtle grouping labels inside the Information form ---------- */
.form-section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    margin-bottom: 12px;
}

/* ---------- Mini summary-card icons (date/time, staff) get a soft chip ---------- */
.fa-calendar-days.text-primary-color,
.fa-clock.text-primary-color,
.fa-circle-user.text-primary-color {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--bs-primary, #0069FF), transparent 90%);
    flex-shrink: 0;
}

/* ---------- Price summary: elevated, sticky "receipt" card ---------- */
.price-summary-card {
    position: sticky;
    top: 24px;
    box-shadow: var(--shadow-soft);
    border-color: transparent !important;
}

.grand-total-row {
    border-top: 1.5px dashed var(--border-soft);
    margin-top: 4px;
    padding-top: 16px !important;
    font-size: 16px !important;
}
