/* UX post-Test, quote e riconoscimento identità. */
body.quote-page {
    background: var(--ds-slate-50, #f5f7f9);
}

.quote-page .quote-summary-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quote-page .quote-reassurance {
    max-width: 76ch;
    color: var(--ds-slate-700, #3d4f5c);
}

.quote-page .rcd-badge-payment-pending,
.quote-page .list-group-item .badge.bg-warning.text-dark,
.quote-page .card-header .badge.bg-warning.text-dark {
    background: rgb(93, 202, 220) !important;
    color: rgb(10, 42, 77) !important;
}

.quote-page .quote-coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(93, 202, 220, .6);
    border-radius: .6rem;
    background: rgba(93, 202, 220, .10);
}

.quote-page .quote-coupon-code {
    display: inline-flex;
    align-items: center;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: rgb(10, 42, 77);
    color: #fff;
    font-weight: 700;
    letter-spacing: .04em;
}

.quote-page .quote-coupon-remove {
    display: inline-flex;
    width: 2.2rem;
    height: 2.2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #c9d2da;
    border-radius: 50%;
    background: #fff;
    color: #273b49;
    font-size: 1.35rem;
    line-height: 1;
}

.quote-page .quote-coupon-remove:hover,
.quote-page .quote-coupon-remove:focus-visible {
    border-color: rgb(10, 42, 77);
    color: rgb(10, 42, 77);
}

.rcd-identity-assurance-panel {
    border-left: 5px solid rgb(93, 202, 220);
}

.rcd-identity-assurance-panel .rcd-identity-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: rgba(93, 202, 220, .16);
    color: rgb(10, 42, 77);
    font-weight: 700;
}

.rcd-identity-modal-backdrop {
    position: fixed;
    z-index: 1100;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(5, 20, 35, .64);
}

.rcd-identity-modal {
    width: min(100%, 640px);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    border-radius: .85rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.rcd-identity-modal-head,
.rcd-identity-modal-body {
    padding: 1.35rem 1.5rem;
}

.rcd-identity-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #d9e0e7;
}

.rcd-identity-modal-head h2 {
    margin: 0;
}

.rcd-identity-modal-close {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 2.35rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9d2da;
    border-radius: 50%;
    background: #fff;
    color: #273b49;
    font-size: 1.35rem;
}

@media (max-width: 767.98px) {
    .quote-page .quote-summary-bar,
    .quote-page .quote-coupon-applied {
        align-items: stretch;
        flex-direction: column;
    }

    .quote-page .quote-coupon-remove {
        align-self: flex-end;
    }
}
