﻿/* =====================================================================
   SV EVIDENCIJA PRISUSTVA — FRONT LOGIN PRO V19
   Scope: Front Login, logout/status state and forgot-password modal only.
   Visual language aligned with the existing Front Index/Profile screens.
   ===================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --sv-red: #ed1c24;
    --sv-red-dark: #b70e16;
    --sv-ink: #101828;
    --sv-muted: #667085;
    --sv-soft: #f4f7fb;
    --sv-card: #ffffff;
    --sv-border: #e4e7ec;
    --sv-input: #ffffff;
    --sv-input-border: #d8dee9;
    --sv-success: #087a48;
    --sv-success-soft: #ecfdf3;
    --sv-danger: #d71920;
    --sv-danger-soft: #fff1f2;
    --sv-shadow: 0 24px 70px rgba(16, 24, 40, .10);
    --sv-control-shadow: 0 12px 28px rgba(16, 24, 40, .08);
    --sv-safe-top: max(12px, env(safe-area-inset-top));
    --sv-safe-bottom: max(12px, env(safe-area-inset-bottom));
}

html[data-sv-theme="dark"] {
    color-scheme: dark;
    --sv-ink: #ffffff;
    --sv-muted: #aab6ca;
    --sv-soft: #0b111b;
    --sv-card: #111827;
    --sv-border: #303a4b;
    --sv-input: #101827;
    --sv-input-border: #334155;
    --sv-success: #43d58b;
    --sv-success-soft: rgba(8, 122, 72, .16);
    --sv-danger: #ff626a;
    --sv-danger-soft: rgba(237, 28, 36, .15);
    --sv-shadow: 0 24px 70px rgba(0, 0, 0, .36);
    --sv-control-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f4f7fb;
    color: var(--sv-ink);
}

body {
    min-height: 100dvh;
    overflow-x: hidden;
}

html[data-sv-theme="dark"] body {
    background:
        radial-gradient(circle at 88% 4%, rgba(237, 28, 36, .17), transparent 34%),
        linear-gradient(180deg, #070b12 0%, #101722 100%);
}

button,
input {
    font: inherit;
}

/* ---------------------------------------------------------------------
   Splash
   --------------------------------------------------------------------- */

.login-splash {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 75% 12%, rgba(237, 28, 36, .16), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity .24s ease, visibility .24s ease;
}

html[data-sv-theme="dark"] .login-splash {
    background:
        radial-gradient(circle at 75% 12%, rgba(237, 28, 36, .22), transparent 34%),
        linear-gradient(180deg, #070b12 0%, #101722 100%);
}

.login-splash.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-splash-card {
    width: min(100%, 320px);
    text-align: center;
}

.login-splash-card img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    padding: 10px;
    border-radius: 28px;
    background: var(--sv-card);
    border: 1px solid rgba(237, 28, 36, .18);
    box-shadow: var(--sv-shadow);
}

.login-splash-card h1 {
    margin: 22px 0 0;
    color: var(--sv-ink);
    font-size: 32px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.login-splash-card p {
    margin: 10px 0 0;
    color: var(--sv-muted);
    font-size: 14px;
    font-weight: 800;
}

.login-splash-progress {
    height: 5px;
    margin-top: 26px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(148, 163, 184, .22);
}

.login-splash-progress span {
    display: block;
    width: 46%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--sv-red), #ff5a62);
    animation: svLoginSplash 1s ease-in-out infinite alternate;
}

@keyframes svLoginSplash {
    from { transform: translateX(-25%); }
    to { transform: translateX(150%); }
}

/* ---------------------------------------------------------------------
   App shell — same physical model as the existing Front screens.
   --------------------------------------------------------------------- */

