@import 'Ibis.Lima.Client.zvv7rmsja3.bundle.scp.css';

/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* The site's own vocabulary, borrowed rather than reinvented: the shell's near-black, the hero's
   rule-plus-uppercase eyebrow, its tracking-tighter title, the admin's white pill button. Nothing
   here is a new idea — that is the point. */

.gate[b-xd53niq9w5] {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--shell, #09090b);
    color: var(--text, #e5e5e5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

/* The same ambient wash the public shell uses, so the two feel like one place. */
.gate__glow[b-xd53niq9w5] {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 56rem;
    height: 500px;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.1);
    opacity: 0.3;
    filter: blur(120px);
    pointer-events: none;
}

.gate__panel[b-xd53niq9w5] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 26rem;
}

.gate__eyebrow[b-xd53niq9w5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.gate__rule[b-xd53niq9w5] {
    width: 2rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    flex: none;
}

.gate__title[b-xd53niq9w5] {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.95;
    color: #fff;
    margin: 0 0 0.75rem 0;
}

.gate__lede[b-xd53niq9w5] {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 2.5rem 0;
}

/* ::deep — EditForm renders the <form> itself, so the class lands on an element in its scope, not
   ours. Without this the form is not a flex column at all: the gaps vanish and the submit collapses
   to its intrinsic width, leaving the primary action looking smaller than the secondary one. */
[b-xd53niq9w5] .gate__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ---- fields -------------------------------------------------------------------------------- */

.field[b-xd53niq9w5] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field__label[b-xd53niq9w5] {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* ::deep — InputText renders the <input> itself, so it carries the component's scope, not ours. */
[b-xd53niq9w5] .field__input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.625rem;
    color: #fff;
    font: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.2s, background-color 0.2s;
}

[b-xd53niq9w5] .field__input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

[b-xd53niq9w5] .field__input:hover {
    border-color: rgba(255, 255, 255, 0.24);
}

[b-xd53niq9w5] .field__input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

/* The template turned every touched field green or red. A login form is not a scorecard: the only
   verdict that matters arrives from the server, and it is shown once, at the top. */
[b-xd53niq9w5] .field__input.valid.modified,
[b-xd53niq9w5] .field__input.invalid {
    outline: none;
    border-color: rgba(255, 255, 255, 0.12);
}

[b-xd53niq9w5] .field__input.invalid:focus {
    border-color: rgba(239, 68, 68, 0.7);
}

[b-xd53niq9w5] .field__error {
    color: #fca5a5;
    font-size: 0.75rem;
}

/* ---- remember ------------------------------------------------------------------------------ */

.remember[b-xd53niq9w5] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    cursor: pointer;
    user-select: none;
    width: fit-content;
}

[b-xd53niq9w5] .remember__box {
    appearance: none;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.3rem;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    display: grid;
    place-content: center;
    transition: background-color 0.15s, border-color 0.15s;
}

[b-xd53niq9w5] .remember__box:checked {
    background: #fff;
    border-color: #fff;
}

[b-xd53niq9w5] .remember__box:checked::after {
    content: "";
    width: 0.5rem;
    height: 0.28rem;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg) translate(1px, -1px);
}

[b-xd53niq9w5] .remember__box:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

/* ---- actions ------------------------------------------------------------------------------- */

.gate__submit[b-xd53niq9w5] {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.875rem 1.5rem;
    background: #fff;
    color: #000;
    border: 0;
    border-radius: 9999px;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.gate__submit:hover[b-xd53niq9w5] {
    opacity: 0.88;
}

.gate__submit:active[b-xd53niq9w5] {
    transform: scale(0.99);
}

.gate__submit:focus-visible[b-xd53niq9w5] {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* A hairline through the word, the same one the footer uses to separate itself. */
.gate__or[b-xd53niq9w5] {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0.25rem 0;
}

.gate__or[b-xd53niq9w5]::before,
.gate__or[b-xd53niq9w5]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

[b-xd53niq9w5] .gate__passkey {
    width: 100%;
    padding: 0.8125rem 1.5rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

[b-xd53niq9w5] .gate__passkey:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.gate__back[b-xd53niq9w5] {
    display: inline-block;
    margin-top: 2.5rem;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}

.gate__back:hover[b-xd53niq9w5] {
    color: rgba(255, 255, 255, 0.8);
}

/* ---- server-side verdicts ------------------------------------------------------------------ */

/* StatusMessage and ValidationSummary come from shared components, so they land here with their
   own scope. */
[b-xd53niq9w5] .alert,
[b-xd53niq9w5] .gate__summary {
    padding: 0.8125rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    margin: 0 0 1.5rem 0;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    list-style: none;
}

[b-xd53niq9w5] .gate__summary ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

[b-xd53niq9w5] .alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.35);
    color: #86efac;
}

[b-xd53niq9w5] .gate__summary:empty {
    display: none;
}

@media (max-width: 480px) {
    .gate__title[b-xd53niq9w5] {
        font-size: 2.25rem;
    }
}
