﻿html,
body {
    height: 100%;
    margin: 0;
}

#layout {
    display: flex;
    height: 100vh;
}

#mainContent {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#searchContainer {
    padding: 10px;
    display: flex;
    gap: 10px;
    background: white;
    border-bottom: 1px solid #ccc;
}

#map {
    flex: 1;
}

#routePlannerPanel {
    width: 300px;
    background: white;
    border-left: 1px solid #ccc;
    overflow-y: auto;
}


#navPreview {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 12px;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    overflow: hidden;
    font-size: 12px;
}

#navCanvas {
    width: 100%;
    height: 140px;
}

#navText {
    padding: 4px;
    text-align: center;
    font-weight: bold;
}

.custom-number-pin {
    position: relative;
    width: var(--pin-size);
    height: var(--pin-size);
    background: var(--pin-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-number-pin__inner {
    width: calc(var(--pin-size) * 0.52);
    height: calc(var(--pin-size) * 0.52);
    background: white;
    border-radius: 50%;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pin-color);
    font-size: calc(var(--pin-size) * 0.28);
    font-weight: 700;
    font-family: Arial, sans-serif;
    line-height: 1;
}