:root {
    --bg: #2A2A2D;
    --header: #1F1F22;
    --surface: #343438;
    --surface-2: #414146;
    --raised: #38383D;
    --text: #F2F2F4;
    --muted: #B4B4BC;
    --accent: #089FAD;
    --accent-text: #5EC1CA;
    --on-accent: #0E1416;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    --error: #FF8A80;
}

    :root .light {
        --bg: #FFFFFF;
        --header: #FFFFFF;
        --surface: #F4F4F6;
        --surface-2: #E8E8EC;
        --raised: #FFFFFF;
        --text: #1E1E22;
        --muted: #5C5C66;
        --accent-text: #066F79;
        --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        --error: #C62828;
    }

html, body {
    font-family: 'Source Sans 3', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.app {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
}

.content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 22px 24px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 64px;
    padding: 0 24px;
    background: var(--header);
    box-shadow: var(--shadow);
}

.brand {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text);
    text-decoration: none;
}

.menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

    .menu a {
        padding: 0 16px;
        line-height: 61px;
        font-weight: 600;
        color: var(--text);
        text-decoration: none;
        border-bottom: 3px solid transparent;
    }

        .menu a:hover {
            color: var(--accent-text);
        }

        .menu a.active {
            color: var(--accent-text);
            border-bottom-color: var(--accent);
        }

.btn-plain {
    padding: 6px 12px;
    border: 0;
    background: var(--surface-2);
    color: var(--text);
    font-weight: 600;
}

.home {
    display: flex;
    gap: 20px;
}

.map-box {
    flex: 2;
    position: relative;
    z-index: 0;
}

.map {
    height: 600px;
    background: #ffffff;
}

.floors {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    background: var(--raised);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.floors-title {
    padding: 2px 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    color: var(--muted);
}

.floors button {
    min-width: 66px;
    min-height: 32px;
    padding: 0 8px;
    border: 0;
    background: var(--surface-2);
    color: var(--text);
    font-weight: 600;
    text-align: left;
}

    .floors button.active {
        background: var(--accent);
        color: var(--on-accent);
    }

.streets {
    transition: opacity 0.4s;
}

.side {
    flex: 1;
}

.list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 600px;
    overflow-y: auto;
}

    .list li {
        background: var(--surface);
    }

    .list button {
        display: block;
        width: 100%;
        min-height: 56px;
        padding: 10px 16px;
        border: 0;
        background: transparent;
        color: var(--text);
        font: inherit;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
    }

        .list button:hover {
            background: var(--surface-2);
        }

        .list button.selected {
            background: color-mix(in srgb, var(--accent) 22%, transparent);
            color: var(--accent-text);
        }

.list-empty {
    padding: 20px 16px;
    color: var(--muted);
    text-align: center;
}

.list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 600px;
    overflow-y: auto;
}

    .list li {
        background: var(--surface);
    }

    .list button {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 64px;
        padding: 10px 16px;
        border: 0;
        background: transparent;
        color: var(--text);
        font: inherit;
        text-align: left;
        cursor: pointer;
    }

        .list button:hover {
            background: var(--surface-2);
        }

        .list button.selected {
            background: color-mix(in srgb, var(--accent) 22%, transparent);
        }

            .list button.selected .obstacle-name {
                color: var(--accent-text);
            }

.list-empty {
    padding: 20px 16px;
    color: var(--muted);
    text-align: center;
}

.sev {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.sev-1 {
    background: #5FB865;
    color: #1E1E22;
}

.sev-2 {
    background: #E07018;
    color: #1E1E22;
}

.sev-3 {
    background: #C62828;
    color: #FFFFFF;
}

.obstacle-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.obstacle-name {
    font-weight: 700;
}

.obstacle-place,
.obstacle-time {
    font-size: 13px;
    color: var(--muted);
}

.obstacle-time {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
}

.pin {
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    border: 2px solid #FFFFFF;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pin span {
        transform: rotate(45deg);
        font-size: 14px;
        font-weight: 700;
    }

.legend {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--raised);
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 13px;
}

.legend-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend .sev {
    width: 20px;
    height: 20px;
    font-size: 12px;
}

.map.leaflet-container {
    font-family: inherit;
}

.map .leaflet-popup-content-wrapper,
.map .leaflet-popup-tip {
    background: var(--raised);
    color: var(--text);
    box-shadow: var(--shadow);
}

