      /* Boutons Appel / WhatsApp */
      .btn-call {
        background-color: #0d6efd;
        color: white;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        border: none;
      }

      .btn-whatsapp {
        background-color: #25D366;
        color: white;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        border: none;
      }

      /* Sticky des icônes */
      #floating-contact {
        position: sticky;
        top: 0;
        z-index: 1055;
        padding: 0.5rem 1rem;
        display: flex;
        justify-content: flex-end;
        gap: 0.5rem;
        background-color: transparent;
      }


/* Layout général et structure de la page */  
#reservation-test-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    color: white;
}

/* Layout général et structure de la page */ 
#reservation-test-container header {
    width: 100%;
    max-width: 960px;
    padding: 32px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
}
	input::placeholder,
	textarea::placeholder,
	select::placeholder {
		color: rgba(255, 255, 255, 0.6) !important;
		opacity: 1 !important;
	}

	.input-group .form-control::placeholder {
		color: rgba(255, 255, 255, 0.6) !important;
	}

	input.form-control,
	textarea.form-control,
	select.form-control {
		background-color: transparent;
		color: #fff;
		border-color: hsla(0, 0%, 100%, 0.15);
	}

header h1 {
    font-size: 2rem;
    font-weight: 800;
}

header h1 span {
    color: #ff5630;
}

header p {
    margin-top: 8px;
    color: #cccccc;
}

/* Header & Onglets (Tabs) */
.tabs {
    display: flex;
    border-bottom: 1px solid #444;
    margin-bottom: 24px;
    width: 100%;
    max-width: 960px;
}
@media (max-width: 575.98px) {
  .tabs {
    display: none !important;
  }
}

.tab-button {
    flex: 1;
    padding: 12px;
    cursor: pointer;
    text-align: center;
    background: none;
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: white;
}

.tab-button.active {
    border-bottom: 3px solid #ff5630;
    font-weight: bold;
}

/* Contenu des onglets (Formulaires) */ 
.tab-content {
    width: 100%;
    max-width: 960px;
    display: none;
    position: relative;
}

.tab-content.active {
    display: block;
}

.general-container {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.04);
    padding: 32px;
    position: relative;
}

/* === CORRECTION RESPONSIVE PRINCIPALE === */
/* Layout principal : 50/50 sur desktop/tablet, empilé sur mobile */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espacement entre les colonnes */
    align-items: flex-start; /* Alignement en haut */
}

/* Sur grands écrans (desktop) : 50/50 */
@media (min-width: 768px) {
    .col-12.col-sm-6 {
        flex: 1 1 calc(50% - 10px); /* 50% moins la moitié du gap */
        max-width: calc(50% - 10px);
        box-sizing: border-box;
    }
    
    /* Hauteur fixe pour la section carte sur desktop */
    .carte {
        height: 600px; /* Hauteur fixe plus grande */
        min-height: 600px;
    }
    
    /* Section données client avec hauteur correspondante */
    .donneesClient {
        min-height: 600px;
        max-height: 600px;
        overflow-y: auto; /* Scroll si contenu trop long */
    }
}

/* Sur petits écrans (mobile) : empilé */
@media (max-width: 767px) {
    .row {
        flex-direction: column;
        gap: 20px;
    }
    
    .col-12.col-sm-6 {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    
    /* Hauteur réduite pour la carte sur mobile */
    .carte {
        height: 350px;
        min-height: 350px;
    }
    
    .donneesClient {
        min-height: auto;
        max-height: none;
    }
}

/* Container de la carte HERE - CORRECTION CRITIQUE */
#mapContainer {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

/* Forcer l'affichage correct des éléments internes de HERE Maps */
#mapContainer * {
    box-sizing: border-box !important;
}

#mapContainer canvas,
#mapContainer .H_ib_body {
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Container parent de la carte - TRÈS IMPORTANT */
.carte {
    display: block !important; /* Pas de flex pour éviter les problèmes */
    width: 100%;
    border-radius: 8px;
    padding: 12px;
    height: auto;
    min-height: 400px;

    box-sizing: border-box;
    position: relative;
}


/* Champs de formulaire et styles */ 
.form-group {
    margin-bottom: 24px;
    position: relative;
}

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

.form-group input,
.form-group select,
.form-group button {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.04);
    color: white;
    width: 100%;
    box-sizing: border-box;
}

.form-control,
.form-select,
.input-group-text,
textarea {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Champs de formulaire et styles */
.form-control:focus,
.form-select:focus,
textarea:focus {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: white !important;
    border-color: #ff5630 !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 86, 48, 0.25);
}

.inline-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.button-group {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    gap: 8px;
}

/*  Boutons  */
.nav-main-btn {
    background-color: #ff5630;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn {
    background-color: #555;
    color: white;
    padding: 10px 18px;
    font-size: 0.9rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

/* Boutons de temps */
.time-btn {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.04);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-btn.active {
    background-color: #ff5630;
    border-color: #ff5630;
}

/* =Autocomplétion (liste des suggestions) == */ 
.autocomplete-list {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: rgba(28, 29, 38, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 12px 12px;
    max-height: 240px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    animation: fadeInUp 0.2s ease;
}

.autocomplete-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 0.95rem;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.autocomplete-list li:first-child {
    border-top: none;
}

.autocomplete-list li:hover {
    background-color: rgba(255, 86, 48, 0.15);
}

.autocomplete-list .icon {
    font-size: 1.1rem;
    color: #ff5630;
}

/* =Cartes des véhicules== */  
.vehicle-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.vehicle-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.03);
}

.vehicle-card i {
    font-size: 28px;
    margin-bottom: 8px;
    color: #ff5630;
}

.vehicle-card h4 {
    margin: 0;
    font-weight: 500;
}

.vehicle-card.active {
    border-color: #ff5630;
    background-color: rgba(255, 86, 48, 0.1);
}

/* ==Animations= */ 
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-error {
    color: #ff5630;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.form-label-fixed {
    display: inline-block;
    height: 1.5rem;
    line-height: 1.5rem;
    white-space: nowrap;
}

.input-group {
    display: flex;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0 10px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* = Classes utilitaires & responsive == */
.col-md-6 {
    flex: 0 0 48%;
    max-width: 48%;
    margin: 0 1%;
}

/* Correction responsive pour col-md-6 */
@media (max-width: 767px) {
    .col-md-6 {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0;
        margin-bottom: 16px;
    }
}

.d-flex {
    display: flex;
}

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

.gap-3 {
    gap: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.me-1 {
    margin-right: 0.25rem;
}

.small {
    font-size: 0.875rem;
}

.text-white {
    color: white;
}

.text-sm {
    font-size: 0.875rem;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* === Boutons === */
.btn {
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #0d6efd;
    color: white;
}

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    background-color: transparent;
}

/* ==Imitation de Bootstrap (si utilisé sans Bootstrap réel)= */  
.collapse {
    display: none;
}

.collapse.show {
    display: block;
}


#mapContainer {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  min-height: 400px !important;
   height: 400px !important;
  min-height: 400px !important;
}


.map-info {
  font-size: 0.95rem;
}

@media (max-width: 575.98px) {
  .map-info .distance-box,
  .map-info .duration-box {
    width: 100% !important;
  }
}

.symfony-error {
  color: white !important;
  background-color: rgba(255, 0, 0, 0.3);
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.4;
  animation: fadeError 0.3s ease-in-out;
}
/* ✅ style pour les erreurs */

@keyframes fadeError {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




