
.nav-top-right {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    color: white;
    max-width: 350px;
    border: 1px solid rgba(255,255,255,0.1);
}
.nav-maneuver-icon {
    font-size: 2rem;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.nav-maneuver-info {
    flex: 1;
}
.nav-maneuver-dist {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}
.nav-maneuver-text {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.2;
}
.nav-steps-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}
.nav-steps-btn:hover {
    transform: scale(1.1);
}

.nav-bottom-right {
    position: absolute;
    bottom: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 1000;
}
.nav-fab-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.2s;
}
.nav-fab-btn:hover {
    transform: scale(1.05);
}
.nav-stats-box {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
}
.nav-stats-time {
    font-size: 1.5rem;
    font-weight: 800;
    color: #10b981;
}
.nav-stats-dist {
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 600;
}
.nav-stop-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.nav-stop-btn:hover {
    background: #dc2626;
}

.nav-left-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 15px;
    width: 280px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
}
.nav-left-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-nearest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 8px;
}
.nav-nearest-item:hover {
    background: #f8fafc;
}
.nav-nearest-item:last-child {
    border-bottom: none;
}
.nav-nearest-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.nav-nearest-info {
    flex: 1;
}
.nav-nearest-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}
.nav-nearest-dist {
    font-size: 0.75rem;
    color: #64748b;
}

.nav-steps-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background: white;
    z-index: 2000;
    box-shadow: -10px 0 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-steps-panel.active {
    transform: translateX(0);
}
.nav-steps-header {
    padding: 20px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-steps-header h3 {
    margin: 0;
    font-size: 1.2rem;
}
.nav-steps-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}
.nav-steps-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}
.nav-step-item {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 15px;
    align-items: center;
}
.nav-step-icon {
    font-size: 1.5rem;
    color: var(--primary);
    width: 30px;
    text-align: center;
}
.nav-step-info {
    flex: 1;
}
.nav-step-text {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 4px;
}
.nav-step-dist {
    font-size: 0.8rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .nav-top-right {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    .nav-bottom-right {
        bottom: 90px;
        right: 10px;
        left: 10px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    .nav-stats-box {
        flex: 1;
        padding: 10px 15px;
        gap: 10px;
    }
    .nav-stats-time { font-size: 1.2rem; }
    .nav-stats-dist { font-size: 0.9rem; }
    .nav-left-panel {
        display: none !important;
    }
    .nav-steps-panel {
        width: 100%;
    }
}