body {
    background: #f3f6fb;
    color: #233044;
}

.navbar-nav .nav-link.active {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .35rem;
}

.auth-page {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #e1edff, #f3f6fb 55%);
}

.auth-card {
    width: 100%;
    max-width: 470px;
    border-radius: 1rem;
}

.registration-card {
    width: 100%;
    max-width: 760px;
    border-radius: 1rem;
}

.login-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #0d6efd;
    color: white;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 .5rem 1rem rgba(13, 110, 253, .25);
}

.dashboard-section {
    border: 0;
    border-radius: .85rem;
}

.floorplan {
    position: relative;
    width: 100%;
    background: #e9ecef;
    border: 1px solid #d5dce5;
    border-radius: .5rem;
    overflow: hidden;
}

.floorplan-image {
    display: block;
    width: 100%;
    height: auto;
}

.map-marker {
    position: absolute;
    z-index: 3;
    width: 28px;
    height: 28px;
    cursor: move;
    touch-action: none;
}

.asset-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    min-width: 28px;
    height: auto;
}

.asset-marker > img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.8));
}

.asset-marker .badge {
    font-size: .65rem;
    line-height: 1;
    padding: .2rem .28rem;
    white-space: nowrap;
}

.employee-marker {
    width: 36px;
    height: 36px;
    cursor: move;
}

.employee-photo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
}

.employee-name-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    max-width: 120px;
    padding: .2rem .4rem;
    border-radius: .35rem;
    background: #fff;
    color: #233044;
    font-size: .7rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.employee-photo-wrap {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
}

.employee-state-icon {
    position: absolute;
    bottom: -4px;
    left: -10px;
    width: 22px;
    height: 22px;
    z-index: 5;
    filter: drop-shadow(0 0 2px white) drop-shadow(0 1px 2px rgba(0,0,0,.75));
}

.map-legend {
    font-size: .85rem;
}

.coordinate-table input {
    max-width: 100px;
}

@media (max-width: 575.98px) {
    .map-marker.employee-marker {
        width: 30px;
        height: 30px;
    }

    .employee-photo, .employee-photo-wrap {
        width: 30px;
        height: 30px;
    }

    .employee-name-badge {
        max-width: 90px;
        min-height: 26px;
        font-size: .65rem;
    }
}
