/* /Layout/EmptyLayout.razor.rz.scp.css */
body[b-g4z7f6l9ls] {
}
.content[b-g4z7f6l9ls]{
    display: flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-wszzd49qu6] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-wszzd49qu6] {
    flex: 1;
    width: 96%;
    margin-left: 2%;
}

.top-row[b-wszzd49qu6] {
    background-color: var(--top-row-bg);
    border-bottom: 1px solid var(--top-row-border);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-wszzd49qu6]  a, .top-row[b-wszzd49qu6]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-wszzd49qu6]  a:hover, .top-row[b-wszzd49qu6]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-wszzd49qu6]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

[b-wszzd49qu6] .rz-panel-menu a.rz-navigation-item-link {
    background-color: var(--sidebar-bg);
    border: none;
}

@media (max-width: 640.98px) {
    .top-row[b-wszzd49qu6] {
        justify-content: space-between;
    }

        .top-row[b-wszzd49qu6]  a, .top-row[b-wszzd49qu6]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-wszzd49qu6] {
        flex-direction: row;
    }

    .sidebar[b-wszzd49qu6] {
        background-color: var(--sidebar-bg);
        width: 20%;
        width: 250px;
        height: 100vh;
        height: 100vh;
        max-height: 100vh;
        position: sticky;
        top: 0;

    }

    .top-row[b-wszzd49qu6] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-wszzd49qu6]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-wszzd49qu6], article[b-wszzd49qu6] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Contenedor principal */
.sidebar[b-5si2zpwc3l] {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Ocupa toda la altura de la ventana */
    background-color: var(--sidebar-bg);
}

/* Header: topBar, userCard y separador */
.header[b-5si2zpwc3l] {
    /* Se adapta al contenido */
}

.topBar[b-5si2zpwc3l] {
    background-color: var(--topbar-bg);
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--topbar-text);
}

.userCard[b-5si2zpwc3l] {
    text-align: center;
    padding: 10px 0;
}

.user-image[b-5si2zpwc3l] {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px;
}

.separator[b-5si2zpwc3l] {
    border: 0.5px solid var(--separator-color);
    margin: 10px 0;
}

/* Contenedor del menú: se expandirá y tendrá scroll */
.menuContainer[b-5si2zpwc3l] {
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    background-color: var(--sidebar-bg);
}

/* Footer: siempre visible */
.footer[b-5si2zpwc3l] {
    height: 60px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    background-color: var(--footer-bg);
    justify-content: center;
}
/* /Pages/Auth/Login.razor.rz.scp.css */
.login-card-content[b-zsrgzi7y84]{
    display:flex;
    flex-direction:column;
    flex-wrap:nowrap;
    gap:20px;   
    padding:20px;
}
.error-message[b-zsrgzi7y84]{
    font-size:12px;
    color: var(--color-primary-dark);
}

/* brand colors – intentionally hardcoded, do not replace with theme vars */
.btn-google[b-zsrgzi7y84] {
    background-color: white;
    color: var(--color-on-primary);
}

    .btn-google:hover[b-zsrgzi7y84] {
        background-color: #c33c2f;
    }

/* brand colors – intentionally hardcoded, do not replace with theme vars */
.btn-microsoft[b-zsrgzi7y84] {
    background-color: #2f2f2f;
    color: white;
}

    .btn-microsoft:hover[b-zsrgzi7y84] {
        background-color: #1e1e1e;
    }
/* /Pages/Auth/TenantSelection.razor.rz.scp.css */
/* ── Fondo ─────────────────────────────────────────────────────────────────
   position:fixed + inset:0 evita que <main>/<article> del EmptyLayout
   limiten la altura, garantizando que ocupe toda la pantalla siempre.
   overflow-y:auto permite scroll si hay muchos tenants.
──────────────────────────────────────────────────────────────────────────── */
.ts-wrapper[b-hgtajwj98y] {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(150deg, var(--color-primary-dark) 0%, #071f10 55%, var(--color-primary-dark) 100%);
}

/* ── Tarjeta principal ─────────────────────────────────────────────────── */
.ts-card[b-hgtajwj98y] {
    width: 100%;
    max-width: 460px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
    animation: ts-entrance-b-hgtajwj98y 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ts-entrance-b-hgtajwj98y {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ── Header con logo ───────────────────────────────────────────────────── */
.ts-card-header[b-hgtajwj98y] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 32px 24px;
    background: linear-gradient(135deg, var(--color-primary-dark), #071f10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Cuerpo blanco ─────────────────────────────────────────────────────── */
.ts-card-body[b-hgtajwj98y] {
    background: var(--color-bg);
    padding: 32px 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ── Títulos ───────────────────────────────────────────────────────────── */
.ts-titles[b-hgtajwj98y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.ts-title[b-hgtajwj98y] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.ts-subtitle[b-hgtajwj98y] {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* ── Lista de tenants ──────────────────────────────────────────────────── */
.ts-list[b-hgtajwj98y] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Botón de tenant ───────────────────────────────────────────────────── */
.ts-item[b-hgtajwj98y] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    width: 100%;
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-bg);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s, opacity 0.15s;
    outline: none;
}

.ts-item:focus-visible[b-hgtajwj98y] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-surface);
}

.ts-item:hover:not(:disabled):not(.ts-item--faded)[b-hgtajwj98y] {
    border-color: var(--color-primary);
    background: var(--color-bg-alt);
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.ts-item:active:not(:disabled)[b-hgtajwj98y] {
    transform: translateY(0);
    box-shadow: none;
}

.ts-item--active[b-hgtajwj98y] {
    border-color: var(--color-primary) !important;
    background: var(--color-surface) !important;
}

.ts-item--faded[b-hgtajwj98y] {
    opacity: 0.45;
    pointer-events: none;
}

.ts-item:disabled[b-hgtajwj98y] {
    cursor: default;
}

/* ── Avatar ────────────────────────────────────────────────────────────── */
.ts-avatar[b-hgtajwj98y] {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-on-primary);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

/* ── Info del tenant ───────────────────────────────────────────────────── */
.ts-info[b-hgtajwj98y] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ts-name[b-hgtajwj98y] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ts-id[b-hgtajwj98y] {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    font-family: ui-monospace, monospace;
}

/* ── Chevron ───────────────────────────────────────────────────────────── */
.ts-chevron[b-hgtajwj98y] {
    color: var(--color-neutral-light);
    display: flex;
    align-items: center;
    min-width: 24px;
    justify-content: center;
    transition: color 0.15s, transform 0.15s;
}

.ts-item:hover:not(:disabled) .ts-chevron[b-hgtajwj98y] {
    color: var(--color-primary);
    transform: translateX(3px);
}

.ts-item--active .ts-chevron[b-hgtajwj98y] {
    color: var(--color-primary);
}
