* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body, html {
    height: 100%;
    overflow: hidden;
}

.dashboard {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 320px;
    background: #000000;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.logo {
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo h1 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
}

.controls {
    flex: 1;
}

.control-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.control-section:last-child {
    border-bottom: none;
}

.control-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #ecf0f1;
}

.control-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.control-item input[type="checkbox"] {
    margin-right: 10px;
}

.direction-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.direction-input {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.direction-input label {
    font-size: 12px;
    color: #ccc;
    font-weight: 500;
}

.direction-input input {
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.direction-input input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn {
    padding: 10px;
    width: 100%;
    background-color: #3498db;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 5px;
}

.btn:hover {
    background-color: #2980b9;
}

select {
    width: 100%;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
}

#traffic-info, .route-info {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

#traffic-info p, .route-info p {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

.route-info {
    margin-top: 15px;
}

.route-info .route-detail {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.route-info .route-detail i {
    margin-right: 10px;
    color: #3498db;
}

.route-info .route-step {
    margin-bottom: 5px;
    font-size: 13px;
    animation: fadeIn 0.5s ease-in-out;
}

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

.map-container {
    flex: 1;
    height: 100%;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
    .dashboard {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        max-height: 40%;
    }
}
