html.auth-pending [data-auth-content] {
    display: none !important;
}

.auth-gate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #18212f;
    background:
        radial-gradient(circle at 15% 10%, rgb(0 168 143 / 12%), transparent 32%),
        #f6f8fb;
    font-family: "Inter", Arial, sans-serif;
}

.auth-card {
    width: min(100%, 420px);
    padding: 38px;
    border: 1px solid #e5e9ef;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgb(16 24 40 / 12%);
}

.auth-logo {
    display: block;
    width: 108px;
    height: auto;
    margin-bottom: 34px;
}

.auth-eyebrow {
    margin: 0 0 8px;
    color: #007d6b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.auth-title {
    margin: 0;
    font-size: 1.7rem;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.auth-description {
    margin: 12px 0 28px;
    color: #667085;
    font-size: 0.94rem;
    line-height: 1.55;
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-size: 0.84rem;
    font-weight: 600;
}

.auth-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    color: #18212f;
    background: #ffffff;
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-input:focus {
    border-color: #00a88f;
    box-shadow: 0 0 0 4px rgb(0 168 143 / 14%);
    outline: none;
}

.auth-submit {
    width: 100%;
    height: 48px;
    margin-top: 16px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: #008f7a;
    font: 700 0.9rem/1 "Inter", Arial, sans-serif;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.auth-submit:hover {
    background: #007d6b;
}

.auth-submit:active {
    transform: translateY(1px);
}

.auth-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.auth-message {
    min-height: 21px;
    margin: 12px 0 0;
    color: #b42318;
    font-size: 0.82rem;
}

.auth-logout {
    padding: 9px 14px;
    border: 1px solid #d6e8e4;
    border-radius: 8px;
    color: #007d6b;
    background: #ffffff;
    font: 600 0.8rem/1 "Inter", Arial, sans-serif;
    cursor: pointer;
}

.auth-logout:hover {
    border-color: #00a88f;
    background: #f4fbf9;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 30px 24px;
    }
}
