/* Map container */
#map {
    height: 100vh;
    width: 100%;
}

/* Navigation UI */
.leaflet-control-navigation a {
    background: white;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    color: black;
    font-size: 18px;
}

.leaflet-control-navigation-dialog {
    background: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    min-width: 200px;
}

.leaflet-control-navigation-dialog select {
    width: 100%;
    margin: 5px 0;
    padding: 5px;
}

.leaflet-control-navigation-dialog .button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.direction-arrow {
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
}

.direction-arrow .arrow {
    font-size: 24px;
    color: #ff0000;
    text-shadow: 0 0 2px white;
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.leaflet-control-distance {
    background: white;
    padding: 6px 10px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

.leaflet-control-toast {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    margin: 10px;
    pointer-events: none;
}

.leaflet-topcenter {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.feature-list {
    max-height: 200px;
    overflow-y: auto;
}

.feature-item {
    padding: 8px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.feature-item:hover {
    background: #f5f5f5;
}

/* Add to navigation.css */
.navigation-panel {
    position: fixed;
    top: 20px; /* Changed from bottom */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 280px;
    max-width: 90%;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.navigation-panel:hover {
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.navigation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.panel-handle {
    cursor: move;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.direction-display {
    font-size: 1.5em;
    color: #333;
}

.direction-arrow-large {
    font-size: 56px;
    transition: transform 0.3s ease;
    margin: 5px 0;
}

.distance-display {
    font-size: 2em;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.distance-display.precise {
    color: #e74c3c;
    font-size: 2.2em;
}

.stop-navigation-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}

.stop-navigation-btn:hover {
    background: #c0392b;
}

.compass-directions {
    font-size: 1.1em;
    color: #7f8c8d;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}