.login-shell {
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    background:
        radial-gradient(circle at 88% 4%, rgba(237, 28, 36, .06), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

html[data-sv-theme="dark"] .login-shell {
    background:
        radial-gradient(circle at 88% 4%, rgba(237, 28, 36, .18), transparent 34%),
        linear-gradient(180deg, #070b12 0%, #101722 100%);
}

.login-frame {
    position: relative;
    width: 100%;
    max-width: 430px;
    min-height: 100dvh;
    padding: calc(var(--sv-safe-top) + 14px) 24px var(--sv-safe-bottom);
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 90% 3%, rgba(237, 28, 36, .07), transparent 31%),
        #ffffff;
}

html[data-sv-theme="dark"] .login-frame {
    background:
        radial-gradient(circle at 90% 3%, rgba(237, 28, 36, .15), transparent 31%),
        linear-gradient(180deg, #0b111b 0%, #111827 100%);
}

/* ---------------------------------------------------------------------
   Header: language left, brand center, theme right.
   The two buttons intentionally share the same component behavior.
   --------------------------------------------------------------------- */

.login-theme-toggle,
.login-language-toggle {
    position: absolute;
    top: calc(var(--sv-safe-top) + 14px);
    z-index: 80;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 16px;
    border: 1px solid rgba(237, 28, 36, .20);
    background: rgba(255, 255, 255, .96);
    color: var(--sv-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sv-control-shadow);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.login-language-toggle {
    left: 24px;
}

.login-theme-toggle {
    right: 24px;
}

.login-theme-toggle:hover,
.login-theme-toggle:focus-visible,
.login-language-toggle:hover,
.login-language-toggle:focus-visible,
.login-language-toggle.is-open {
    border-color: rgba(237, 28, 36, .46);
    box-shadow:
        0 0 0 3px rgba(237, 28, 36, .08),
        0 14px 30px rgba(237, 28, 36, .13);
    outline: none;
}

html[data-sv-theme="dark"] .login-theme-toggle,
html[data-sv-theme="dark"] .login-language-toggle {
    background: rgba(17, 24, 39, .94);
    border-color: #303a4b;
    color: #ff646c;
}

.login-theme-toggle .theme-moon {
    display: none;
}

html[data-sv-theme="dark"] .login-theme-toggle .theme-sun {
    display: none;
}

html[data-sv-theme="dark"] .login-theme-toggle .theme-moon {
    display: inline;
}

.login-theme-toggle {
    font-size: 23px;
    font-weight: 950;
}

.login-language-current-flag {
    display: block;
    width: 26px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .14);
}

html[data-sv-theme="dark"] .login-language-current-flag {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

.login-language-popup {
    position: absolute;
    top: calc(var(--sv-safe-top) + 68px);
    left: 24px;
    z-index: 120;
    width: 190px;
    padding: 8px;
    display: grid;
    gap: 6px;
    border-radius: 18px;
    border: 1px solid var(--sv-border);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 48px rgba(16, 24, 40, .18);
    transform-origin: top left;
}

html[data-sv-theme="dark"] .login-language-popup {
    background: rgba(17, 24, 39, .98);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .42);
}

.login-language-popup[hidden] {
    display: none !important;
}

.login-language-popup-option {
    min-height: 52px;
    padding: 8px 10px;
    border-radius: 13px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--sv-ink);
    border: 1px solid transparent;
}

.login-language-popup-option:hover,
.login-language-popup-option:focus-visible {
    background: var(--sv-soft);
    outline: none;
}

.login-language-popup-option.is-active {
    background: var(--sv-danger-soft);
    border-color: rgba(237, 28, 36, .18);
}

.login-language-popup-option svg {
    width: 36px;
    height: 24px;
    border-radius: 4px;
}

.login-language-popup-option span,
.login-language-popup-option b,
.login-language-popup-option small {
    display: block;
}

.login-language-popup-option b {
    font-size: 13px;
    line-height: 1.1;
    font-weight: 950;
}

.login-language-popup-option small {
    margin-top: 4px;
    color: var(--sv-muted);
    font-size: 11px;
    line-height: 1.1;
    font-weight: 750;
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */

.login-hero {
    display: grid;
    gap: 24px;
    margin-bottom: 20px;
}

.login-brand-row {
    min-height: 46px;
    display: grid;
    grid-template-columns: 54px minmax(0, auto);
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 58px;
}

.login-brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(237, 28, 36, .18);
    box-shadow: var(--sv-control-shadow);
}

html[data-sv-theme="dark"] .login-brand-logo {
    background: rgba(17, 24, 39, .90);
    border-color: #303a4b;
}

.login-brand-copy {
    min-width: 0;
}

.login-brand-copy b {
    display: block;
    color: var(--sv-ink);
    font-size: 18px;
    line-height: 1.08;
    font-weight: 950;
    white-space: nowrap;
}

.login-brand-copy span {
    display: block;
    margin-top: 5px;
    color: var(--sv-muted);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 800;
    white-space: nowrap;
}

.login-heading {
    text-align: center;
}

.login-heading h1 {
    margin: 0;
    color: var(--sv-ink);
    font-size: clamp(43px, 12vw, 54px);
    line-height: .96;
    font-weight: 950;
    letter-spacing: -.055em;
}

.login-heading p {
    max-width: 338px;
    margin: 14px auto 0;
    color: var(--sv-muted);
    font-size: 14px;
    line-height: 1.38;
    font-weight: 800;
}

/* ---------------------------------------------------------------------
   Status / logout / device messages.
   --------------------------------------------------------------------- */

.login-message {
    min-height: 66px;
    margin: 0 0 16px;
    padding: 12px;
    border-radius: 17px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
}

.login-message.success {
    color: var(--sv-success);
    background: var(--sv-success-soft);
    border-color: rgba(8, 122, 72, .15);
}

.login-message.error {
    color: var(--sv-danger);
    background: var(--sv-danger-soft);
    border-color: rgba(237, 28, 36, .18);
}

.login-message-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .62);
    font-size: 23px;
    line-height: 1;
    font-weight: 950;
}

