/* ==========================================================================
   Private-event quote simulator (event_quote/new.html.twig, show.html.twig).
   Reuses the booking funnel's form and card language (booking.css); this file
   only adds the offer picker, the quote document and its print rules.
   ========================================================================== */

.vo-quote-layout {
    max-width: 720px;
}

.vo-quote-form .vo-book-form__section-title:first-of-type {
    margin-top: 0;
}

/* --- Offer picker: two radio cards ---------------------------------------- */

.vo-quote-offers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.vo-quote-offer {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--vo-hairline);
    border-radius: var(--vo-radius-md);
    background: #FFFDF8;
    cursor: pointer;
}

.vo-quote-offer:has(:checked) {
    border-color: var(--vo3-accent);
    box-shadow: 0 0 0 1px var(--vo3-accent);
}

.vo-quote-offer:has(:focus-visible) {
    outline: 2px solid var(--vo3-accent);
    outline-offset: 2px;
}

.vo-quote-offer__input {
    width: 22px;
    height: 22px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    accent-color: var(--vo3-accent);
}

.vo-quote-offer__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vo-quote-offer__name {
    font-family: var(--vo-font-serif);
    font-size: 18px;
    color: var(--vo-ink);
}

.vo-quote-offer__tier {
    color: var(--vo-muted);
    font-size: 13.5px;
}

.vo-quote-offers .vo-book-form__error {
    grid-column: 1 / -1;
}

.vo-quote-form .vo-book-form__field textarea.vo3-input {
    min-height: 120px;
    resize: vertical;
}

.vo-quote-form .vo-book-form__field select.vo3-input {
    width: 100%;
}

.vo-quote-consent {
    margin-top: 8px;
}

/* --- The quote document ---------------------------------------------------- */

.vo-quote-doc__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--vo-hairline);
}

.vo-quote-doc__brand {
    margin: 0;
    font-family: var(--vo-font-serif);
    font-size: 20px;
}

.vo-quote-doc__reference {
    margin: 0;
    font-weight: 600;
}

.vo-quote-doc__ref {
    text-align: right;
}

.vo-quote-doc__meta,
.vo-quote-doc__alt {
    margin: 2px 0 0;
    color: var(--vo-muted);
    font-size: 13px;
}

.vo-quote-doc__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.vo-quote-doc__facts dt {
    margin-bottom: 4px;
    color: var(--vo3-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vo-quote-doc__facts dd {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.vo-quote-doc__package {
    padding: 18px 20px;
    border-radius: var(--vo-radius-md);
    background: var(--vo-cream-alt);
}

.vo-quote-doc__package-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
}

.vo-quote-doc__package-name {
    margin: 0;
    font-family: var(--vo-font-serif);
    font-size: 20px;
}

.vo-quote-doc__package-tier {
    color: var(--vo-muted);
    font-size: 13.5px;
}

.vo-quote-doc__includes {
    margin: 12px 0 0;
    padding-left: 18px;
    font-size: 14.5px;
    line-height: 1.6;
}

.vo-quote-doc__total {
    margin-top: 20px;
}

.vo-quote-doc__message {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--vo-hairline);
}

.vo-quote-doc__message-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
}

.vo-quote-doc__message p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.vo-quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 640px) {
    .vo-quote-offers,
    .vo-quote-doc__facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .vo-quote-doc__ref {
        text-align: left;
    }

    .vo-quote-actions .vo-btn,
    .vo-quote-actions form {
        width: 100%;
    }
}

/* --- Print: the document alone, on paper ------------------------------------ */

.vo-quote-next__form {
    margin-top: 12px;
}

.vo-quote-next__requested {
    font-weight: 600;
}

@media print {
    .vo-hero,
    .vo-quote-actions,
    .vo-quote-next,
    .vo-book-alert,
    .vo-to-top,
    footer {
        display: none !important;
    }

    .vo-book-section {
        padding: 0;
    }

    .vo-quote-doc {
        border: none;
        box-shadow: none;
    }
}
