/* Reset et styles de base */
*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body { height: 100%; }

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background: #f4f4f4f4;
    padding: 40px 0;
    color: #27283c
}

img-fluid rounded-start {
    border: 5px;
}

.fantome {
    color: white;
    font-size: 2px;
}

.container {
    padding: 10px 10px 10px;
}

.website {
    width: 275px;
    margin-bottom: 20px
}

.large { font-size: x-large }

hr {
    border-top-width: 2px!important;
    width: 100%;
    border-color: #02020222;
    margin: 25px auto
}

ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 40px
}


.fas {
    display: block;
    font-size: xx-large;
    margin-bottom: 10px
}

h6 {
    font-size: 18px; 
}

.content {
    position: relative;
    top: 40px;
}

/* Composants communs */
.btn {
    background-color: #28a745;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

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

.map-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Formulaires */
.contact-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-control {
    margin-bottom: 15px;
}

.btn-retour {
    background-color: #28a745;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-retour:hover {
    background-color: #218838;
    color: white;
    text-decoration: none;
}

/* Bouton bleu avec effet de pression */
.btn-blue {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    position: relative;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 #0056b3,
                0 5px 5px rgba(0,0,0,0.2);
}

/* Effet au survol */
.btn-blue:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 0 #0056b3,
                0 6px 6px rgba(0,0,0,0.2);
    background-color: #0069d9;
    color: white;
    text-decoration: none;
}

/* Effet pendant le clic */
.btn-blue:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #0056b3,
                0 2px 2px rgba(0,0,0,0.2);
    transition: all 0.05s ease;
}

/* État désactivé */
.btn-blue:disabled {
    background-color: #6c757d;
    box-shadow: 0 4px 0 #545b62;
    cursor: not-allowed;
}



/* Pages spécifiques */
/* Page de confirmation */
.confirmation-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.confirmation-icon {
    color: #28a745;
    font-size: 48px;
    margin-bottom: 20px;
}

.confirmation-message {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Styles du formulaire d'inscription */
.inscription-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: left;
}

/* Nouveau style pour les groupes label + input */
.form-group {
    display: block;
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    padding-left: 0;
}

.form-group input,
.form-group select {
    width: 100%;
    margin-bottom: 0;
}

/* Style pour le tableau */
.table-section {
    margin-top: 30px;
    margin-bottom: 30px;
}

.table-section h3 {
    margin-bottom: 15px;
    padding-left: 0;
    text-align: left;
}

/* Ajustement pour le bouton submit */
.submit-section {
    padding-left: 0;
    margin-top: 20px;
    text-align: left;
}

/* Styles spécifiques pour le tableau d'inscription */
.table-responsive {
    margin: 20px 0;
}

#personnesTable input,
#personnesTable select {
    margin-bottom: 0;
}

#personnesTable td {
    vertical-align: middle;
}

.text-left {
    text-align: left;
}

.table-section label {
    display: block;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

/* Style pour l'alerte d'information */
.alert-info {
    background-color: #e8f4f8;
    border-color: #b8e7f3;
    color: #0c5460;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
}

.alert-info i {
    margin-right: 10px;
}

/* Style pour les boutons côte à côte */
.submit-section .row {
    margin: 0 -10px;
}

.submit-section .col-md-6 {
    padding: 0 10px;
}

.submit-section button {
    width: 100%;
    margin-bottom: 10px;
}

.submit-section i {
    margin-right: 8px;
}

/* Style pour l'impression */
@media print {
    .no-print {
        display: none;
    }
    .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .card {
        border: none;
        box-shadow: none;
    }
}

.alert-attention {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
    font-weight: bold;
}

.text-attention {
    color: #856404;
}