
#auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: opacity 0.4s;
}

#auth-overlay.auth-hidden {
    opacity: 0;
    pointer-events: none;
}

html.authlock {
    overflow: hidden;
}

html.authlock .wrapper {
    pointer-events: none;
    user-select: none;
}

.auth-card {
    width: 360px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 32px 28px 28px;
    font-family: "SF Pro Display Regular", -apple-system, sans-serif;
    text-align: center;
}

.auth-card .auth-logo {
    width: 120px;
    height: 60px;
    margin: 0 auto 8px;
    background: url(../images/icons/logo.svg) center no-repeat;
    background-size: contain;
}

.auth-card h2 {
    font-family: "SF Pro Display Bold", -apple-system, sans-serif;
    font-size: 20px;
    margin: 0 0 4px;
}

.auth-card .auth-sub {
    font-size: 14px;
    color: #808080;
    margin: 0 0 20px;
}

.auth-card label {
    display: block;
    text-align: left;
    font-size: 13px;
    color: #808080;
    margin: 0 0 4px 12px;
}

.auth-card input {
    width: 100%;
    height: 44px;
    padding: 10px 16px;
    margin-bottom: 14px;
    border: 1px solid #dedede;
    border-radius: 555px;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.auth-card input:focus {
    border-color: #000;
}

.auth-card input.auth-invalid {
    border-color: #d33;
}

.auth-error {
    display: none;
    color: #d33;
    font-size: 13px;
    margin: -6px 0 12px;
}

.auth-error.show {
    display: block;
}

.auth-submit {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 555px;
    background-color: #000;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s;
}

.auth-submit:hover {
    background-color: rgba(0, 0, 0, 0.75);
}

.auth-submit:disabled {
    background-color: rgba(0, 0, 0, 0.4);
    cursor: default;
}
