/* =======================================
   DONATION PAGE STYLES
   ======================================= */

:root {
    --primary-red: #C41E3A;
    --dark-bg: #1a1a1a;
    --light-gray: #f8f9fa;
}

/* Hero Section */
.donate-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.impact-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Donation Cards */
.donation-card {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.donation-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.2);
}

.donation-card.active {
    border-color: var(--primary-red);
    background-color: rgba(196, 30, 58, 0.05);
    border-width: 3px;
}

.amount-display {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.impact-text {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-method-card {
    flex: 1;
    min-width: 200px;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.payment-method-card.active {
    border-color: var(--primary-red);
    background-color: rgba(196, 30, 58, 0.05);
    border-width: 3px;
}

.payment-method-card i {
    font-size: 2rem;
    color: var(--primary-red);
    display: block;
    margin-bottom: 10px;
}

.payment-method-card span {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-logos, .mpesa-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* Donation Summary */
.donation-summary-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.summary-row:last-child {
    border-bottom: none;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid var(--primary-red);
}

/* Impact Items */
.impact-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #dee2e6;
}

.impact-item:last-child {
    border-bottom: none;
}

.impact-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Other Ways to Give */
.give-option-card {
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.give-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.security-badges img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.security-badges img:hover {
    opacity: 1;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 20px;
}

/* Form Sections */
.form-section {
    position: relative;
}

.form-section h5 {
    font-weight: 600;
    color: var(--dark-bg);
}

/* Custom Checkbox Styles */
.form-check-label strong {
    color: var(--dark-bg);
}

.form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Button Styles */
.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-danger:hover {
    background-color: #a01829;
    border-color: #a01829;
}

.btn-outline-danger {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline-danger:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .amount-display {
        font-size: 1.4rem;
    }
    
    .donation-card {
        padding: 15px;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .payment-method-card {
        min-width: 100%;
    }
    
    .sticky-sidebar {
        position: relative;
        top: 0;
    }
}

/* Loading State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Custom Amount Input */
.custom-amount .input-group-text {
    background-color: var(--light-gray);
    font-weight: 600;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-body {
    padding: 40px;
}

/* Success Modal Specific */
#successModal .fa-check-circle {
    display: block;
    margin: 0 auto 20px;
}

.donation-receipt {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}

.donation-receipt p {
    margin-bottom: 10px;
}
