@charset "UTF-8";

.credit_consent_overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .55);
    align-items: center;
    justify-content: center;
}

.credit_consent_overlay .credit_consent_modal {
    box-sizing: border-box;
    width: min(572px, calc(100% - 32px));
    max-height: 85vh;
    overflow: auto;
    padding: 28px 26px 24px;
    border-radius: 12px;
    background: #FFF;
    color: #222;
}

.credit_consent_overlay .credit_consent_title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.credit_consent_overlay .credit_consent_description {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.credit_consent_overlay .credit_consent_terms {
    margin-top: 22px;
    border-top: 1px solid #DDE0E3;
}

.credit_consent_overlay .credit_consent_term {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 20px;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #E8EBED;
    font-size: 14px;
    line-height: 1.5;
}

.credit_consent_overlay .credit_consent_term label {
    cursor: pointer;
    word-break: keep-all;
}

.credit_consent_overlay .credit_consent_term a {
    color: #59636D;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.credit_consent_overlay .credit_consent_term input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #29C4BE;
    cursor: pointer;
}

.credit_consent_overlay .credit_consent_actions {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.credit_consent_overlay .credit_consent_actions button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 6px;
    background: #29C4BE;
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.credit_consent_overlay .credit_consent_actions button:disabled {
    background: #E8EBED;
    color: #A2A9AF;
    cursor: default;
}

.credit_consent_overlay .credit_consent_error {
    margin: 0;
    color: #C0392B;
    font-size: 14px;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.credit_consent_overlay .credit_consent_error:empty {
    display: none;
}

.credit_consent_overlay .credit_consent_notice {
    margin: 0;
    color: #59636D;
    font-size: 12px;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
}

@media screen and (max-width: 480px) {
    .credit_consent_overlay .credit_consent_modal {
        padding: 24px 20px 20px;
    }

    .credit_consent_overlay .credit_consent_term {
        gap: 8px;
    }
}
