body {

    font-family: 'Poppins', sans-serif;

    margin: 0;

    padding: 0;

    background: linear-gradient(to bottom, #f4f9ff, white);

    text-align: center;

    overflow-x: hidden;

}



.donation-container {

    max-width: 500px;

    background: white;

    padding: 4rem 20px;

    border-radius: 15px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    margin: 3rem auto;

}



h1 {

    font-size: 1.8rem;

    color: #003366;

    margin-bottom: 1rem;

}



.donation-option {

    margin-bottom: 20px;

}



.donation-option label {

    display: block;

    font-weight: bold;

    color: #34495e;

    margin-bottom: 10px;

}



.amount-control {

    display: flex;

    align-items: center;

    margin-bottom: 10px;

    justify-content: center;

}



.btn-amount {

    padding: 15px 20px;

    margin: 0 3px;

    border: none;

    border-radius: 8px;

    background-color:#083E77;

    color: white;

    font-size: 16px;

    cursor: pointer;

    transition: all 0.3s ease;

}



.btn-amount:hover {

    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);

}



.amount-control input {

    flex: 1;

    padding: 14px;

    border: 1px solid #ddd;

    border-radius: 8px;

    font-size: 16px;

    text-align: center;

}



.default-amounts {

    display: flex;

    gap: 18px;

    margin-top: 10px;

}



.default-amounts button {
    flex: 1;
    padding: 18px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    background-color: #083E77;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}


.default-amounts button:hover {

    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}



/* Style du slider */

input[type="range"] {

    width: 100%;

    margin-top: 10px;

    -webkit-appearance: none;

    appearance: none;

    background: #ddd;

    height: 8px;

    border-radius: 5px;

    outline: none;

    opacity: 0.7;

    transition: opacity 0.2s;

}



input[type="range"]:hover {

    opacity: 1;

}



input[type="range"]::-webkit-slider-thumb {

    -webkit-appearance: none;

    appearance: none;

    width: 20px;

    height: 20px;

    background: #3498db;

    border-radius: 50%;

    cursor: pointer;

    transition: background 0.3s ease;

}



input[type="range"]::-moz-range-thumb {

    width: 20px;

    height: 20px;

    background: #3498db;

    border-radius: 50%;

    cursor: pointer;

    transition: background 0.3s ease;

}



input[type="range"]::-webkit-slider-thumb:hover {

    background: #2980b9;

}



input[type="range"]::-moz-range-thumb:hover {

    background: #2980b9;

}



#arbre-count {

    display: block;

    margin-top: 10px;

    font-size: 14px;

    color: #666;

}



.total-donation {

    font-size: 1.5em;

    font-weight: bold;

    text-align: center;

    margin: 30px 0;

    color: #2c3e50;

}



.btn-don-submit {

    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 8px;

    background-color: #083E77;

    color: white;

    font-size: 16px;

    cursor: pointer;

    transition: all 0.3s ease;

}



.btn-don-submit:hover {

    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);

}



.btn-don-submit:disabled {

    background-color: #bdc3c7;

    cursor: not-allowed;

}



@media (max-width: 375px) {

    .donation-container {
        padding: 4rem 16px;
    }

    .amount-control input {
        padding: 14px 5px;
    }
    .btn-amount {
        padding: 15px 18px;
    }
}

@media (min-width: 768px) {

    .donation-container {
        padding: 4rem 3rem;
    }

}