html[data-sv-theme="dark"] .login-message-icon {
    background: rgba(255, 255, 255, .06);
}

.login-message b,
.login-message span {
    display: block;
}

.login-message b {
    font-size: 14px;
    line-height: 1.1;
    font-weight: 950;
}

.login-message span {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.28;
    font-weight: 800;
}

/* ---------------------------------------------------------------------
   Form
   --------------------------------------------------------------------- */

.login-form {
    display: grid;
    gap: 15px;
}

.login-field {
    display: grid;
    gap: 8px;
}

.login-field label {
    color: var(--sv-ink);
    font-size: 14px;
    line-height: 1;
    font-weight: 950;
}

.login-input-wrap {
    position: relative;
    min-height: 60px;
    border-radius: 18px;
    border: 1px solid var(--sv-input-border);
    background: var(--sv-input);
    box-shadow: 0 10px 24px rgba(16, 24, 40, .04);
    overflow: hidden;
}

.login-input-wrap:focus-within {
    border-color: rgba(237, 28, 36, .48);
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.login-input-wrap input {
    width: 100%;
    height: 60px;
    padding: 0 64px 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--sv-ink);
    font-size: 17px;
    line-height: 1;
    font-weight: 850;
}

.login-input-wrap input::placeholder {
    color: #98a2b3;
    opacity: 1;
}

html[data-sv-theme="dark"] .login-input-wrap input::placeholder {
    color: #7f8ca2;
}

.login-input-icon {
    position: absolute;
    top: 50%;
    right: 19px;
    width: 25px;
    height: 25px;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--sv-red);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 46px;
    height: 46px;
    padding: 0;
    transform: translateY(-50%);
    border-radius: 15px;
    border: 1px solid rgba(237, 28, 36, .14);
    background: var(--sv-danger-soft);
    color: var(--sv-red);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.password-toggle svg {
    position: absolute;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.is-visible .eye-open {
    display: none;
}

.password-toggle.is-visible .eye-closed {
    display: block;
}

.login-primary-button {
    min-height: 60px;
    margin-top: 2px;
    padding: 0 20px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff2b37 0%, #e70917 100%);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(237, 28, 36, .23);
    font-size: 17px;
    line-height: 1;
    font-weight: 950;
    cursor: pointer;
}

.login-primary-button:hover {
    filter: brightness(1.03);
}

.login-primary-button:active {
    transform: translateY(1px);
}

.forgot-password-link {
    width: fit-content;
    margin: 12px auto 0;
    padding: 8px 10px;
    border: 0;
    background: transparent;
    color: var(--sv-red);
    font-size: 14px;
    line-height: 1;
    font-weight: 950;
    cursor: pointer;
}

.login-info-card {
    min-height: 66px;
    margin-top: 13px;
    padding: 12px;
    border-radius: 17px;
    border: 1px solid var(--sv-border);
    background: var(--sv-card);
    box-shadow: 0 10px 24px rgba(16, 24, 40, .05);
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.login-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--sv-danger-soft);
    color: var(--sv-red);
}

