/* Prevent the active theme's global typography and form rules leaking into Quick Pay. */
.oqp-modal,
.oqp-modal button,
.oqp-modal input,
.oqp-modal a,
.oqp-modal label,
.oqp-modal table {
    font-family: "Roboto", Arial, sans-serif;
    font-style: normal;
    text-transform: none;
}

.oqp-modal {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.oqp-modal .oqp-modal__panel {
    color: var(--oqp-navy);
}

.oqp-modal h2,
.oqp-modal h3 {
    color: var(--oqp-navy);
    font-family: "Roboto", Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.oqp-modal h2 {
    margin: 0 0 7px;
    font-size: clamp(28px, 4vw, 34px);
    line-height: 1.15;
}

.oqp-modal h3 {
    margin: 18px 0 10px;
    font-size: 25px;
    line-height: 1.2;
}

.oqp-modal p,
.oqp-modal dl,
.oqp-modal dt,
.oqp-modal dd {
    font-family: "Roboto", Arial, sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

.oqp-modal .oqp-intro,
.oqp-modal .oqp-panel > p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.oqp-modal .oqp-panel label {
    margin: 18px 0;
    color: var(--oqp-navy);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.oqp-modal .oqp-panel input {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 50px;
    margin: 7px 0 0;
    padding: 12px 14px;
    color: var(--oqp-navy);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: none;
}

.oqp-modal .oqp-primary {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 6px 0 0;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.oqp-modal .oqp-back {
    font-size: 13px;
    line-height: 1.4;
}

.oqp-modal .oqp-faq-open,
.oqp-modal .oqp-faq-list summary,
.oqp-modal .oqp-faq-list details > div {
    font-family: "Roboto", Arial, sans-serif;
    font-style: normal;
    text-transform: none;
}

.oqp-modal .oqp-faq-open {
    text-transform: uppercase;
}

.oqp-modal .oqp-option strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.oqp-modal .oqp-option small {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.oqp-modal .oqp-secure-badge {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.oqp-modal .oqp-message,
.oqp-modal .oqp-privacy-note {
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 400;
    text-transform: none;
}

.oqp-modal .oqp-invoice-table th {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.oqp-modal .oqp-invoice-table td {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.oqp-modal .oqp-pay-invoice {
    display: inline-block;
    width: auto;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
}

@media (max-width: 600px) {
    .oqp-modal h2 {
        font-size: 29px;
    }

    .oqp-modal h3 {
        font-size: 23px;
    }
}
