.auth-page {
    margin: 0;
    background: #fff;
    color: #002856;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.auth-page * {
    box-sizing: border-box;
}

.auth-layout {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
}

.auth-panel {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
}

.auth-layout--login .auth-panel {
    flex: 0 0 50%;
    border-right: 2px solid #e9ecf1;
}

.auth-logo {
    position: absolute;
    top: 20px;
    left: 23px;
    width: 158px;
    height: 40px;
}

.auth-logo img {
    display: block;
    width: 100%;
    height: 100%;
}

.auth-card {
    width: 320px;
    max-width: 100%;
    margin-bottom: 120px;
}

.auth-card h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
}

.auth-card label {
    display: block;
    margin-top: 10px;
}

.auth-card input,
.auth-card button {
    display: block;
    width: 100%;
    height: 30px;
    padding: 0 15px;
    border: 0;
    border-radius: 10px;
    font: inherit;
}

.auth-card input {
    background: #e2eff8;
    color: #002856;
    font-size: 17px;
}

.auth-card input::placeholder {
    color: #6a8095;
    opacity: 1;
}

.auth-card button {
    margin-top: 15px;
    background: #002856;
    color: #fff;
    cursor: pointer;
}

.auth-card button:hover {
    background: #14366e;
}

.auth-page :focus-visible {
    outline: 2px solid #479fdb;
    outline-offset: 3px;
}

.auth-background {
    flex: 1;
    background: url("../img/login-wallpaper.e62701b59d29.jpg") center / cover no-repeat;
}

.auth-background--mfa {
    background-image: none;
    background-color: #F6FAFD;
}

.auth-card p {
    margin: 0 0 16px;
}

.auth-qr {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #e9ecf1;
    border-radius: 10px;
}

.auth-qr img {
    max-width: 100%;
    height: auto;
}

.auth-secret {
    margin-bottom: 24px;
    padding: 12px;
    background: #f6fafd;
    border: 1px solid #e9ecf1;
    border-radius: 10px;
}

.auth-secret summary {
    cursor: pointer;
}

.auth-secret p {
    margin: 8px 0 0;
    overflow-wrap: anywhere;
    font-family: monospace;
}

.auth-message {
    margin: 16px 0;
    padding: 10px 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    background: #f8d7da;
    color: #721c24;
    overflow-wrap: anywhere;
}

.auth-message--success {
    border-color: #c3e6cb;
    background: #d4edda;
    color: #155724;
}

.auth-message--warning {
    border-color: #ffeeba;
    background: #fff3cd;
    color: #856404;
}

.auth-message--info {
    border-color: #bee5eb;
    background: #d1ecf1;
    color: #0c5460;
}

.auth-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 799px) {
    .auth-layout--login .auth-panel {
        flex-basis: 100%;
        border-right: 0;
    }

    .auth-background {
        display: none;
    }
}

@media (max-height: 700px) {
    .auth-card {
        margin-bottom: 0;
    }
}
