/* ============================================================
   BestCareVet Booking — Frontend Styles
   Brand: #058C8C teal, #F26A21 orange, #2D5864 dark, #F0F4F4 bg
   ============================================================ */

/* ── Wrapper ─────────────────────────────────────────────── */
.bv-booking-wrap {
    font-family: 'Dosis', 'Quicksand', Arial, sans-serif;
    max-width: 720px;
    margin: 0 auto;
}

.bv-booking-inner {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(5,140,140,0.10);
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid #e8f0f0;
}

/* ── Title ───────────────────────────────────────────────── */
.bv-form-title {
    font-family: 'Quicksand', Arial, sans-serif;
    font-weight: 700;
    color: #058C8C;
    font-size: clamp(22px, 2.5vw, 30px);
    margin: 0 0 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8f0f0;
}

/* ── Banners ──────────────────────────────────────────────── */
.bv-banner {
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}
.bv-banner-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}
.bv-banner-error {
    background: #fff1f0;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* ── Form Layout ──────────────────────────────────────────── */
.bv-form { margin: 0; }

.bv-field-row { margin-bottom: 20px; }

.bv-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 520px) {
    .bv-two-col { grid-template-columns: 1fr; }
}

.bv-field-group { display: flex; flex-direction: column; gap: 6px; }
.bv-full { width: 100%; }

/* ── Labels ───────────────────────────────────────────────── */
.bv-label {
    font-family: 'Quicksand', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #2D5864;
}
.bv-req { color: #F26A21; margin-left: 2px; }

/* ── Inputs ───────────────────────────────────────────────── */
.bv-input,
.bv-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1.5px solid #d4e0e0;
    border-radius: 10px;
    font-family: 'Dosis', Arial, sans-serif;
    font-size: 15px;
    color: #2D5864;
    background: #fff;
    transition: border-color 0.18s, box-shadow 0.18s;
    outline: none;
}
.bv-input:focus,
.bv-textarea:focus {
    border-color: #058C8C;
    box-shadow: 0 0 0 3px rgba(5,140,140,0.12);
}
.bv-textarea { resize: vertical; min-height: 80px; }

/* ── Select ───────────────────────────────────────────────── */
.bv-select-wrap { position: relative; }
.bv-select {
    width: 100%;
    padding: 11px 36px 11px 14px;
    border: 1.5px solid #d4e0e0;
    border-radius: 10px;
    font-family: 'Dosis', Arial, sans-serif;
    font-size: 15px;
    color: #2D5864;
    background: #fff;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.18s;
}
.bv-select:focus { border-color: #058C8C; box-shadow: 0 0 0 3px rgba(5,140,140,0.12); }
.bv-select-arrow {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #058C8C;
    font-size: 11px;
}

/* ── Slot Picker ──────────────────────────────────────────── */
.bv-slots-wrap { min-height: 48px; }

.bv-slots-hint {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
    padding: 12px 0;
}

.bv-slots-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
    padding: 10px 0;
}
.bv-spinner {
    width: 18px; height: 18px;
    border: 2.5px solid #d4e0e0;
    border-top-color: #058C8C;
    border-radius: 50%;
    animation: bv-spin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes bv-spin { to { transform: rotate(360deg); } }

.bv-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 4px 0;
}

.bv-slot-btn {
    padding: 9px 18px;
    border-radius: 8px;
    border: 1.5px solid #058C8C;
    background: #fff;
    color: #058C8C;
    font-family: 'Quicksand', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.1s;
}
.bv-slot-btn:hover {
    background: #058C8C;
    color: #fff;
    transform: translateY(-1px);
}
.bv-slot-btn.bv-slot-selected {
    background: #058C8C;
    color: #fff;
    box-shadow: 0 2px 8px rgba(5,140,140,0.30);
}
.bv-slot-btn:disabled,
.bv-slot-btn.bv-slot-unavailable {
    border-color: #e0e0e0;
    color: #c0c0c0;
    background: #f9f9f9;
    cursor: not-allowed;
    text-decoration: line-through;
    transform: none;
}

/* ── Divider ──────────────────────────────────────────────── */
.bv-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 20px;
    color: #9ca3af;
    font-size: 13px;
    font-family: 'Quicksand', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.bv-divider::before,
.bv-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8f0f0;
}

/* ── Submit ───────────────────────────────────────────────── */
.bv-submit-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.bv-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 36px;
    background: #058C8C;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Quicksand', Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(15px, 1.2vw, 18px);
    cursor: pointer;
    transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
    box-shadow: 0 2px 12px rgba(5,140,140,0.22);
}
.bv-btn-submit:hover {
    background: #047070;
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(5,140,140,0.32);
}
.bv-btn-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.bv-submit-note {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}