.map .leaflet-popup-content-wrapper {
    border-radius: 12px;
}

.map .leaflet-popup-content {
    margin: 14px 36px 14px 16px;
    font-size: 14px;
    line-height: 1.4;
}

.map a.leaflet-popup-close-button {
    top: 8px;
    right: 8px;
    color: var(--muted);
}

    .map a.leaflet-popup-close-button:hover {
        color: var(--text);
    }

.popup {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 170px;
}

.popup-title {
    font-size: 16px;
    font-weight: 700;
}

.popup-sev {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.popup .sev {
    width: 22px;
    height: 22px;
    font-size: 12px;
}

.popup-meta {
    font-size: 13px;
    color: var(--muted);
}

.details-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.details-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.details {
    width: 100%;
    max-width: 760px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--raised);
    color: var(--text);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.details-head {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 20px 18px 24px;
    background: var(--raised-head);
}

.details-title {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

    .details-title h2 {
        margin: 0;
        font-size: 26px;
        font-weight: 700;
        line-height: 1.1;
    }

.details-head .sev {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    border: 2px solid #FFFFFF;
    font-size: 19px;
}

.details-sub {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--muted);
}

.details-close {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: var(--surface-2);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

    .details-close:hover {
        color: var(--accent-text);
    }

.details-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 22px 24px 28px;
}

    .details-body h3 {
        margin: 0 0 8px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .details-body dl {
        margin: 0;
    }

    .details-body dt {
        font-size: 14px;
        font-weight: 400;
        color: var(--muted);
    }

    .details-body dd {
        margin: 0;
        font-size: 15px;
        overflow-wrap: anywhere;
    }

.details-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 24px;
}

.details-list > div {
    display: grid;
    grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
    gap: 12px;
    padding: 6px 0;
}

.details-list dd {
    font-weight: 600;
}

.details-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--muted);
}

    .details-section-head h3 {
        margin: 0;
    }

.details-sensors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    column-gap: 24px;
}

    .details-sensors > div {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding: 6px 0;
    }

    .details-sensors dd {
        font-weight: 700;
        text-align: right;
    }

.details .mono {
    font-family: ui-monospace, Consolas, Menlo, monospace;
}

.id_title {
    font-family: ui-monospace, Consolas, Menlo, monospace;
    font-size: 15px;
    color: var(--text);
}

.popup-button {
    margin-top: 4px;
    min-height: 34px;
    border: 0;
    background: var(--accent);
    color: var(--on-accent);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.details-photo {
    display: block;
    max-width: 100%;
    max-height: 420px;
    margin: 0 auto;
}

.details-nophoto {
    max-width: 440px;
    margin: 0 auto;
    padding: 28px 16px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}
.side {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent {
    background: var(--surface);
}

.recent-title {
    margin: 0;
    padding: 12px 16px 6px;
    font-size: 18px;
    font-weight: 700;
}

.recent-list {
    list-style: none;
    margin: 0;
    padding: 0 0 6px;
}

    .recent-list button {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 8px 16px;
        border: 0;
        background: transparent;
        color: var(--text);
        font: inherit;
        text-align: left;
        cursor: pointer;
    }

        .recent-list button:hover {
            background: var(--surface-2);
        }

        .recent-list button.selected {
            background: color-mix(in srgb, var(--accent) 22%, transparent);
        }

.recent-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    color: #5FB865;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.recent-empty {
    margin: 0;
    padding: 8px 16px 14px;
    font-size: 14px;
    color: var(--muted);
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.landing {
    max-width: 1300px;
    margin: 0 auto;
}

.landing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--surface-2);
}

    .landing-head h1 {
        margin: 0;
        font-size: 44px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-align: center;
    }

.landing-image {
    flex: 0 0 auto;
    width: 320px;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    color: var(--muted);
    object-fit: cover;
}

.landing-body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding-top: 32px;
}

.landing-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
}

    .landing-text h2 {
        margin: 0 0 12px;
        font-size: 26px;
        font-weight: 700;
    }

