:root {
    --primary-bg: #112536;
    --accent-color: #dca00e;
    --text-color: #ffffff;
    --input-bg: #1a3045;
    --input-border: #2a3f54;
    --error-color: #ff4444;
    --success-color: #00C851;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 200px;
    height: auto;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 30px auto 40px auto;
    height: 60px;
}

.progress-bar-track {
    position: absolute;
    top: 50%;
    left: 24px;
    right: 24px;
    height: 7px;
    background: var(--input-border);
    border-radius: 4px;
    z-index: 1;
    transform: translateY(-50%);
}

.step {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    font-size: 1.3em;
    font-weight: 600;
    background: var(--input-bg);
    border: 3px solid var(--input-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--text-color);
}

.step.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-bg);
    box-shadow: 0 0 0 4px var(--accent-color)33;
}

.progress-bar .step:not(:last-child) {
    margin-right: 60px;
}

.form-step {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 10px 30px 10px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="datetime-local"],
select {
    width: 100%;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 16px;
    margin-top: 5px;
}

.location-input {
    width: 100%;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 16px;
    margin-top: 5px;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.btn-secondary {
    background: var(--input-bg);
    color: var(--text-color);
}

.btn-primary:hover,
.btn-secondary:hover {
    opacity: 0.9;
}

#prevBtn {
    display: inline-block !important;
}

#nextBtn, #submitBtn {
    display: inline-block;
}

.hidden {
    display: none;
}

.summary-container {
    background: var(--input-bg);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        max-width: 150px;
    }

    .form-step {
        padding: 15px;
    }

    .form-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .vehicle-options {
        flex-direction: column;
        gap: 12px;
    }

    .vehicle-option {
        width: 100%;
        min-width: 0;
        font-size: 17px;
        padding: 16px 0;
    }

    .datetime-group {
        flex-direction: column;
    }
    
    .flatpickr-input,
    .time-selector {
        width: 100%;
    }
    
    .clock-picker {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Google Maps Autocomplete styling */
.pac-container {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    margin-top: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-family: 'Poppins', sans-serif;
}

.pac-item {
    padding: 8px 12px;
    cursor: pointer;
    border-top: 1px solid var(--input-border);
    color: var(--text-color);
}

.pac-item:hover {
    background-color: var(--input-bg);
    color: var(--accent-color);
}

.pac-item-query {
    color: var(--text-color);
}

.pac-matched {
    color: var(--accent-color);
}

/* Stop styling */
.stop-group {
    position: relative;
    padding: 15px;
    background: rgba(26, 48, 69, 0.5);
    border-radius: 4px;
    margin-bottom: 15px;
}

.remove-stop {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.remove-stop:hover {
    opacity: 0.9;
}

/* Error states */
.error {
    border-color: var(--error-color) !important;
}

.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Success states */
.success {
    border-color: var(--success-color);
}

.phone-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-code-select {
    padding: 10px 8px;
    border-radius: 4px 0 0 4px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-color);
    font-size: 16px;
    min-width: 70px;
    max-width: 80px;
    cursor: pointer;
    height: 48px;
}

.country-code-select option {
    color: #222;
}

.phone-input-group input[type="tel"] {
    flex: 1;
    min-width: 0;
    padding: 12px;
    font-size: 16px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 0 4px 4px 0;
    color: var(--text-color);
    height: 48px;
}

.vehicle-group {
    margin-top: 40px;
    margin-bottom: 0;
}

.vehicle-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.vehicle-option {
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 8px;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: border 0.2s, box-shadow 0.2s;
    min-width: 120px;
    font-size: 16px;
    outline: none;
}

.vehicle-option.selected, .vehicle-option:focus {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-color)33;
    background: #1a3045cc;
}

.vehicle-option.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #2a3f54;
    color: #888;
    border: 2px dashed #888;
}

.vehicle-icon {
    font-size: 2.2em;
    margin-bottom: 8px;
}

#vehicleError {
    color: var(--error-color);
    font-size: 15px;
    margin-top: 8px;
}

@media (max-width: 600px) {
    .progress-bar {
        max-width: 98vw;
        height: 44px;
    }
    .progress-bar-track {
        left: 16px;
        right: 16px;
        height: 5px;
    }
    .step {
        width: 34px;
        height: 34px;
        font-size: 1em;
    }
    .progress-bar .step:not(:last-child) {
        margin-right: 28px;
    }
    .form-step {
        padding: 10px 2vw 20px 2vw;
        max-width: 99vw;
    }
    .form-group label, .step-title {
        font-size: 1.1em;
    }
}

