/* Donation Modal Styles */
.donation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.donation-modal-overlay.active {
    display: block;
    opacity: 1;
}

.donation-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.donation-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.donation-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
    border-radius: 10px 10px 0 0;
}

.donation-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.donation-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.donation-modal-close:hover {
    color: #000;
}

.donation-modal-body {
    padding: 30px;
}

.donation-form {
    margin: 0;
}

.donation-form .form-clt {
    margin-bottom: 20px;
}

.donation-form .form-clt input,
.donation-form .form-clt select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #fff;
    color: #333;
    -webkit-text-fill-color: #333;
}

.donation-form .form-clt input:focus,
.donation-form .form-clt select:focus {
    outline: none;
    border-color: #007bff;
    color: #333;
    -webkit-text-fill-color: #333;
}

.donation-form .form-clt input::placeholder {
    color: #999;
    opacity: 1;
}

.donation-form .form-clt label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.payment-options {
    margin-top: 20px;
}

.payment-options h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.payment-method {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-option {
    flex: 1;
    min-width: 140px;
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.payment-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    font-weight: 500;
    color: #333;
}

.payment-option input[type="radio"]:checked + label {
    border-color: #007bff;
    background: #f0f7ff;
    color: #007bff;
}

.payment-option label i {
    margin-right: 8px;
    font-size: 18px;
}

.donation-form-submit {
    margin-top: 25px;
    width: 100%;
}

.donation-form-submit .theme-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .donation-modal {
        width: 95%;
        max-height: 95vh;
    }

    .donation-modal-header {
        padding: 20px;
    }

    .donation-modal-header h3 {
        font-size: 20px;
    }

    .donation-modal-body {
        padding: 20px;
    }

    .payment-method {
        flex-direction: column;
    }

    .payment-option {
        min-width: 100%;
    }
}
