/* ============================================================
   Coxeur Booking — booking.css
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

.cxr-book-wrap {
    font-family: 'Inter', sans-serif;
    max-width: 680px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
}

/* ── Dark theme (default) ── */
.cxr-book--dark .cxr-book__header {
    background: linear-gradient(135deg, #060912, #121a60);
    color: #fff;
}

.cxr-book--dark .cxr-book__form {
    background: #0d1117;
}

.cxr-book--dark label {
    color: rgba(255, 255, 255, .55);
}

.cxr-book--dark input,
.cxr-book--dark select {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .1);
    color: #fff;
}

.cxr-book--dark input:focus,
.cxr-book--dark select:focus {
    border-color: #8cc63f;
    background: rgba(140, 198, 63, .06);
}

/* ── Light theme ── */
.cxr-book--light .cxr-book__header {
    background: #f8fafc;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
}

.cxr-book--light .cxr-book__form {
    background: #fff;
}

.cxr-book--light label {
    color: #475569;
}

.cxr-book--light input,
.cxr-book--light select {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #1e293b;
}

.cxr-book--light input:focus,
.cxr-book--light select:focus {
    border-color: #8cc63f;
}

/* ── Header ── */
.cxr-book__header {
    padding: 28px 32px;
    text-align: center;
}

.cxr-book__title {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 8px 0 4px;
}

.cxr-book__sub {
    font-size: .78rem;
    opacity: .5;
    margin: 0;
}

/* ── Form ── */
.cxr-book__form {
    padding: 28px 32px;
}

.cxr-book__row {
    margin-bottom: 16px;
}

.cxr-book__two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cxr-book__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cxr-book__field label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cxr-book__field input,
.cxr-book__field select {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid;
    font-size: .88rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, background .2s;
}

.cxr-book__field select {
    cursor: pointer;
}

.cxr-book__field small {
    font-size: .7rem;
    opacity: .4;
}

/* ── Result ── */
.cxr-book__result {
    border-radius: 10px;
    padding: 14px 18px;
    margin: 12px 0;
    font-size: .88rem;
    font-weight: 600;
    text-align: center;
    animation: fadeIn .3s ease;
}

.cxr-book__result--success {
    background: rgba(34, 197, 94, .12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, .2);
}

.cxr-book__result--error {
    background: rgba(239, 68, 68, .1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, .2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── Actions ── */
.cxr-book__actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.cxr-book__btn-submit {
    flex: 1;
    padding: 14px;
    border-radius: 50px;
    border: none;
    background: #8cc63f;
    color: #000;
    font-weight: 800;
    font-size: .95rem;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, transform .15s;
}

.cxr-book__btn-submit:hover {
    background: #a8d84f;
    transform: translateY(-2px);
}

.cxr-book__btn-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.cxr-book__btn-whatsapp {
    padding: 14px 22px;
    border-radius: 50px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
    display: inline-flex;
    align-items: center;
}

.cxr-book__btn-whatsapp:hover {
    opacity: .85;
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 560px) {

    .cxr-book__form,
    .cxr-book__header {
        padding: 20px 18px;
    }

    .cxr-book__two-col {
        grid-template-columns: 1fr;
    }

    .cxr-book__actions {
        flex-direction: column;
    }
}