
header .donation-section{
    background-color: #28a745; 
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*header .donation-section h1 {
    margin-bottom: 10px;
    font-size: 2.8em;
}*/

header .donation-section p {
    font-size: 1.2em;
}

main .donation-section{
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.donation-section, .impact-section {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fff;
}
/*.donation-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}*/

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #555;
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.amount-btn {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    color: #333;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s, border-color 0.3s;
}

.amount-btn:hover {
    background-color: #d1d6db;
}

.amount-btn.selected {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.custom-amount {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-amount label {
    margin-bottom: 0; /* Remove bottom margin for inline label */
}

input[type="number"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
}

input[type="number"] {
    max-width: 180px; /* Limit width for custom amount input */
}

#payment-details {
    margin-top: 25px;
    padding: 20px;
    border: 1px dashed #a3e6b1; /* Bordure plus douce pour les détails */
    border-radius: 5px;
    background-color: #f0fdf4;
}

#payment-details p {
    font-size: 0.95em;
    color: #444;
}

#payment-details ul {
    list-style-type: none;
    padding: 0;
}

#payment-details ul li {
    margin-bottom: 8px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #218838;
}

.impact-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.point {
    background-color: #f8fcf9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #28a745;
}

.point h3 {
    color: #28a745;
    margin-bottom: 10px;
    font-size: 1.5em;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    background-color: #343a40;
    color: white;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header .donation-section h1 {
        font-size: 2em;
    }

    main .donation-section {
        margin: 20px;
        padding: 15px;
    }

    .amount-options {
        flex-direction: column;
    }

    .amount-btn {
        width: 100%;
    }

    .custom-amount {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    input[type="number"] {
        width: 100%;
        max-width: none;
    }
}