/* Donate Page Styles */
.donate-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

.donate-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.donate-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.donate-section {
    padding: 5rem 0;
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.donate-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.impact-item {
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    text-align: center;
}

.impact-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.impact-item p {
    color: var(--text-color);
}

.donate-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.donate-form {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.donate-form .form-group {
    margin-bottom: 1.5rem;
}

.donate-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.donate-form input,
.donate-form select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.donate-form input:focus,
.donate-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 1rem;
    background: var(--light-color);
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.custom-amount {
    margin-top: 1rem;
}

.custom-amount input {
    margin-top: 0.5rem;
}

.btn-large {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.2rem;
}

.amount-section {
    margin-bottom: 2rem;
}

.amount-section h3,
.payment-section h3,
.donor-info h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.custom-amount {
    margin-top: 1rem;
}

.custom-amount input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
}

.selected-amount {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 10px;
    color: #10b981;
    font-size: 1.2rem;
}

.payment-method {
    display: block;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.payment-method:hover {
    border-color: #10b981;
}

.payment-method input {
    margin-right: 0.5rem;
}

.donor-info input,
.donor-info select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
}

.donation-type {
    margin-bottom: 1rem;
}

.donation-type label {
    display: block;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
}

.terms-check {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.btn-donate-submit {
    width: 100%;
    padding: 1.5rem;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
}

.loader {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 3000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 0;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.modal-body {
    padding: 2rem;
}

.success-message {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.record-details {
    background: #f5f7fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.btn-back {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: #10b981;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .donate-content {
        grid-template-columns: 1fr;
    }

    .donate-header h1 {
        font-size: 2rem;
    }

    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

