/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-fz7taordxp],
.components-reconnect-repeated-attempt-visible[b-fz7taordxp],
.components-reconnect-failed-visible[b-fz7taordxp],
.components-pause-visible[b-fz7taordxp],
.components-resume-failed-visible[b-fz7taordxp],
.components-rejoining-animation[b-fz7taordxp] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-fz7taordxp],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-fz7taordxp],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-fz7taordxp],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-fz7taordxp],
#components-reconnect-modal.components-reconnect-retrying[b-fz7taordxp],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-fz7taordxp],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-fz7taordxp],
#components-reconnect-modal.components-reconnect-failed[b-fz7taordxp],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-fz7taordxp] {
    display: block;
}


#components-reconnect-modal[b-fz7taordxp] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-fz7taordxp 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-fz7taordxp 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-fz7taordxp 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-fz7taordxp]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-fz7taordxp 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-fz7taordxp {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-fz7taordxp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-fz7taordxp {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-fz7taordxp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-fz7taordxp] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-fz7taordxp] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-fz7taordxp] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-fz7taordxp] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-fz7taordxp] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-fz7taordxp] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-fz7taordxp 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-fz7taordxp] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-fz7taordxp {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/CustomerSurvey.razor.rz.scp.css */
/* Klantenquête: één kolom, op een telefoon goed aan te tikken. Kleuren uit cors-theme (licht en donker). */

.survey[b-z281r7aqsl] {
    max-width: 760px;
}

.survey-intro[b-z281r7aqsl] {
    font-size: 1.05rem;
    line-height: 1.6;
    padding: 0.75rem 1rem;
    border-left: 4px solid var(--cors-orange);
    background: var(--cors-bg);
}

.survey-question[b-z281r7aqsl] {
    margin: 1.5rem 0;
}

/* De legenda is even breed als de knoppen (de wrap krimpt mee met de schaal). */
.survey-scale-wrap[b-z281r7aqsl] {
    display: inline-block;
    max-width: 100%;
}

.survey-scale[b-z281r7aqsl] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.survey-scale-option[b-z281r7aqsl] {
    min-width: 2.75rem;
}

.survey-scale-legend[b-z281r7aqsl] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--cors-muted);
    margin-top: 0.25rem;
}
/* /Components/Pages/Orders.razor.rz.scp.css */
.orders-kpis[b-l6y4uhj1f3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.orders-kpis > .panel[b-l6y4uhj1f3] {
    margin-bottom: 0;
    text-decoration: none;
    color: inherit;
}

.orders-panel-head[b-l6y4uhj1f3] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem 1rem;
}

.orders-table[b-l6y4uhj1f3] {
    margin-bottom: 0;
}

.orders-table th[b-l6y4uhj1f3] {
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--cors-muted);
    white-space: nowrap;
}

.orders-actions[b-l6y4uhj1f3] {
    text-align: right;
    white-space: nowrap;
}

.orders-actions .btn + .btn[b-l6y4uhj1f3] {
    margin-left: 0.4rem;
}

.orders-ask-row > td[b-l6y4uhj1f3] {
    border-bottom: 0;
    padding-top: 0;
}