/* Résumé moderne */
.modern-summary {
    background: #1a3045ee;
    border-radius: 8px;
    padding: 24px 18px 18px 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px 0 #0002;
    font-size: 1.08em;
}
.modern-summary .summary-section {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.modern-summary .summary-icon {
    font-size: 1.5em;
    margin-top: 2px;
    color: var(--accent-color);
    min-width: 28px;
    text-align: center;
}
.modern-summary .summary-label {
    font-weight: 600;
    color: var(--accent-color);
    min-width: 120px;
}
.modern-summary .summary-value {
    color: var(--text-color);
    font-weight: 400;
}
.modern-summary .summary-price {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 18px;
    text-align: right;
}

/* Page de confirmation améliorée */
.confirmation-page {
    display: none;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.confirmation-circle {
    width: 120px;
    height: 120px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px auto;
    box-shadow: 0 6px 15px rgba(0, 200, 81, 0.4);
    animation: fadeAndScale 0.6s ease-out;
    border: 4px solid white;
}

.confirmation-check {
    color: #fff;
    font-size: 4em;
    font-weight: bold;
}

.confirmation-message {
    color: var(--accent-color);
    margin: 1rem 0;
    font-size: 2.2rem;
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.success-message {
    font-size: 1.2rem;
    color: var(--success-color);
    margin-bottom: 1rem;
    font-weight: bold;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

.confirmation-thanks {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    color: var(--accent-color);
    font-style: italic;
    animation: fadeInUp 0.5s ease-out 0.6s both;
    border-left: 3px solid var(--accent-color);
}

.confirmation-details {
    background: var(--input-bg);
    padding: 25px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.5s ease-out 0.5s both;
    text-align: left;
}

.confirmation-number {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.4em;
}

.reference-number-display {
    text-align: center;
    margin: 1.5rem 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 1.2rem;
}

.confirmation-summary {
    margin: 1.5rem 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.confirmation-contact {
    text-align: center;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.contact-link:hover {
    background: rgba(220, 160, 14, 0.2);
    color: white;
    text-decoration: none;
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.confirmation-actions .btn-primary,
.confirmation-actions .btn-secondary {
    padding: 12px 20px;
    min-width: 180px;
    transition: all 0.3s ease;
}

.confirmation-actions .btn-primary:hover,
.confirmation-actions .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.conf-section {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.conf-section strong {
    min-width: 120px;
    color: var(--accent-color);
    margin-right: 10px;
}

.conf-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.email-sent {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-size: 0.9em;
}

/* Animations */
@keyframes fadeAndScale {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style pour les spinner de chargement */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-message {
        font-size: 1.5rem;
    }
    
    .confirmation-circle {
        width: 90px;
        height: 90px;
    }
    
    .conf-section {
        flex-direction: column;
    }
    
    .conf-section strong {
        min-width: auto;
        margin-bottom: 4px;
    }
}

input[type="datetime-local"] {
    width: 100%;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 16px;
    margin-top: 5px;
}

.datetime-group {
    position: relative;
    display: flex;
    gap: 10px;
}

.flatpickr-input {
    padding-right: 40px !important;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    flex: 1;
    padding: 12px;
    border: 1px solid var(--input-border);
    border-radius: 4px;
    background-color: var(--input-bg);
    color: var(--text-color);
    font-size: 16px;
    min-width: 200px;
}

.flatpickr-input:hover {
    border-color: #3498db;
}

.flatpickr-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.calendar-icon {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.calendar-icon:hover {
    opacity: 1;
}

/* Styles améliorés pour les sélecteurs de temps */
.time-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.time-select {
    width: 70px !important;
    min-width: 60px;
    font-size: 18px;
    padding: 6px 8px;
    margin-right: 6px;
    border-radius: 5px;
    border: 1.5px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-color);
    box-sizing: border-box;
}

.hour-select, .minute-select {
    flex: 0 0 auto;
}

.time-separator {
    font-size: 18px;
    font-weight: bold;
    color: #555;
}

.quick-time-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.quick-time-button {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-time-button:hover {
    background-color: #e9e9e9;
}

.quick-time-button.active {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
}

.time-help-text {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Styles responsive pour mobiles */
@media (max-width: 600px) {
    .time-selector {
        flex-wrap: wrap;
    }
    
    .time-select {
        flex: 1;
        min-width: 0;
    }
    
    .quick-time-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Layout amélioré pour desktop */
@media (min-width: 768px) {
    .datetime-group {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }
    
    .flatpickr-input {
        flex: 1;
    }
    
    .time-selector {
        flex: 0 0 auto;
        min-width: 120px;
    }
    
    .quick-time-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }
    
    .time-help-text {
        width: 100%;
        margin-bottom: 5px;
    }
    
    /* Conteneur pour l'horloge et les boutons rapides */
    .time-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }
}

/* Empêcher les boutons de temps rapide de s'afficher en double */
.time-container:not(:last-child) {
    display: none !important;
}

.time-help-text {
    margin-top: 5px;
    font-style: italic;
}

/* Effet de pulsation pour indiquer la sélection complète */
@keyframes pulse {
    0% { background-color: transparent; }
    50% { background-color: rgba(46, 204, 113, 0.2); }
    100% { background-color: transparent; }
}

.pulse-success {
    animation: pulse 1s;
}

/* Styles pour le résumé et la page de confirmation sur mobile */
@media (max-width: 767px) {
    .summary-container {
        padding: 10px;
    }
    
    .summary-section {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 10px;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    
    .summary-label {
        flex: 0 0 100px;
        margin-right: 10px;
        font-weight: bold;
    }
    
    .summary-value {
        flex: 1;
        min-width: 0; /* Pour permettre le word-break */
        max-width: 100%;
    }
    
    .confirmation-summary .conf-section {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }
    
    .confirmation-summary .conf-section strong {
        margin-bottom: 3px;
    }
}

/* Styles généraux pour le résumé et la confirmation */
.summary-container, .confirmation-summary {
    word-break: break-word;
    overflow-wrap: break-word;
}

.summary-section {
    max-width: 100%;
}

.summary-section .summary-value {
    max-width: 100%;
    text-overflow: ellipsis;
}

.conf-section {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Optimisation mobile */
@media (max-width: 767px) {
    .datetime-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .time-selector {
        margin-top: 8px;
        width: 100%;
    }
    
    .hour-input, .minute-input {
        flex: 1;
    }
    
    .quick-time-buttons {
        justify-content: space-between;
        width: 100%;
    }
    
    .quick-time-button {
        margin-bottom: 5px;
    }
}

/* Message d'aide au contact - version améliorée */
.contact-help {
    margin-top: 40px;
    padding: 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, #163756 0%, #112536 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-help:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.contact-help::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(220, 160, 14, 0.3) 0%, rgba(220, 160, 14, 0) 70%);
    border-radius: 50%;
    opacity: 0.7;
    z-index: 0;
    animation: pulse 6s infinite;
}

.contact-help::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(220, 160, 14, 0.2) 0%, rgba(220, 160, 14, 0) 70%);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
    animation: pulse 8s infinite 1s;
}

.contact-help-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.contact-help-icon {
    font-size: 24px;
    background: linear-gradient(135deg, #dca00e 0%, #f5c955 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

.contact-help-header p {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(90deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.contact-help-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #cccccc;
    margin-bottom: 20px;
    margin-left: 36px;
    position: relative;
    z-index: 1;
}

.contact-help-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(220, 160, 14, 0.8) 0%, rgba(220, 160, 14, 0.2) 100%);
    border-radius: 2px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(26, 48, 69, 0.7);
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 3px solid rgba(220, 160, 14, 0.5);
}

.contact-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(220, 160, 14, 0.1) 0%, rgba(220, 160, 14, 0) 100%);
    transition: all 0.4s ease;
    z-index: 0;
}

.contact-option:hover {
    transform: translateX(5px);
    border-left: 3px solid rgba(220, 160, 14, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-option:hover::before {
    width: 100%;
}

.contact-option:active {
    transform: translateX(5px) scale(0.98);
}

.contact-icon {
    font-size: 18px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.contact-text {
    font-weight: 500;
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .contact-options {
        gap: 10px;
    }
    
    .contact-option {
        padding: 10px 12px;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Style pour l'affichage de la distance */
.distance-display {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 10px 15px;
    background: rgba(26, 48, 69, 0.7);
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
    animation: fadeIn 0.5s;
}

.distance-icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--accent-color);
}

.distance-text {
    flex: 1;
}

.distance-label {
    display: block;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 3px;
}

#distanceValue {
    font-size: 1.1em;
}

.time-select option {
    color: #222 !important;
    background: #fff !important;
}

/* Centrage et espacement des boutons rapides sous les champs heure/minute */
.time-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 12px;
    margin-bottom: 8px;
}
.quick-time-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}
.time-help-text {
    text-align: center;
    margin-bottom: 6px;
    color: #aaa;
}

@media (max-width: 767px) {
    .time-container {
        align-items: stretch;
        margin-top: 8px;
    }
    .quick-time-buttons {
        justify-content: flex-start;
        gap: 8px;
    }
}

/* Style pour le lien des conditions générales */
.terms-link {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.2s;
}

.terms-link:hover {
    color: var(--accent-color-hover);
} 