/* Dialog */
#overlay {
    display: none;
}

#overlay.open {
    display: block;
}

#dialog {
    display: none;
}

#dialog.open {
    display: block;
}

/* Radioknappar */
.radio-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

/* Knappar */
button:disabled {
    opacity: 0.6;
    cursor: default;
}

/* Vägbeskrivning */
.instruction {
    display: flex;
    gap: 10px;
    padding: 10px 5px;
    border-bottom: 1px solid #eee;
    /*cursor: pointer;*/
}

.instruction:hover {
    background: #f5f8fb;
}

.instruction-number {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1683ff;
    color: white;
    font-size: .75rem;
    font-weight: bold;
}

.instruction-text {
    flex: 1;
    line-height: 1.35;
}

.instruction-distance {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: .75rem;
    }

/* Start/mål-markörer */
.route-marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.route-marker.start {
    background: #20a84b;
}

.route-marker.end {
    background: #e53935;
}
.maplibregl-ctrl-attrib-inner, .maplibregl-ctrl-attrib-inner a {
    color: #000;
}

/* Platsmarkörer */
.maplibregl-marker {
    cursor: pointer;
}
