/* ========================================
   GRUNDLAYOUT
   ======================================== */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    font-family: var(--scapor-font);
    -webkit-font-smoothing: antialiased;
}


/* ========================================
   SPOT-LADESCREEN
   ======================================== */

.spots-loading-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    border: 0;
    background: #102A43;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 420ms ease,
        visibility 0s linear 420ms;
}

.spots-loading-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .spots-loading-screen {
        transition-duration: 120ms;
    }
}


/* ========================================
   KARTE
   ======================================== */

#map {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


/* ========================================
   TOPBAR
   ======================================== */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #102A43;
    display: flex;
    align-items: center;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
    z-index: 1000;
    border-radius:
        0 0 18px 18px;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.18);
    padding-top: env(safe-area-inset-top);
}


/* ========================================
   LOGO
   ======================================== */

.logo {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1;
    user-select: none;
}

.logo span {
    color: #7dd3fc;
}

.logo .logo-version {
    display: inline-block;
    margin-left: 6px;
    color: #7895A6;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    vertical-align: baseline;
    white-space: nowrap;
}
