/* Convention Ensemble 2026 - Styles personnalisés */

/* Image de fond pour le body */
body {
    background-image: url('/assets/img/fond.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    padding-bottom: 80px; /* Espace pour le footer fixe */
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    visibility: hidden !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.required::after {
    content: " *";
    color: #dc3545;
}


.alert-danger {
    border-left: 4px solid #dc3545;
}

.alert-success {
    border-left: 4px solid #28a745;
}

/* Navigation */
.navbar {
    background: rgba(33, 37, 41, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: bold;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent !important;
    z-index: 1000;
}


/* Animation pour les champs conditionnels */
#entite_ca_group,
#transport_group,
#bus_details {
    transition: all 0.3s ease-in-out;
}

/* Amélioration responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card {
        margin: 0 10px;
    }
}

/* Bouton de soumission */
.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Messages d'erreur */
.invalid-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Spinner de chargement */
.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Style des checkboxes en danger */
.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.form-check-input:checked:focus {
    background-color: #c82333;
    border-color: #c82333;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.form-check-input {
    border-color: #6c757d;
    transition: all 0.2s ease;
}

.form-check-input:hover {
    border-color: #dc3545;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Couleur du placeholder */
.placeholder-color {
    color: #6c757d;
}