/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* ===== ZooFlow Login Page ===== */

.auth-page[b-3sfsetec96] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(76, 175, 80, 0.18), transparent 60%),
        radial-gradient(800px 400px at -10% 110%, rgba(76, 175, 80, 0.12), transparent 55%),
        linear-gradient(135deg, #0f1724 0%, #1a2332 55%, #12281c 100%);
}

.auth-corner[b-3sfsetec96] {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1.25rem;
    z-index: 5;
}

/* ----- Card ----- */
.auth-card[b-3sfsetec96] {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    width: 100%;
    max-width: 980px;
    min-height: 620px;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    animation: auth-fade-up-b-3sfsetec96 0.6s ease both;
}

@keyframes auth-fade-up-b-3sfsetec96 {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----- Brand / image panel ----- */
.auth-panel-brand[b-3sfsetec96] {
    position: relative;
    overflow: hidden;
    background: #1a2332;
}

    .auth-panel-brand > img[b-3sfsetec96] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 6s ease;
    }

    .auth-card:hover .auth-panel-brand > img[b-3sfsetec96] {
        transform: scale(1.05);
    }

.auth-panel-overlay[b-3sfsetec96] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.25rem;
    background: linear-gradient(180deg, rgba(15, 23, 36, 0.25) 0%, rgba(15, 23, 36, 0.55) 55%, rgba(15, 23, 36, 0.92) 100%);
    color: #fff;
}

.auth-brand[b-3sfsetec96] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #ffffff;
}

.auth-brand-row[b-3sfsetec96] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1.25rem;
}

.auth-brand-text[b-3sfsetec96] {
    min-width: 0;
}

.auth-logo[b-3sfsetec96] {
    display: block;
    flex: 0 0 auto;
    max-height: 120px;
    max-width: 260px;
    object-fit: contain;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.auth-logo-mobile[b-3sfsetec96] {
    display: none;
}

    .auth-brand i[b-3sfsetec96] {
        font-size: 1.6rem;
        color: #4caf50;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    }

.auth-brand-caption[b-3sfsetec96] {
    margin: 0.5rem 0 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

    .auth-brand-caption span[b-3sfsetec96] {
        display: block;
        line-height: 1.25;
    }

.auth-brand-caption-ar[b-3sfsetec96] {
    margin-top: 0.25rem;
}

.auth-brand-caption-mobile[b-3sfsetec96] {
    color: #6c757d;
    text-shadow: none;
}

.auth-headline[b-3sfsetec96] {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}

.auth-sub[b-3sfsetec96] {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.auth-features[b-3sfsetec96] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

    .auth-features li[b-3sfsetec96] {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.85);
    }

        .auth-features li i[b-3sfsetec96] {
            color: #4caf50;
            font-size: 1rem;
            width: 1.6rem;
            height: 1.6rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.5rem;
            background: rgba(76, 175, 80, 0.16);
        }

/* ----- Form panel ----- */
.auth-panel-form[b-3sfsetec96] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    background:
        radial-gradient(500px 240px at 100% 0%, rgba(76, 175, 80, 0.06), transparent 60%),
        #ffffff;
}

.auth-form-inner[b-3sfsetec96] {
    width: 100%;
    max-width: 400px;
}

.auth-brand-mobile[b-3sfsetec96] {
    display: none;
    color: #1a2332;
}

    .auth-brand-mobile i[b-3sfsetec96] {
        filter: none;
    }

.auth-title[b-3sfsetec96] {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a2332;
    margin-bottom: 0.25rem;
}

.auth-subtitle[b-3sfsetec96] {
    color: #6c757d;
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
}

/* ----- Fields ----- */
.auth-field[b-3sfsetec96] {
    position: relative;
    margin-bottom: 1.1rem;
}

    .auth-field .field-icon[b-3sfsetec96] {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        inset-inline-start: 1rem;
        color: #9aa7b4;
        font-size: 1rem;
        z-index: 4;
        pointer-events: none;
        transition: color 0.2s ease;
    }

    .auth-field:focus-within .field-icon[b-3sfsetec96] {
        color: #43a047;
    }

    .auth-field > label[b-3sfsetec96] {
        padding-inline-start: 2.75rem;
        color: #8a97a5;
    }

.auth-input[b-3sfsetec96] {
    padding-inline-start: 2.75rem !important;
    padding-inline-end: 1rem;
    border-radius: 0.75rem;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .auth-input:focus[b-3sfsetec96] {
        background: #ffffff;
        border-color: #4caf50;
        box-shadow: 0 0 0 0.22rem rgba(76, 175, 80, 0.16);
    }

.auth-field:has(.auth-input[type="password"]) .auth-input[b-3sfsetec96],
.auth-field .auth-input:has(~ .password-toggle)[b-3sfsetec96] {
    padding-inline-end: 2.9rem !important;
}

.password-toggle[b-3sfsetec96] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inset-inline-end: 0.55rem;
    z-index: 4;
    border: 0;
    background: transparent;
    color: #9aa7b4;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
}

    .password-toggle:hover[b-3sfsetec96] {
        color: #2e7d32;
        background: rgba(76, 175, 80, 0.12);
    }

/* ----- Options row ----- */
.auth-options[b-3sfsetec96] {
    margin: 0.25rem 0 1.35rem;
    font-size: 0.88rem;
}

.auth-remember[b-3sfsetec96] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #495057;
    cursor: pointer;
}

.auth-link[b-3sfsetec96] {
    color: #2e7d32;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .auth-link:hover[b-3sfsetec96] {
        color: #1b5e20;
        text-decoration: underline;
    }

/* ----- Buttons ----- */
.auth-submit[b-3sfsetec96] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.72rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
    border: 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    box-shadow: 0 8px 20px -6px rgba(76, 175, 80, 0.55);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

    .auth-submit:hover[b-3sfsetec96] {
        color: #ffffff;
        transform: translateY(-2px);
        filter: brightness(1.05);
        box-shadow: 0 12px 26px -6px rgba(76, 175, 80, 0.65);
    }

    .auth-submit:active[b-3sfsetec96] {
        transform: translateY(0);
        box-shadow: 0 5px 12px -4px rgba(76, 175, 80, 0.5);
    }

.auth-divider[b-3sfsetec96] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 1.25rem 0;
    color: #adb5bd;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

    .auth-divider[b-3sfsetec96]::before,
    .auth-divider[b-3sfsetec96]::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #e9ecef;
    }

