* {
    box-sizing: border-box;
}
host, html {
    line-height: 1.5; /* Restauré à une valeur par défaut */
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}
.map-container {
    height: 300px;
    width: 100%;
    border-radius: 0.5rem;
    z-index: 1;
}
.price-badge {
    transition: all 0.3s ease;
}
.price-badge:hover {
    transform: scale(1.05);
}
.route-info {
    transition: all 0.3s ease;
}
.route-info:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.input-highlight {
    transition: all 0.3s ease;
}
.input-highlight:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
}
.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
.delay-light {
    transition: opacity 0.2s ease-in-out;
}
.font-headline {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
}
.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #eff6ff;
}
.info-icon {
    color: #1e40af;
    font-size: 1.5rem;
}
.leaflet-routing-container {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.leaflet-control-geocoder-form input {
    width: 200px;
}
#calendar {
    max-width: 900px;
    margin: 0 auto;
    min-height: 1365px; /* 72 créneaux × 5px */
    height: auto !important;
    overflow: visible !important; /* Force l'absence de défilement forcé */
    overflow-x: visible !important; /* Neutralise overflow-x */
    overflow-y: visible !important; /* Neutralise overflow-y */
}
/* Réduction de la hauteur des slots avec spécificité maximale */
#calendar .fc-timegrid-slot {
    height: 5px !important;
    min-height: 5px !important;
    line-height: 5px !important;
}
#calendar .fc-timegrid-slot-lane {
    height: 5px !important;
    min-height: 5px !important;
    line-height: 5px !important;
}
#calendar .fc-timegrid-slot-label {
    line-height: 5px !important;
    font-size: 12px !important; /* Taille demandée pour les heures */
    padding: 0 !important;
}
.fc .fc-button-primary {
    background-color: #1e40af;
    border-color: #1e40af;
}
.fc .fc-button-primary:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
}
.fc-event-unavailable {
    background-color: #000000 !important;
    border-color: #000000 !important;
    opacity: 0.8;
    color: #ffffff !important;
}
.fc-event-reservation {
    background-color: #1e40af !important;
    border-color: #1e40af !important;
    color: #ffffff !important;
}
.manage-link {
    font-size: 0.75rem;
    color: #6b7280;
    text-decoration: underline;
}
.manage-link:hover {
    color: #1e40af;
}
/* Neutralisation de min-height: 100vh */
.container {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
}
#step2 {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
}
@media (max-width: 640px) {
    /* Aucun style spécifique pour #calendar ou #step2 */
}