.donation-form-target-group label {
    color: #2c3e94;
    font-weight: bold;
    padding: 5px 30px 5px 0;
}

.donation-form-target-group {
    display: flex;
    margin-bottom: 1rem;
}

.donation-form-frequency-group,
.donation-form-amount-group {
    display: flex;
    border: 2px solid #2c3e94;
    border-radius: 10px;
    overflow: hidden;
    width: max-content;
    margin-bottom: 1rem;
}

.donation-form-frequency-group input[type="radio"],
.donation-form-amount-group input[type="radio"] {
    display: none;
}

.donation-form-frequency-group label,
.donation-form-amount-group label {
    padding: 10px 20px;
    background: white;
    color: #2c3e94;
    cursor: pointer;
    font-weight: bold;
    border-right: 1px solid #2c3e94;
}

.donation-form-frequency-group label:last-child,
.donation-form-amount-group label:last-child {
    border-right: none;
}

.donation-form-frequency-group input[type="radio"]:checked + label,
.donation-form-amount-group input[type="radio"]:checked + label {
    background: #2c3e94;
    color: white;
}

.donation-form-section-title {
    font-weight: bold;
    margin: 1rem 0 0.5rem;
    color: #2c3e94;
}

.donation-form-custom-amount {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;          /* will be added dynamically */
    margin-bottom: 0;       /* will be added dynamically */
}

.donation-form-custom-amount.active {
    height: 50px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.donation-form-custom-amount input {
    padding: 0 0 0 1rem;
    font-size: 16px;
    border: 2px solid #2c3e94;
    border-radius: 6px;
    width: 100px;
}

.donation-form-custom-amount label {
    margin: 0;
    font-weight: bold;
    color: #333;
}

.donation-form-submit-button {
    background: #ff4713;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

.donation-form-submit-button:hover {
    background: #e23e0c;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .donation-form-frequency-group,
    .donation-form-target-group,
    .donation-form-amount-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .donation-form-frequency-group label,
    .donation-form-target-group label,
    .donation-form-amount-group label {
        margin: 5px 0;
        width: 100%;
    }
}