body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f9f9f9;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}
.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-group label {
    font-weight: bold;
    color: #555;
}
.autocomplete {
    position: relative;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.autocomplete-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}
.autocomplete-item:hover {
    background-color: #f0f7ff;
}
.autocomplete-item:last-child {
    border-bottom: none;
}
input {
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76,175,80,0.3);
}
button {
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s;
}
button:hover {
    background-color: #45a049;
}
#map {
    height: 500px;
    width: 100%;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.route-info {
    margin-top: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.route-info h3 {
    margin-top: 0;
    color: #2c3e50;
}
.route-info p {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}
.cost {
    font-weight: bold;
    color: #e74c3c;
    font-size: 18px;
}
.loading {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #666;
    background-color: rgba(255,255,255,0.8);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #4CAF50;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.voice-control {
    margin-top: 20px;
    padding: 15px;
    background-color: #e8f5e9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}
.voice-btn {
    background-color: #2196F3;
    margin: 10px;
}
.voice-btn:hover {
    background-color: #0b7dda;
}
.voice-instruction {
    margin-top: 10px;
    font-style: italic;
    color: #555;
}
.location-btn {
    background-color: #FF9800;
    margin-bottom: 15px;
}
.location-btn:hover {
    background-color: #e68a00;
}
/* Styles pour les sélecteurs */
.select-input {
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    cursor: pointer;
}

.select-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76,175,80,0.3);
}

.select-input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Style pour les étapes sélectionnées */
.selection-step {
    padding: 8px 12px;
    margin-bottom: 10px;
    background-color: #e7f3fe;
    border-left: 4px solid #2196F3;
    border-radius: 4px;
}

.selection-step.completed {
    background-color: #e8f5e9;
    border-left: 4px solid #4CAF50;
}