@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';
@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.84wtju4z0n.bundle.scp.css';

/* /Shared/LanguageSelector.razor.rz.scp.css */
/* Component uses Tailwind utility classes directly. */
/* /Shared/LoginLayout.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════════════════
   LOGIN LAYOUT — Minimal CSS Isolation (Tailwind handles direct elements)
   ═══════════════════════════════════════════════════════════════════════════════
   Only ::deep selectors remain — they MUST use CSS isolation to pierce into
   child @Body content (Login.razor) because Blazor's scoping attribute is not
   stamped on injected fragments.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Heading ──────────────────────────────────────────────────────────────── */

.login-brand-panel[b-2b0ab43he1] {
    background-color: #123f7a !important;
    background-image: linear-gradient(135deg, #0b1f3a 0%, #123f7a 55%, #2563eb 100%) !important;
}

.login-brand-panel__content[b-2b0ab43he1] {
    color: #f8fafc;
}

[b-2b0ab43he1] .login-heading {
    text-align: center;
    margin-bottom: 2rem;
}

[b-2b0ab43he1] .login-heading h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.375rem;
    letter-spacing: -0.025em;
}

[b-2b0ab43he1] .login-heading p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* ── Form Fields ──────────────────────────────────────────────────────────── */

[b-2b0ab43he1] .login-field {
    margin-bottom: 1.25rem;
}

[b-2b0ab43he1] .login-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
}

[b-2b0ab43he1] .login-input-wrapper {
    position: relative;
}

[b-2b0ab43he1] .login-input-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    display: flex;
    align-items: center;
}

[b-2b0ab43he1] .login-input-icon svg {
    width: 18px;
    height: 18px;
}

[b-2b0ab43he1] .login-input {
    width: 100%;
    padding: 0.6875rem 0.875rem 0.6875rem 2.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.5rem;
    outline: none;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

[b-2b0ab43he1] .login-input:focus {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

[b-2b0ab43he1] .login-input::placeholder {
    color: #9ca3af;
}

/* ── Password Toggle ──────────────────────────────────────────────────────── */

[b-2b0ab43he1] .login-toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    transition: color 150ms;
}

[b-2b0ab43he1] .login-toggle-password:hover {
    color: #4b5563;
}

[b-2b0ab43he1] .login-toggle-password svg {
    width: 18px;
    height: 18px;
}

/* ── Submit Button ────────────────────────────────────────────────────────── */

[b-2b0ab43he1] .login-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    color: white;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.3);
    margin-top: 0.5rem;
}

[b-2b0ab43he1] .login-submit-btn:hover {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

[b-2b0ab43he1] .login-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.3);
}

[b-2b0ab43he1] .login-submit-btn svg {
    width: 18px;
    height: 18px;
}

/* ── Validation ───────────────────────────────────────────────────────────── */

[b-2b0ab43he1] .login-field .validation-message {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

/* ── Radzen form reset ────────────────────────────────────────────────────── */

[b-2b0ab43he1] .rz-templateform {
    display: block;
}

/* ── Bootstrap / Radzen global overrides ──────────────────────────────────── */

/* Bootstrap sets global styles on h1, p, label, input, button by element.
   Our scoped class selectors already have higher specificity ([b-xxx] .class),
   but Bootstrap also uses class-based selectors that may cascade. These
   explicit resets ensure our login styles always win. */
[b-2b0ab43he1] .login-heading h1,
[b-2b0ab43he1] .login-heading p {
    line-height: 1.3;
}

[b-2b0ab43he1] .login-field label {
    cursor: default;
}

[b-2b0ab43he1] .login-input,
[b-2b0ab43he1] .login-input:focus {
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.5;
    height: auto;
}

[b-2b0ab43he1] .login-submit-btn,
[b-2b0ab43he1] .login-submit-btn:focus,
[b-2b0ab43he1] .login-submit-btn:active:focus {
    outline: none;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.3);
}

[b-2b0ab43he1] .login-toggle-password:focus {
    outline: none;
    box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (min-width: 1024px) {
    .login-brand-panel[b-2b0ab43he1] {
        display: flex;
    }

    .login-form-panel[b-2b0ab43he1] {
        flex: 0 0 520px;
    }
}

@media (max-width: 480px) {
    .login-form-panel[b-2b0ab43he1] {
        padding: 1.5rem 1.25rem;
    }

    .login-form-container[b-2b0ab43he1] {
        max-width: 100%;
    }
}
