/* public/css/main.css */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #e5e3df 0%, #f8f9fa 100%);
    display: flex;
    justify-content: center;
    padding: 20px;
    margin: 0;
    min-height: 100vh;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.container, .lang-selector, .autocomplete-list, .form-fav-container,
.form-car-container, #controls, #eta-panel, #speed-panel, .leaflet-routing-container {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

.container {
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    box-sizing: border-box;
}

h2 { margin-top: 0; color: #202124; display: flex; align-items: center; gap: 10px; }
h3 { border-bottom: 1px solid rgba(218, 220, 224, 0.6); padding-bottom: 10px; color: #3c4043; margin-top: 30px; }

input, select, .form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(218, 220, 224, 0.6);
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 15px;
    background-color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
    color: #202124;
    font-family: inherit;
    min-height: 48px;
}

input:focus, select:focus, .form-control:focus {
    outline: none;
    border-color: #1a73e8;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

button {
    padding: 12px 20px;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    transition: transform 0.1s, box-shadow 0.2s;
    min-height: 48px;
}
button:active { transform: scale(0.97); }

.btn-primary { background: #1a73e8; color: white; box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2); }
.btn-primary:hover { box-shadow: 0 6px 16px rgba(26, 115, 232, 0.3); }

.btn-danger { background: #ea4335; color: white; margin-top: 10px; box-shadow: 0 4px 12px rgba(234, 67, 53, 0.2); }
.btn-danger:hover { box-shadow: 0 6px 16px rgba(234, 67, 53, 0.3); }

.btn-secondary {
    background: rgba(241, 243, 244, 0.8);
    color: #3c4043;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(218, 220, 224, 0.6);
}

.autocomplete-wrapper { position: relative; width: 100%; }
.autocomplete-list {
    position: absolute; top: 100%; left: 0; right: 0;
    border-radius: 12px;
    z-index: 2000; list-style: none; margin: -10px 0 15px 0; padding: 0; max-height: 200px; overflow-y: auto;
}
.autocomplete-list li { padding: 12px 16px; cursor: pointer; border-bottom: 1px solid rgba(241, 243, 244, 0.6); font-size: 14px; color: #3c4043; line-height: 1.4; }
.autocomplete-list li:hover { background-color: rgba(248, 249, 250, 0.8); color: #1a73e8; }
.autocomplete-list li:last-child { border-bottom: none; }