/* Styles de base */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("../images/Image1.png");
    background-repeat: repeat;
}



/* Conteneur principal */
.container {
    width: 90%;
    max-width: 400px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Design pour le total des dons */
.total-container {
    background-color: #33ffff;
    color: #333;
    font-size: 22px;
    font-weight: bold;
    padding: 5px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
}


/* Titre */
h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

/* Champs du formulaire */
.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 15px;
    margin-right: 20px;
}

/* Couleur de fond initiale pour les zones de saisie */
input[type="text"], input[type="tel"], input[type="number"], select {
    background-color: #e0f7e7; /* Vert clair initial */
    border: 1px solid #ccc;    /* Bordure légère */
    padding: 10px;              /* Espacement interne */
    border-radius: 5px;         /* Bords arrondis */
}

/* Changer la couleur de fond lors du focus */
input[type="text"]:focus, input[type="tel"]:focus, input[type="number"]:focus, select:focus {
    background-color: #d0fffe; /* Bleu plus clair lorsque l'utilisateur clique */
    border-color: #007BFF;     /* Bordure bleue lors du focus */
}
#total-engagement{
	font-size: 2.5rem;
}

label {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: bold;
}

input, select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

/* Style pour aligner le texte et les boutons radio sur la même ligne */
div label {
    display: inline-block;
    margin-right: 10px;
}

/* Changer la couleur du texte en rouge */
.red-text {
    color: red;
}

.radio-buttons {
    display: inline-block;
}

.radio-buttons label {
    margin-right: 15px;
}


/* Bouton Valider */
.btn {
    background-color: #28a745;
    color: white;
    font-size: 18px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    font-weight: bold; /* Appliquer le texte en gras */
}

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

/* Masquer le champ 'autre montant' par défaut */
.hidden {
    display: none;
}