.orders-ask[b-l6y4uhj1f3] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--cors-border, #C9D6E2);
    border-radius: var(--cors-radius);
    background: color-mix(in srgb, var(--cors-steel, #5A87AF) 8%, var(--cors-surface));
}

.orders-ask-actions[b-l6y4uhj1f3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.orders-questions[b-l6y4uhj1f3] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.orders-question[b-l6y4uhj1f3] {
    border: 1px solid var(--cors-border, #E1E6EB);
    border-radius: var(--cors-radius);
    padding: 0.75rem 1rem;
}

.orders-question-head[b-l6y4uhj1f3] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
}

.orders-question-text[b-l6y4uhj1f3] {
    margin: 0.4rem 0 0;
    white-space: pre-line;
}

.orders-answer[b-l6y4uhj1f3] {
    margin-top: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--cors-radius);
    background: color-mix(in srgb, var(--cors-teal, #83D6D8) 18%, var(--cors-surface));
}

.orders-answer p[b-l6y4uhj1f3] {
    white-space: pre-line;
}

.orders-switch[b-l6y4uhj1f3] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--cors-text);
}

.orders-switch .form-check-input[b-l6y4uhj1f3] {
    pointer-events: none;
    opacity: 1;
}
/* /Components/Pages/QuoteAcceptance.razor.rz.scp.css */
/* Offerte voor de klant: zelfde opbouw als de pdf. Kleuren uit cors-theme (licht en donker). */

.quote-document[b-vl92btgivl] {
    max-width: 960px;
}

.quote-head[b-vl92btgivl] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--cors-border);
}

.quote-company[b-vl92btgivl] {
    color: var(--cors-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.quote-company-name[b-vl92btgivl] {
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--cors-strong);
}

.quote-registration[b-vl92btgivl] {
    margin-top: 0.25rem;
    font-size: 0.8rem;
}

.quote-parties[b-vl92btgivl] {
    margin-bottom: 1.25rem;
}

.quote-label[b-vl92btgivl] {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cors-muted);
    margin-bottom: 0.25rem;
}

.quote-meta[b-vl92btgivl] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 1rem;
    margin: 0;
}

    .quote-meta dt[b-vl92btgivl] {
        font-weight: 400;
        color: var(--cors-muted);
    }

    .quote-meta dd[b-vl92btgivl] {
        margin: 0;
    }

.quote-title[b-vl92btgivl] {
    font-weight: 900;
    font-size: 1.35rem;
    color: var(--cors-heading);
    margin-bottom: 0.75rem;
}

.quote-text[b-vl92btgivl] {
    white-space: pre-line;
}

.quote-lines[b-vl92btgivl] {
    margin-bottom: 0.75rem;
}

    .quote-lines .quote-description[b-vl92btgivl] {
        min-width: 14rem;
    }

    /* Een productregel kan meerdere regels tekst hebben (productnaam + offerteomschrijving uit Odoo). */
    .quote-lines .quote-line-text[b-vl92btgivl] {
        white-space: pre-line;
    }

    .quote-lines .quote-section td[b-vl92btgivl] {
        font-weight: 700;
        color: var(--cors-strong);
        padding-top: 1rem;
    }

    .quote-lines .quote-note td[b-vl92btgivl] {
        font-style: italic;
        color: var(--cors-muted);
        white-space: pre-line;
    }

.quote-totals[b-vl92btgivl] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1.5rem;
    width: min(100%, 22rem);
    margin: 0 0 1.5rem auto;
}

    .quote-totals dt[b-vl92btgivl] {
        font-weight: 400;
        text-align: right;
    }

    .quote-totals dd[b-vl92btgivl] {
        margin: 0;
        text-align: right;
        white-space: nowrap;
    }

    .quote-totals .quote-total[b-vl92btgivl] {
        font-weight: 700;
        border-top: 1px solid var(--cors-border);
        padding-top: 0.35rem;
    }