.auth-passkey[b-3sfsetec96] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.62rem 1rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: #1a2332;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.18s ease;
}

    .auth-passkey:hover[b-3sfsetec96] {
        border-color: #4caf50;
        background: rgba(76, 175, 80, 0.06);
        color: #1a2332;
        transform: translateY(-1px);
    }

/* ----- Footer ----- */
.auth-footer[b-3sfsetec96] {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.82rem;
}

    .auth-footer a[b-3sfsetec96] {
        color: #6c757d;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .auth-footer a:hover[b-3sfsetec96] {
            color: #2e7d32;
            text-decoration: underline;
        }

.auth-dot[b-3sfsetec96] {
    margin: 0 0.5rem;
    color: #ced4da;
}

.auth-credit[b-3sfsetec96] {
    margin: 0.9rem 0 0;
    text-align: center;
    font-size: 0.74rem;
    color: #98a2ad;
    letter-spacing: 0.2px;
}

    .auth-credit a[b-3sfsetec96] {
        color: #6c757d;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s ease;
    }

        .auth-credit a:hover[b-3sfsetec96] {
            color: #2e7d32;
        }

/* ----- Responsive ----- */
@media (max-width: 860px) {
    .auth-card[b-3sfsetec96] {
        grid-template-columns: 1fr;
        max-width: 460px;
        min-height: 0;
    }

    .auth-panel-brand[b-3sfsetec96] {
        display: none;
    }

    .auth-brand-mobile[b-3sfsetec96] {
        display: inline-flex;
    }

    .auth-logo-mobile[b-3sfsetec96] {
        display: block;
        max-height: 90px;
        max-width: 190px;
    }

    .auth-panel-form[b-3sfsetec96] {
        padding: 2rem 1.5rem;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-x6opwdlf4q] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-x6opwdlf4q] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0xefj6m8o2],
.components-reconnect-repeated-attempt-visible[b-0xefj6m8o2],
.components-reconnect-failed-visible[b-0xefj6m8o2],
.components-pause-visible[b-0xefj6m8o2],
.components-resume-failed-visible[b-0xefj6m8o2],
.components-rejoining-animation[b-0xefj6m8o2] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0xefj6m8o2],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0xefj6m8o2],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0xefj6m8o2],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0xefj6m8o2],
#components-reconnect-modal.components-reconnect-retrying[b-0xefj6m8o2],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0xefj6m8o2],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0xefj6m8o2],
#components-reconnect-modal.components-reconnect-failed[b-0xefj6m8o2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0xefj6m8o2] {
    display: block;
}


#components-reconnect-modal[b-0xefj6m8o2] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0xefj6m8o2 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-0xefj6m8o2 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0xefj6m8o2 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-0xefj6m8o2]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-0xefj6m8o2 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0xefj6m8o2 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0xefj6m8o2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0xefj6m8o2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0xefj6m8o2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0xefj6m8o2] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-0xefj6m8o2] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0xefj6m8o2] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-0xefj6m8o2] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-0xefj6m8o2] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0xefj6m8o2] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0xefj6m8o2 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0xefj6m8o2] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0xefj6m8o2 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
