/**
 * CSS for Monthly Donation Flow
 */
.donation-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.form-field p.beskrivning-text {
    font-size: 10px;
    line-height: 10px;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #666;
}
.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #eee;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.step.active {
    background-color: #b94013;
    color: white;
}

.step.completed {
    background-color: #b94013;
    color: white;
}

.step-connector {
    width: 50px;
    height: 2px;
    background-color: #ccc;
    margin: 0 5px;
}

h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}

.donation-form {
    max-width: 600px;
    margin: 0 auto;
}

.amount-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.amount-option {
    position: relative;
}

.amount-options > .amount-option:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 320px;
}

.amount-option input[type="radio"] {
    display: none;
}

.amount-option label {
    display: block;
    background-color: #444;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.amount-option input[type="radio"]:checked + label {
    background-color: #b94013;
}

.charity-image {
    text-align: center;
    margin: 20px 0;
}

.charity-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.charity-description {
    margin-bottom: 30px;
    text-align: center;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-field input, 
.form-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.combined-form-field {
    display: flex;
    justify-content: space-between;
}

.form-field-city {
    width: 60%;
    min-width: 0;
}

.form-field-zipcode {
    width: 30%;
    min-width: 0;
}

.submit-btn, 
.complete-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #b94013;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    margin-top: 20px;
}

.consent-text {
    font-size: 12px;
    line-height: 10px;
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.bankid-container {
    text-align: center;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

#bank-account-iframe {
    display: flex;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
    margin: 15px 0;
}

#bank-account-iframe iframe {
    max-width: 100%;
}

@media (max-width: 480px) {
    .bankid-container {
        padding: 12px 8px;
    }
}

.bankid-instructions {
    font-weight: bold;
    margin-bottom: 10px;
}

.confirmation-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

.check-icon {
    color: green;
    font-weight: bold;
}

.back-btn,
.link-btn {
    background: none;
    border: none;
    padding: 0;
    color: #b94013;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

.back-btn {
    display: block;
    margin: 15px auto 0;
    font-size: 14px;
}

.recurring-donation.is-loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.2s;
}