.quote-subscription[b-vl92btgivl] {
    background: var(--cors-teal-light);
    color: var(--cors-tint-text);
    border-radius: var(--cors-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

    .quote-subscription .table[b-vl92btgivl] {
        --bs-table-color: var(--cors-tint-text);
    }

    .quote-subscription .text-body-secondary[b-vl92btgivl] {
        color: inherit !important;
        opacity: 0.8;
    }

.quote-subscription-title[b-vl92btgivl] {
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.quote-conditions[b-vl92btgivl] {
    font-size: 0.8rem;
    color: var(--cors-muted);
    margin-bottom: 0;
}

.quote-attachments[b-vl92btgivl],
.quote-decision[b-vl92btgivl],
.quote-reject[b-vl92btgivl] {
    max-width: 960px;
}

.quote-name[b-vl92btgivl] {
    max-width: 24rem;
}

.quote-reject summary[b-vl92btgivl] {
    cursor: pointer;
    color: var(--cors-muted);
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .quote-head[b-vl92btgivl] {
        flex-direction: column;
    }

    .quote-subscription[b-vl92btgivl] {
        padding: 0.75rem;
    }
}

.quote-attachment[b-vl92btgivl] {
    padding: .5rem 0;
    border-top: 1px solid var(--bs-border-color);
}

.quote-attachment:first-child[b-vl92btgivl] {
    border-top: 0;
    padding-top: 0;
}

/* Een blok per onderwerp: kop, omschrijving, foto's, regels en subtotaal. */
.quote-topic[b-vl92btgivl] {
    border-top: 1px solid var(--cors-border);
    padding-top: 1rem;
    margin-top: 1rem;
}

.quote-topic-title[b-vl92btgivl] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cors-strong);
    margin-bottom: 0.5rem;
}

.quote-topic-photos[b-vl92btgivl] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

    .quote-topic-photos img[b-vl92btgivl] {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 6px;
        border: 1px solid var(--cors-border);
    }

.quote-topic-subtotal[b-vl92btgivl] {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quote-grand-title[b-vl92btgivl] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cors-strong);
    border-top: 2px solid var(--cors-border);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

/* Optionele onderwerpen: vinkje in de kop; uitgevinkt wordt het blok grijs. */
.quote-topic-head[b-vl92btgivl] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

    .quote-topic-head .quote-topic-title[b-vl92btgivl] {
        margin-bottom: 0;
        cursor: pointer;
    }

.quote-topic-toggle[b-vl92btgivl] {
    width: 1.35rem;
    height: 1.35rem;
    margin: 0;
    flex: none;
}

.quote-topic.is-off > :not(.quote-topic-head)[b-vl92btgivl] {
    opacity: 0.45;
}

.quote-topic.is-off .quote-topic-title[b-vl92btgivl] {
    color: var(--cors-muted);
    text-decoration: line-through;
}

/* Alternatieven naast elkaar. */
.quote-option-grid[b-vl92btgivl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quote-option-card[b-vl92btgivl] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 2px solid var(--cors-border);
    border-radius: 0.6rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
}

    .quote-option-card.is-picked[b-vl92btgivl] {
        border-color: var(--cors-orange, #E8762B);
        box-shadow: 0 0 0 3px rgba(232, 118, 43, 0.2);
    }

    .quote-option-card.is-closed[b-vl92btgivl] {
        cursor: default;
        opacity: 0.75;
    }

    .quote-option-card input[type="radio"][b-vl92btgivl] {
        width: 1.2rem;
        height: 1.2rem;
    }

.quote-option-name[b-vl92btgivl] {
    font-weight: 700;
    font-size: 1.1rem;
}

.quote-option-total[b-vl92btgivl] {
    font-size: 1.15rem;
    font-weight: 700;
}

.quote-option-head[b-vl92btgivl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 3px solid var(--cors-orange, #E8762B);
    padding-top: 1rem;
    margin-top: 2rem;
}

.quote-option-title[b-vl92btgivl] {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
}

/* Uitgebreide omschrijving onder een regel: opgemaakte tekst (alinea's, vet, cursief, opsommingen) als MarkupString. */
.quote-extended[b-vl92btgivl] {
    overflow-wrap: anywhere;
}

.quote-extended[b-vl92btgivl]  p,
.quote-extended[b-vl92btgivl]  ul,
.quote-extended[b-vl92btgivl]  ol {
    margin-bottom: 0.25rem;
}

.quote-extended[b-vl92btgivl]  ul,
.quote-extended[b-vl92btgivl]  ol {
    padding-left: 1.25rem;
}

.quote-extended[b-vl92btgivl]  :last-child {
    margin-bottom: 0;
}

/* Gewenste snelheid: de klant kiest bij het accepteren; de prijs rekent live mee (quote-choice.js). */
.quote-speed[b-vl92btgivl] {
    margin: 1.25rem 0;
}

.quote-speed-grid[b-vl92btgivl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.6rem;
}

.quote-speed-card[b-vl92btgivl] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border: 2px solid var(--cors-border);
    border-radius: 0.6rem;
    padding: 0.7rem 0.9rem;
    cursor: pointer;
}

    .quote-speed-card.is-picked[b-vl92btgivl] {
        border-color: var(--cors-orange, #E8762B);
        box-shadow: 0 0 0 3px rgba(232, 118, 43, 0.2);
    }

    .quote-speed-card input[type="radio"][b-vl92btgivl] {
        width: 1.1rem;
        height: 1.1rem;
    }

.quote-speed-price[b-vl92btgivl] {
    font-variant-numeric: tabular-nums;
    color: var(--cors-orange-text, #BD5A0D);
    font-size: 0.9rem;
}
/* /Components/Pages/Warranties.razor.rz.scp.css */
.warranty-summary[b-548a4d77de] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--cors-space-3);
    margin-bottom: var(--cors-space-3);
}

    .warranty-summary .panel[b-548a4d77de] {
        margin-bottom: 0;
    }

.warranty-summary-count[b-548a4d77de] {
    color: var(--cors-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.warranty-filters[b-548a4d77de] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--cors-space-3);
}

.warranty-search[b-548a4d77de] {
    flex: 1 1 14rem;
}

.warranty-card[b-548a4d77de] {
    border-top: 1px solid var(--cors-border);
}

    .warranty-card > summary[b-548a4d77de] {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: var(--cors-space-2) var(--cors-space-3);
        padding: var(--cors-space-3) 0;
        cursor: pointer;
        list-style: none;
    }

        .warranty-card > summary[b-548a4d77de]::-webkit-details-marker {
            display: none;
        }

    .warranty-card[open] .warranty-chevron[b-548a4d77de] {
        transform: rotate(90deg);
    }

.warranty-chevron[b-548a4d77de] {
    flex: none;
    color: var(--cors-muted);
}

.warranty-head[b-548a4d77de] {
    flex: 1 1 14rem;
    min-width: 0;
}

.warranty-status[b-548a4d77de] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cors-space-2);
}

