.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #eef5f3, #f5f7fb);
    color: #203648;
    font-family: "Segoe UI", Arial, sans-serif;
}

.auth-page :focus-visible {
    outline: 3px solid #075d45;
    outline-offset: 3px;
}

.auth-skip-link {
    position: fixed;
    z-index: 10001;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    transform: translateY(-160%);
    border-radius: 7px;
    background: #123c32;
    color: #fff;
    font-weight: 700;
}

.auth-skip-link:focus {
    transform: translateY(0);
    outline: 3px solid #f0bd42;
    outline-offset: 2px;
}


.auth-page .form-label {
    color: #294354;
    font-weight: 600;
}

.auth-page .form-control {
    min-height: 44px;
    border-color: #dce7e5;
    border-radius: 9px;
}

.auth-page .form-control:focus {
    border-color: #53a98e;
    box-shadow: 0 0 0 .2rem rgba(8, 127, 99, .15);
}

.password-field .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.password-toggle {
    display: grid;
    width: 48px;
    place-items: center;
    border-color: #dce7e5;
    color: #52677a;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    border-color: #53a98e;
    background: #f1f8f5;
    color: #087f63;
}

.password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.auth-page .btn-primary {
    min-height: 44px;
    border-color: #087f63;
    background: #087f63;
    font-weight: 600;
}

.auth-page .btn-primary:hover,
.auth-page .btn-primary:focus-visible {
    border-color: #066b54;
    background: #066b54;
}

.login-page {
    display: flex;
    align-items: center;
}

.login-page .login-panel,
.installer-page .installer-card {
    border: 1px solid #dce7e5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 50px rgba(18, 60, 82, .08);
}

.login-page .login-panel {
    width: 100%;
    max-width: 460px;
    margin: 24px auto;
}

.installer-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.installer-page .auth-container {
    width: min(100%, 680px);
    margin: 0;
}

.installer-page .installer-card {
    padding: clamp(20px, 5vw, 36px) !important;
}

.installer-page h1,
.installer-page h2 {
    color: #123c52;
    font-weight: 700;
    letter-spacing: -.035em;
}

.installer-page .btn {
    margin-top: 20px !important;
}

.auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(ellipse at 12% 12%, rgba(8, 127, 99, .12), transparent 32rem),
        linear-gradient(135deg, #eff6f4, #f4f7fa);
}

.login-page .login-panel,
.installer-page .installer-card {
    border-color: #d7e5e1;
    border-radius: 20px;
    box-shadow: 0 18px 55px rgba(18, 60, 82, .11);
}

.auth-page .form-control {
    border-color: #cbdad7;
    border-radius: 9px;
}

.auth-page .form-control:focus {
    border-color: #42977f;
    box-shadow: 0 0 0 .22rem rgba(8, 127, 99, .14);
}

.auth-page .btn-primary {
    border-color: #087f63;
    background: linear-gradient(135deg, #098668, #08765f);
    box-shadow: 0 4px 10px rgba(8, 127, 99, .15);
}

.auth-page .btn-primary:hover,
.auth-page .btn-primary:focus-visible {
    border-color: #066b54;
    background: #066b54;
}

.login-page main {
    width: 100%;
}

.login-page .brand {
    margin: 0 0 8px;
    color: #123c52;
    font-size: 1.7rem;
    font-weight: 750;
    letter-spacing: -.04em;
}

.auth-page .password-field .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

@media (max-width: 480px) {
    .installer-page {
        align-items: flex-start;
        padding: 16px 12px;
    }

    .installer-page .auth-container {
        padding: 0;
    }

    .login-page .login-panel {
        margin: 12px auto;
        padding: 24px !important;
    }
}
