/* Modal Styles */
.donation-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.modal-content {
    background: white;
    margin: 5% auto;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.close-modal {
    font-size: 24px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Campaign Styles */
.ngo-campaign {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.campaign-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.progress-bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 20px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-fill {
    background: #4CAF50;
    height: 100%;
    transition: width 0.3s;
}

.campaign-stats {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    font-weight: bold;
}

.donate-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

/* Donation Slider */
.donation-slider {
    background: #4CAF50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    .campaign-stats {
        flex-direction: column;
        gap: 5px;
    }
}