.landing-login {
    flex: 0 0 auto;
    padding: 14px 40px;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

    .landing-login:hover {
        color: var(--on-accent);
        filter: brightness(1.1);
    }

.auth {
    display: flex;
    justify-content: center;
    padding-top: 48px;
}

.auth-box {
    width: 100%;
    max-width: 550px;
    padding: 32px;
    background: var(--raised);
    box-shadow: var(--shadow);
}

    .auth-box h1 {
        margin: 0 0 24px;
        font-size: 28px;
        font-weight: 700;
        text-align: center;
    }

.auth-form {
    display: flex;
    flex-direction: column;
}

    .auth-form label {
        margin-bottom: 6px;
        font-weight: 600;
    }

    .auth-form input {
        margin-bottom: 18px;
        padding: 10px 12px;
        border: 1px solid var(--surface-2);
        background: var(--bg);
        color: var(--text);
        font: inherit;
    }

        .auth-form input:focus {
            outline: 2px solid var(--accent);
        }

        .auth-form input::placeholder {
            color: var(--muted);
        }

.auth-submit {
    margin-top: 6px;
    min-height: 44px;
    border: 0;
    background: var(--accent);
    color: var(--on-accent);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    .auth-submit:hover {
        filter: brightness(1.1);
    }

.auth-switch {
    margin: 20px 0 0;
    text-align: center;
    color: var(--muted);
}

    .auth-switch a {
        color: var(--accent-text);
        font-weight: 600;
    }

.auth-choice {
    display: block;
    width: 100%;
    margin-bottom: 14px;
    padding: 16px 18px;
    border: 2px solid var(--surface-2);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

    .auth-choice:hover,
    .auth-choice:focus-visible {
        border-color: var(--accent);
        outline: none;
    }

.auth-choice-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.auth-choice-text {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.auth-row {
    display: flex;
    gap: 16px;
}

    .auth-row .auth-field {
        flex: 1;
        min-width: 0;
    }

.auth-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

    .auth-field input {
        margin-bottom: 0;
    }

        .auth-field input.invalid {
            border-color: var(--error);
        }

.validation-message {
    margin-top: 4px;
    font-size: 14px;
    color: var(--error);
}

.auth-buttons {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

    .auth-buttons .auth-submit {
        flex: 1;
        margin-top: 0;
    }

.auth-back {
    min-height: 44px;
    padding: 0 24px;
    border: 0;
    background: var(--surface-2);
    color: var(--text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    .auth-back:hover {
        filter: brightness(1.1);
    }

.auth-key {
    margin-bottom: 14px;
    padding: 16px 18px;
    border: 2px solid var(--accent);
    background: var(--bg);
}

.auth-key-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.auth-key-value {
    display: block;
    margin-bottom: 12px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 15px;
    color: var(--text);
    overflow-wrap: anywhere;
    user-select: all;
}

.auth-key-copy {
    min-height: 36px;
    padding: 0 16px;
    border: 0;
    background: var(--surface-2);
    color: var(--text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    .auth-key-copy:hover {
        filter: brightness(1.1);
    }

.auth-warning {
    margin: 0 0 20px;
    padding-left: 12px;
    border-left: 4px solid var(--error);
    color: var(--text);
}

.auth-text {
    margin: 0 0 20px;
    text-align: center;
    color: var(--muted);
}

a.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    a.auth-submit:hover {
        color: var(--on-accent);
    }

.auth-error {
    margin: 0 0 18px;
    padding: 10px 12px;
    border-left: 4px solid var(--error);
    background: var(--bg);
    color: var(--error);
}

.dialog {
    width: 100%;
    max-width: 380px;
    padding: 24px;
    background: var(--raised);
    color: var(--text);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.dialog-text {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.dialog .auth-buttons button {
    flex: 1 1 0;
}

.auth-box {
    overflow: hidden;
}

.auth-step {
    animation: slide-from-right 0.25s ease-out;
}

.auth-step-back {
    animation-name: slide-from-left;
}

@keyframes slide-from-right {
    from {
        transform: translateX(60px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-from-left {
    from {
        transform: translateX(-60px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.auth-progress {
    margin: 0 0 8px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    .auth-step {
        animation: none;
    }
}

@media (max-width: 520px) {
    .auth-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 1100px) {
    .landing-head,
    .landing-body {
        flex-direction: column;
        align-items: stretch;
    }

        .landing-head h1 {
            font-size: 30px;
        }

    .landing-image {
        width: 100%;
        height: 180px;
    }

    .landing-login {
        text-align: center;
    }
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-user {
    font-weight: 600;
    color: var(--muted);
}