/* Modern login and public error-page layer. */
html,
body.login-page {
    min-height: 100%;
    overflow: auto;
}

body.login-page {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #172033;
    background:
        radial-gradient(circle at 12% 88%, rgba(37, 99, 235, 0.24), transparent 36%),
        radial-gradient(circle at 88% 12%, rgba(14, 165, 233, 0.18), transparent 34%),
        linear-gradient(145deg, #0f172a 0%, #172554 52%, #0f172a 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.login-page .login {
    position: static;
    width: min(100%, 420px);
    height: auto;
    margin: 0;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.42);
}

.login-page .logo {
    margin: 0 0 14px;
}

.login-page .zr-login-mark {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: #2563eb;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
    font-size: 24px;
    font-weight: 750;
}

.login-page .login h1 {
    margin: 0;
    color: #172033;
    text-shadow: none;
    letter-spacing: -0.03em;
    font-size: 30px;
    font-weight: 700;
}

.login-page .zr-login-subtitle {
    margin: 8px 0 24px;
    color: #64748b;
    text-align: center;
    font-size: 14px;
}

.login-page .form-group {
    margin-bottom: 14px;
}

.login-page input[type="text"],
.login-page input[type="password"] {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    outline: 0;
    color: #172033;
    background: #fff;
    box-shadow: none;
    text-shadow: none;
    font-size: 15px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-page input[type="text"]:focus,
.login-page input[type="password"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.login-page input::placeholder {
    color: #94a3b8;
}

.login-page .btn-primary {
    min-height: 46px;
    padding: 11px 16px;
    border: 1px solid #2563eb;
    border-radius: 10px;
    color: #fff;
    background: #2563eb;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
    font-size: 15px;
    font-weight: 650;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.login-page .btn-primary:hover,
.login-page .btn-primary:focus {
    border-color: #1d4ed8;
    color: #fff;
    background: #1d4ed8;
    transform: translateY(-1px);
}

.login-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.login-page .error-page h1 {
    margin: 0;
    color: #172033;
    text-shadow: none;
    font-size: 30px;
    line-height: 1.35;
}

@media (max-width: 480px) {
    body.login-page {
        padding: 14px;
    }

    .login-page .login {
        padding: 26px 20px;
        border-radius: 14px;
    }
}
