.kelmar-payment-section {
    background: #f7f8fb;
}

.kelmar-payment-shell {
    background: #ffffff;
    border: 1px solid #e7e9ef;
    box-shadow: 0 18px 45px rgba(20, 34, 59, 0.08);
    padding: 38px;
}

.kelmar-payment-intro {
    max-width: 680px;
    margin-bottom: 28px;
}

.kelmar-payment-kicker {
    display: block;
    color: #0f4c81;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.kelmar-payment-intro h2 {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.kelmar-payment-intro p {
    color: #5d6678;
    margin-bottom: 0;
}

.kelmar-payment-form label {
    display: block;
    color: #243047;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 7px;
}

.kelmar-payment-form label span {
    color: #b12b2b;
}

.kelmar-payment-form input {
    width: 100%;
    height: 48px;
    border: 1px solid #d8dde8;
    background: #ffffff;
    color: #1f2937;
    padding: 10px 13px;
    margin-bottom: 17px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kelmar-payment-form input:focus {
    border-color: #0f4c81;
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.kelmar-payment-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.kelmar-payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
}

.kelmar-payment-panel {
    border: 1px solid #e7e9ef;
    background: #fbfcfe;
    padding: 24px;
    margin-bottom: 24px;
}

.kelmar-payment-panel h3 {
    font-size: 20px;
    margin-bottom: 18px;
}

.kelmar-two-col,
.kelmar-three-col {
    display: grid;
    gap: 16px;
}

.kelmar-two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kelmar-three-col {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.kelmar-money-field {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    min-height: 48px;
    margin-bottom: 17px;
    border: 1px solid #d8dde8;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kelmar-money-field:focus-within {
    border-color: #0f4c81;
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.kelmar-money-prefix {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    border-right: 1px solid #e7e9ef;
    color: #5d6678;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.kelmar-money-field input {
    min-width: 0;
    height: 46px;
    margin: 0;
    border: 0;
    background: transparent;
    padding: 10px 13px;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
}

.kelmar-money-field input:focus {
    border: 0;
    outline: 0;
    box-shadow: none;
}

.kelmar-card-panel {
    background: #ffffff;
}

.kelmar-payment-captcha-error {
    padding: 12px 14px;
    margin: 0 0 18px;
    border: 1px solid #efc4c4;
    background: #fff0f0;
    color: #9d1c1c;
    font-weight: 700;
}

.kelmar-payment-recaptcha {
    min-height: 78px;
    margin: 0 0 18px;
    overflow: hidden;
}

.kelmar-payment-recaptcha .g-recaptcha {
    display: inline-block;
    max-width: 100%;
}

.kelmar-payment-alert {
    padding: 14px 16px;
    margin-bottom: 22px;
    font-weight: 700;
}

.kelmar-payment-alert.is-success {
    background: #e8f6ee;
    border: 1px solid #bde4cb;
    color: #1f6b3a;
}

.kelmar-payment-alert.is-error {
    background: #fff0f0;
    border: 1px solid #efc4c4;
    color: #9d1c1c;
}

.kelmar-payment-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    min-width: 210px;
    border: 0;
    background: #0f4c81;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    padding: 13px 24px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.kelmar-payment-button:hover {
    background: #123a5f;
    transform: translateY(-1px);
}

.kelmar-payment-button:disabled {
    background: #607184;
    cursor: wait;
    transform: none;
}

@media (max-width: 991px) {
    .kelmar-payment-grid,
    .kelmar-two-col,
    .kelmar-three-col {
        grid-template-columns: 1fr;
    }

    .kelmar-payment-shell {
        padding: 24px;
    }

}
