@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&display=swap');

.bank-lead-form-wrap {
    max-width: 620px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 28px;
    background: #ffffff;
    color: #172033;
    font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 22px 56px rgba(10, 31, 68, 0.12);
}

.bank-lead-form {
    display: grid;
    gap: 18px;
    margin: 0;
}

.bank-form-row {
    display: grid;
    gap: 18px;
}

.bank-form-row-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bank-field {
    position: relative;
    display: block;
    margin: 0;
    font-weight: 600;
}

.bank-field span {
    position: absolute;
    z-index: 1;
    top: -12px;
    left: 22px;
    padding: 0 8px;
    background: #ffffff;
    color: #20242a;
    font-size: 14px;
    line-height: 1.2;
}

.bank-lead-form input,
.bank-lead-form select,
.bank-lead-form textarea {
    width: 100%;
    min-height: 56px;
    padding: 13px 18px;
    border: 1.5px solid #cfcfcf;
    border-radius: 14px;
    font: inherit;
    font-weight: 600;
    color: #222222;
    background: #ffffff;
}

.bank-lead-form input::placeholder {
    color: #a4a4a4;
    opacity: 1;
}

.bank-lead-form select {
    appearance: auto;
}

.bank-lead-form input:focus,
.bank-lead-form select:focus,
.bank-lead-form textarea:focus {
    border-color: #0f9f68;
    outline: 3px solid rgba(15, 159, 104, 0.14);
}

.bank-consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px;
    margin: 2px 0 0;
    color: #354052;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.bank-consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 1px;
}

.bank-consent span {
    position: static;
    padding: 0;
    background: transparent;
    font-size: inherit;
}

.bank-lead-submit,
.bank-lead-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 14px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f568e 0%, #08a863 100%);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 18px 34px rgba(31, 86, 142, 0.20);
}

.bank-lead-submit {
    width: min(100%, 420px);
    margin: 8px auto 0;
}

.bank-lead-submit:hover,
.bank-lead-cta:hover {
    color: #ffffff;
    filter: brightness(0.96);
}

.bank-privacy,
.bank-disclaimer {
    margin: -4px 0 0;
    color: #667085;
    font-size: 11px;
    line-height: 1.45;
}

.bank-privacy a {
    color: #087a3f;
    font-weight: 700;
}

.bank-disclaimer {
    text-align: center;
}

.bank-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.bank-form-message {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
}

.bank-form-message--success {
    background: #e9f8ef;
    color: #0b6f38;
}

.bank-form-message--error {
    background: #fff1f2;
    color: #be123c;
}

@media (max-width: 640px) {
    .bank-lead-form-wrap {
        padding: 24px 16px;
        border-radius: 22px;
    }

    .bank-form-row-two {
        grid-template-columns: 1fr;
    }

    .bank-lead-form {
        gap: 17px;
    }

    .bank-lead-form input,
    .bank-lead-form select,
    .bank-lead-form textarea {
        min-height: 52px;
        border-radius: 13px;
    }

    .bank-lead-submit,
    .bank-lead-cta {
        width: 100%;
        min-height: 56px;
        font-size: 20px;
    }
}