.login-info-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-info-card b,
.login-info-card span {
    display: block;
}

.login-info-card b {
    color: var(--sv-ink);
    font-size: 13.5px;
    line-height: 1.18;
    font-weight: 950;
}

.login-info-card span {
    margin-top: 4px;
    color: var(--sv-muted);
    font-size: 11.5px;
    line-height: 1.22;
    font-weight: 800;
}

.login-footer {
    margin-top: auto;
    padding-top: 16px;
    color: var(--sv-muted);
    text-align: center;
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 800;
}

/* Message state remains the same physical screen size. */
.login-frame.has-message .login-hero {
    gap: 18px;
    margin-bottom: 14px;
}

.login-frame.has-message .login-heading h1 {
    font-size: clamp(39px, 10.8vw, 48px);
}

.login-frame.has-message .login-heading p {
    margin-top: 10px;
}

.login-frame.has-message .login-form {
    gap: 12px;
}

.login-frame.has-message .login-info-card {
    margin-top: 10px;
}

/* ---------------------------------------------------------------------
   Forgot password modal — aligned with Profile modal/card language.
   --------------------------------------------------------------------- */

.forgot-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 24000;
    display: none;
    align-items: center;
    justify-content: center;
    padding:
        max(16px, env(safe-area-inset-top))
        16px
        max(16px, env(safe-area-inset-bottom));
    background: rgba(2, 6, 23, .60);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    overflow-y: auto;
}

.forgot-modal-overlay.show {
    display: flex;
}

.forgot-modal-card {
    position: relative;
    width: min(100%, 390px);
    max-height: min(720px, calc(100svh - 32px));
    padding: 24px;
    border-radius: 26px;
    border: 1px solid var(--sv-border);
    background: var(--sv-card);
    color: var(--sv-ink);
    box-shadow: 0 28px 80px rgba(2, 6, 23, .30);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.forgot-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid var(--sv-border);
    background: var(--sv-card);
    color: var(--sv-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.forgot-modal-close svg,
.forgot-modal-icon svg,
.forgot-input-wrap svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.forgot-modal-close svg {
    width: 22px;
    height: 22px;
}

.forgot-modal-icon {
    width: 64px;
    height: 64px;
    margin: 2px auto 16px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--sv-danger-soft);
    color: var(--sv-red);
}

.forgot-modal-icon svg {
    width: 31px;
    height: 31px;
}

.forgot-modal-copy {
    text-align: center;
}

.forgot-modal-copy h2 {
    margin: 0;
    color: var(--sv-ink);
    font-size: 28px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.forgot-modal-copy p {
    margin: 12px 0 0;
    color: var(--sv-muted);
    font-size: 13px;
    line-height: 1.38;
    font-weight: 750;
}

.forgot-field {
    margin-top: 22px;
}

.forgot-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--sv-ink);
    font-size: 13px;
    font-weight: 950;
}

.forgot-input-wrap {
    position: relative;
    min-height: 58px;
    border-radius: 17px;
    border: 1px solid var(--sv-input-border);
    background: var(--sv-input);
    overflow: hidden;
}

.forgot-input-wrap:focus-within {
    border-color: rgba(237, 28, 36, .48);
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.forgot-input-wrap input {
    width: 100%;
    height: 58px;
    padding: 0 58px 0 17px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--sv-ink);
    font-size: 16px;
    font-weight: 850;
}

