/* Donations Page Styles */

.donation-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.donation-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.donation-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.donation-title i {
    color: #e74c3c;
    margin-right: 0.5rem;
}

.donation-subtitle {
    color: #7f8c8d;
    font-size: 1rem;
    margin: 0;
}

.donation-form .form-group {
    margin-bottom: 1.5rem;
}

.donation-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: block;
}

.donation-form .form-label i {
    color: #3498db;
    margin-right: 0.5rem;
    width: 20px;
}

.donation-form .form-label .required {
    color: #e74c3c;
    margin-left: 0.25rem;
}

.donation-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.donation-form .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    outline: none;
}

.donation-form .form-control.is-invalid {
    border-color: #e74c3c;
}

.donation-form .invalid-feedback {
    display: block;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.donation-form .form-text {
    color: #7f8c8d;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Amount Input */
.amount-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    z-index: 1;
}

.amount-input {
    padding-left: 2.5rem !important;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Checkbox */
.form-check {
    padding-left: 1.75rem;
}

.form-check-input {
    margin-top: 0.35rem;
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    color: #2c3e50;
}

/* Donate Button */
.donation-actions {
    margin-top: 2rem;
    text-align: center;
}

.btn-donate {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    cursor: pointer;
    min-width: 200px;
}

.btn-donate:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: #fff;
}

.btn-donate:active {
    transform: translateY(0);
}

.btn-donate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-donate i {
    margin-right: 0.5rem;
}

/* Error Alert */
#donationError {
    margin-top: 1rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

/* Info Card */
.donation-info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #3498db;
}

.donation-info-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.donation-info-card h3 i {
    color: #3498db;
    margin-right: 0.5rem;
}

.donation-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.donation-info-list li {
    padding: 0.75rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.donation-info-list li i {
    color: #27ae60;
    margin-right: 0.75rem;
}

/* Success Page */
.donation-success-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    color: #27ae60;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.success-message {
    color: #7f8c8d;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.donation-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #7f8c8d;
}

.detail-value {
    color: #2c3e50;
    font-weight: 600;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.success-actions .btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-form-card {
        padding: 1.5rem;
    }

    .donation-title {
        font-size: 1.5rem;
    }

    .btn-donate {
        width: 100%;
        padding: 1rem;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-actions .btn {
        width: 100%;
    }

    .donation-success-card {
        padding: 2rem 1.5rem;
    }
}

