/* Navigation Panel - turn-by-turn navigation styles */

/* Navigation Mode */
.navigation-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    z-index: 1100;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navigation-panel.active {
    transform: translateY(0);
}

.nav-header {
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-header h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.15;
}

.stop-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.stop-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-content {
    padding: 0.85rem 0.9rem;
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

.nav-arrow {
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.nav-arrow svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.nav-instruction {
    flex: 1;
}

.nav-distance-big {
    font-size: clamp(1.5rem, 5vw, 1.95rem);
    font-weight: 700;
    margin-bottom: 0.1rem;
    font-family: 'Crimson Pro', serif;
    line-height: 1;
}

.nav-instruction-text {
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.2;
}

.nav-details {
    display: flex;
    gap: 1rem;
    padding: 0.65rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.nav-detail-item {
    flex: 1;
    text-align: center;
}

.nav-detail-label {
    font-size: 0.72rem;
    opacity: 0.8;
    margin-bottom: 0.12rem;
    line-height: 1.1;
}

.nav-detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
}

/* Compass in navigation */
.nav-compass {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