.forgot-input-wrap svg {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 23px;
    height: 23px;
    transform: translateY(-50%);
    color: var(--sv-red);
}

.forgot-error {
    margin-top: 9px;
    color: var(--sv-danger);
    font-size: 12px;
    font-weight: 850;
}

.forgot-success {
    margin-top: 20px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(8, 122, 72, .16);
    background: var(--sv-success-soft);
    color: var(--sv-success);
}

.forgot-success b,
.forgot-success span {
    display: block;
}

.forgot-success b {
    font-size: 14px;
    font-weight: 950;
}

.forgot-success span {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.32;
    font-weight: 750;
}

.forgot-actions {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.forgot-secondary,
.forgot-primary {
    min-height: 50px;
    padding: 0 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.forgot-secondary {
    border: 1px solid var(--sv-border);
    background: var(--sv-card);
    color: var(--sv-ink);
}

.forgot-primary {
    border: 0;
    background: linear-gradient(135deg, #ff2b37 0%, #e70917 100%);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(237, 28, 36, .20);
}

.forgot-modal-overlay.keyboard-open {
    align-items: flex-start;
}

.forgot-modal-overlay.keyboard-open .forgot-modal-card {
    max-height: calc(var(--forgot-viewport-height, 100svh) - 18px);
    margin-top: 4px;
}

/* ---------------------------------------------------------------------
   Responsive behavior
   --------------------------------------------------------------------- */

@media (max-width: 359px) {
    .login-frame {
        padding-left: 16px;
        padding-right: 16px;
    }

    .login-language-toggle {
        left: 16px;
    }

    .login-theme-toggle {
        right: 16px;
    }

    .login-language-popup {
        left: 16px;
        width: 178px;
    }

    .login-brand-row {
        grid-template-columns: 46px minmax(0, auto);
        gap: 8px;
        padding: 0 45px;
    }

    .login-brand-logo {
        width: 46px;
        height: 46px;
        border-radius: 15px;
    }

    .login-brand-copy b {
        font-size: 15px;
    }

    .login-brand-copy span {
        font-size: 10.5px;
    }

    .login-heading h1 {
        font-size: 40px;
    }

    .forgot-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 760px) {
    .login-frame {
        padding-top: calc(var(--sv-safe-top) + 10px);
    }

    .login-theme-toggle,
    .login-language-toggle {
        top: calc(var(--sv-safe-top) + 10px);
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .login-language-popup {
        top: calc(var(--sv-safe-top) + 60px);
    }

    .login-hero {
        gap: 16px;
        margin-bottom: 13px;
    }

    .login-brand-logo {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .login-heading h1 {
        font-size: 40px;
    }

    .login-heading p {
        margin-top: 9px;
        font-size: 12.5px;
    }

    .login-message {
        min-height: 58px;
        margin-bottom: 11px;
        padding: 9px 10px;
    }

    .login-message-icon {
        width: 38px;
        height: 38px;
    }

    .login-form {
        gap: 10px;
    }

    .login-field {
        gap: 6px;
    }

    .login-input-wrap,
    .login-input-wrap input {
        min-height: 54px;
        height: 54px;
    }

    .password-toggle {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .login-primary-button {
        min-height: 54px;
    }

    .forgot-password-link {
        margin-top: 7px;
        padding-block: 6px;
    }

    .login-info-card {
        min-height: 58px;
        margin-top: 8px;
        padding: 9px 10px;
    }

    .login-info-icon {
        width: 38px;
        height: 38px;
    }

    .login-footer {
        padding-top: 10px;
    }
}

@media (min-width: 600px) {
    .login-shell {
        padding: 24px;
        align-items: center;
    }

    .login-frame {
        min-height: min(820px, calc(100dvh - 48px));
        border-radius: 30px;
        border: 1px solid var(--sv-border);
        box-shadow: var(--sv-shadow);
    }
}

@media print {
    .login-language-toggle,
    .login-language-popup,
    .login-theme-toggle,
    .login-splash {
        display: none !important;
    }
}
