/* /Web/Components/Layout/PortalAuthLayout.razor.rz.scp.css */
.auth-page[b-4wsxfoqj7h] {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse 55% 38% at 50% 102%, rgba(255, 255, 255, 0.95) 0%, transparent 70%),
        radial-gradient(ellipse 42% 30% at 14% 96%, rgba(255, 255, 255, 0.75) 0%, transparent 70%),
        radial-gradient(ellipse 42% 30% at 88% 92%, rgba(255, 255, 255, 0.75) 0%, transparent 70%),
        linear-gradient(180deg, #bfe4f8 0%, #d7edfb 42%, #eef7fc 75%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.auth-ring[b-4wsxfoqj7h] {
    position: absolute;
    top: 6%;
    left: 50%;
    width: 70rem;
    height: 70rem;
    max-width: none;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transform: translateX(-50%);
    pointer-events: none;
}

.auth-topbar[b-4wsxfoqj7h] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem);
}

.auth-logo-mark[b-4wsxfoqj7h] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.625rem;
    background: #16181d;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.auth-logo-text[b-4wsxfoqj7h] {
    font-weight: 700;
    font-size: 1.125rem;
    color: #16181d;
    letter-spacing: -0.01em;
}

.auth-center[b-4wsxfoqj7h] {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.25rem 3rem;
}

/* Shared card/field/button look for Login + SetPassword content rendered into @Body. */
[b-4wsxfoqj7h] .auth-card {
    width: 100%;
    max-width: 25.5rem;
    box-sizing: border-box;
    padding: 2.5rem 2.25rem;
    border-radius: 1.5rem;
    background: linear-gradient(160deg, #eaf6fd 0%, #ffffff 62%);
    box-shadow: 0 30px 60px -24px rgba(29, 65, 98, 0.28), 0 2px 8px rgba(29, 65, 98, 0.06);
    text-align: center;
}

[b-4wsxfoqj7h] .auth-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(29, 65, 98, 0.14);
    color: #383c44;
    margin-bottom: 1.25rem;
}

[b-4wsxfoqj7h] .auth-title {
    margin: 0 0 0.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    color: #16181d;
    letter-spacing: -0.01em;
}

[b-4wsxfoqj7h] .auth-subtitle {
    margin: 0 0 1.75rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #8a8f98;
}

[b-4wsxfoqj7h] .auth-field {
    position: relative;
    margin-bottom: 0.875rem;
    text-align: left;
}

[b-4wsxfoqj7h] .auth-field-icon {
    position: absolute;
    left: 0.9rem;
    top: 0.85rem;
    color: #9aa0aa;
    display: flex;
    pointer-events: none;
}

[b-4wsxfoqj7h] .auth-field-toggle {
    position: absolute;
    right: 0.9rem;
    top: 0.85rem;
    color: #9aa0aa;
    display: flex;
}

[b-4wsxfoqj7h] .auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    background: #eef0f3;
    color: #16181d;
    transition: box-shadow 0.15s ease, background 0.15s ease;
}

[b-4wsxfoqj7h] .auth-input::placeholder {
    color: #9aa0aa;
}

[b-4wsxfoqj7h] .auth-input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px #16181d;
}

[b-4wsxfoqj7h] .auth-input.invalid,
[b-4wsxfoqj7h] .validation-message + .auth-input {
    box-shadow: 0 0 0 1px #e0554f;
}

[b-4wsxfoqj7h] .auth-field-error {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: #d64c45;
}

[b-4wsxfoqj7h] .auth-alert {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    text-align: left;
}

[b-4wsxfoqj7h] .auth-alert-danger {
    background: #fdecea;
    color: #b3261e;
}

[b-4wsxfoqj7h] .auth-alert-success {
    background: #e8f5e9;
    color: #1e6b30;
}

[b-4wsxfoqj7h] .auth-submit {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 0.85rem;
    background: #16181d;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
}

[b-4wsxfoqj7h] .auth-submit:hover {
    background: #26292f;
}

[b-4wsxfoqj7h] .auth-submit:active {
    transform: scale(0.99);
}

[b-4wsxfoqj7h] .auth-footer {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #8a8f98;
    text-align: center;
}

[b-4wsxfoqj7h] .auth-footer a {
    color: #16181d;
    font-weight: 600;
    text-decoration: none;
}

[b-4wsxfoqj7h] .auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    [b-4wsxfoqj7h] .auth-card {
        padding: 2rem 1.5rem;
        border-radius: 1.25rem;
    }

    .auth-ring[b-4wsxfoqj7h] {
        width: 44rem;
        height: 44rem;
    }
}