.warranty-body[b-548a4d77de] {
    padding: 0 0 var(--cors-space-4) 1.75rem;
}

.warranty-term[b-548a4d77de] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--cors-space-1) var(--cors-space-4);
    padding: var(--cors-space-2) 0;
    border-bottom: 1px solid var(--cors-border);
    color: var(--cors-text);
}
/* /Components/Shared/ImpersonationBanner.razor.rz.scp.css */
.impersonation-spacer[b-y6x88zogzk] {
    height: 4rem;
}

.impersonation-banner[b-y6x88zogzk] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.5rem;
    background: #EA7317; /* Cors-oranje, ook in donkere weergave: moet opvallen */
    color: #1b1b1b;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.impersonation-banner .icon[b-y6x88zogzk] {
    font-size: 1.4rem;
}

.impersonation-text[b-y6x88zogzk] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.impersonation-text strong[b-y6x88zogzk] {
    overflow-wrap: anywhere;
}

.impersonation-detail[b-y6x88zogzk] {
    font-size: 0.85rem;
}

.impersonation-banner form[b-y6x88zogzk] {
    margin: 0;
}

@media (max-width: 576px) {
    .impersonation-spacer[b-y6x88zogzk] {
        height: 7rem;
    }

    .impersonation-banner[b-y6x88zogzk] {
        flex-wrap: wrap;
        padding: 0.6rem 1rem;
    }

    .impersonation-banner form[b-y6x88zogzk] {
        width: 100%;
    }

    .impersonation-banner .btn[b-y6x88zogzk] {
        width: 100%;
    }
}
