/* Two-step KNRM-style donation form */

.iban-mollie-donation-form {
    max-width: 520px;
    margin: 2rem auto;
    padding: 0;
    border-radius: 0;
    background: transparent; /* let theme background show through */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-sizing: border-box;
}

.iban-form-inner {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem 1.25rem 1.75rem;
    box-shadow: none; /* no inner shadow to keep it flat if theme has its own styling */
}

.iban-step {
    display: none;
}

.iban-step.is-active {
    display: block;
}

.iban-heading {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #03446a;
    margin: 0 0 1rem;
}

.iban-row {
    margin-bottom: 0.9rem;
}

.iban-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #03446a;
}

.iban-mollie-donation-form input[type="text"],
.iban-mollie-donation-form input[type="email"],
.iban-mollie-donation-form input[type="number"],
.iban-mollie-donation-form input[type="tel"],
.iban-mollie-donation-form select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #d0d7de;
    box-sizing: border-box;
    font-size: 0.95rem;
}

.iban-frequency-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 0.75rem;
}

.iban-frequency-tab {
    border: none;
    background: #ffffff;
    padding: 0.6rem 0.3rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #03446a;
    border-right: 1px solid #e5e7eb;
    cursor: pointer;
}

.iban-frequency-tab:last-child {
    border-right: none;
}

.iban-frequency-tab.is-active {
    background: #f97316;
    color: #ffffff;
}

.iban-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.iban-amount-btn {
    border: none;
    padding: 0.7rem 0.3rem;
    background: #ffffff;
    color: #03446a;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.iban-amount-btn.is-active {
    background: #f97316;
    color: #ffffff;
}

.iban-checkbox-row label {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #03446a;
}

.iban-checkbox-row input[type="checkbox"] {
    margin-top: 0.2rem;
}

.iban-gender-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.iban-gender-row label {
    font-size: 0.9rem;
    color: #03446a;
}

.iban-name-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.4fr;
    gap: 0.4rem;
}

.iban-help-text {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #03446a;
    margin-top: 0.3rem;
}

.iban-step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
}

.iban-btn-primary {
    padding: 0.7rem 2.2rem;
    border-radius: 0;
    border: none;
    background: #03446a;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.iban-btn-primary:hover {
    background: #023552;
}

.iban-btn-back {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: #03446a;
    cursor: pointer;
}

.iban-submit-row {
    text-align: center;
    margin-top: 1.2rem;
}

@media (max-width: 480px) {
    .iban-name-row {
        grid-template-columns: 1fr;
    }

    .iban-step-navigation {
        flex-direction: row;
    }

    .iban-btn-primary {
        flex: 1;
    }
}

