@import 'Sga.Client.Component.8zmkfjg5yt.bundle.scp.css';
@import '_content/BlazorColorPicker/BlazorColorPicker.d6615pwxbx.bundle.scp.css';
@import '_content/IngeoVisualServices.Core.BlazorComponents/IngeoVisualServices.Core.BlazorComponents.o2ezxc1eb6.bundle.scp.css';
@import '_content/WMBlazorOverlayScrollbars/WMBlazorOverlayScrollbars.bundle.scp.css';

/* /Components/Layout/AuthLayout.razor.rz.scp.css */
/* Auth layout - full viewport, centered card. --auth-bg-start from General Settings (HeaderColor), gradient to #2a3042. */
.auth-layout[b-vc4ymkzeuu] {
    --auth-bg-start: #2a3042; /* fallback if not set by layout */
    --auth-bg-end: #2a3042;
    --auth-card-bg: rgba(255, 255, 255, 0.98);
    --auth-card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --auth-text-muted: #64748b;
    --auth-accent: #2563eb;
    --auth-footer: rgba(255, 255, 255, 0.6);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    box-sizing: border-box;
    width: 100%;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* Gradiente: HeaderColor arriba, #2a3042 acentuado desde ~25% hasta el final */
.auth-layout__bg[b-vc4ymkzeuu] {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, var(--auth-bg-start) 0%, #2a3042 28%, #2a3042 100%);
    z-index: 0;
}

/* Subtle decorative shapes */
.auth-layout__shape[b-vc4ymkzeuu] {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}

/* Formas en tonos #2a3042 para no restar protagonismo al degradado */
.auth-layout__shape--1[b-vc4ymkzeuu] {
    width: min(80vw, 600px);
    height: min(80vw, 600px);
    background: linear-gradient(135deg, #2a3042 0%, color-mix(in srgb, #2a3042 85%, var(--auth-bg-start)) 100%);
    top: -20%;
    right: -15%;
    animation: auth-float-b-vc4ymkzeuu 20s ease-in-out infinite;
}

.auth-layout__shape--2[b-vc4ymkzeuu] {
    width: min(60vw, 400px);
    height: min(60vw, 400px);
    background: linear-gradient(135deg, #2a3042 0%, color-mix(in srgb, #2a3042 90%, black) 100%);
    bottom: -10%;
    left: -10%;
    animation: auth-float-b-vc4ymkzeuu 25s ease-in-out infinite reverse;
}

.auth-layout__shape--3[b-vc4ymkzeuu] {
    width: min(40vw, 280px);
    height: min(40vw, 280px);
    background: linear-gradient(135deg, color-mix(in srgb, #2a3042 80%, white) 0%, #2a3042 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: auth-float-b-vc4ymkzeuu 18s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes auth-float-b-vc4ymkzeuu {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(2%, -2%) scale(1.02);
    }

    66% {
        transform: translate(-1%, 1%) scale(0.98);
    }
}

.auth-layout__container[b-vc4ymkzeuu] {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: center;
    box-sizing: border-box;
}

.auth-layout__header[b-vc4ymkzeuu] {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.auth-layout__logo[b-vc4ymkzeuu] {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

    .auth-layout__logo[b-vc4ymkzeuu]  img,
    .auth-layout__logo[b-vc4ymkzeuu]  svg {
        max-height: 38px;
        width: auto;
        display: block;
        filter: brightness(0) invert(1);
    }

.auth-layout__main[b-vc4ymkzeuu] {
    flex: 1;
    width: 160%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    box-sizing: border-box;
}

.auth-layout__card[b-vc4ymkzeuu] {
    width: 100%;
    max-width: 100%;
    background: #2121238a;
    border-radius: 0.25rem;
    box-shadow: var(--auth-card-shadow);
    padding: 1.5rem 1.25rem 1.75rem;
    backdrop-filter: blur(12px);
    box-sizing: border-box;
}

    /* Typography and form overrides inside the card */
    .auth-layout__card[b-vc4ymkzeuu]  h1 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #dadbdf;
        margin-bottom: 0.25rem;
        letter-spacing: -0.02em;
    }

    .auth-layout__card[b-vc4ymkzeuu]  h2 {
        font-size: 0.9375rem;
        font-weight: 400;
        color: var(--auth-text-muted);
        margin-bottom: 1.5rem;
    }

    .auth-layout__card[b-vc4ymkzeuu]  hr {
        margin: 1.25rem 0 1.5rem;
        border: 0;
        border-top: 1px solid #e2e8f0;
    }

    .auth-layout__card[b-vc4ymkzeuu]  .form-floating {
        margin-bottom: 1rem;
    }

    .auth-layout__card[b-vc4ymkzeuu]  .form-control {
        border-radius: 0.5rem;
        border: 1px solid #e2e8f0;
        padding: 0.5rem 0.75rem;
    }

        .auth-layout__card[b-vc4ymkzeuu]  .form-control:focus {
            border-color: var(--auth-accent);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
        }

    .auth-layout__card[b-vc4ymkzeuu]  .btn-primary {
        border-radius: 0.5rem;
        padding: 0.75rem 1.25rem;
        font-weight: 500;
        margin-top: 0.25rem;
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        border: none;
    }

        .auth-layout__card[b-vc4ymkzeuu]  .btn-primary:hover {
            background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
            transform: translateY(-1px);
        }

    .auth-layout__card[b-vc4ymkzeuu]  .form-check-input:checked {
        background-color: var(--auth-accent);
        border-color: var(--auth-accent);
    }

    .auth-layout__card[b-vc4ymkzeuu]  a {
        color: var(--auth-accent);
        text-decoration: none;
        font-weight: 500;
    }

        .auth-layout__card[b-vc4ymkzeuu]  a:hover {
            text-decoration: underline;
        }

    .auth-layout__card[b-vc4ymkzeuu]  .alert {
        border-radius: 0.5rem;
    }

    .auth-layout__card[b-vc4ymkzeuu]  .text-danger,
    .auth-layout__card[b-vc4ymkzeuu]  .validation-message {
        font-size: 0.8125rem;
    }

    .auth-layout__card[b-vc4ymkzeuu]  .auth-layout__links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem 1.5rem;
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid #e2e8f0;
    }

.auth-layout__footer[b-vc4ymkzeuu] {
    margin-top: 1rem;
    padding-top: 0.75rem;
    flex-shrink: 0;
}

.auth-layout__footer-text[b-vc4ymkzeuu] {
    font-size: 0.75rem;
    color: var(--auth-footer);
}

/* ----- Responsive: móvil muy pequeño ----- */
@media (max-width: 359px) {
    .auth-layout__container[b-vc4ymkzeuu] {
        padding: 0.75rem;
    }

    .auth-layout__card[b-vc4ymkzeuu] {
        padding: 1.25rem 1rem 1.5rem;
        border-radius: 0.625rem;
    }

        .auth-layout__card[b-vc4ymkzeuu]  h1 {
            font-size: 1.25rem;
        }

        .auth-layout__card[b-vc4ymkzeuu]  h2 {
            font-size: 0.875rem;
        }

    .auth-layout__logo[b-vc4ymkzeuu]  img,
    .auth-layout__logo[b-vc4ymkzeuu]  svg {
        max-height: 32px;
    }
}

/* ----- Responsive: móvil ----- */
@media (min-width: 360px) and (max-width: 479px) {
    .auth-layout__card[b-vc4ymkzeuu] {
        padding: 1.5rem 1.35rem 1.75rem;
        width: 60%;
    }

        .auth-layout__card[b-vc4ymkzeuu]  h1 {
            font-size: 1.375rem;
        }
}

/* ----- Responsive: móvil grande / tablet pequeña ----- */
@media (min-width: 480px) {
    .auth-layout__container[b-vc4ymkzeuu] {
        padding: 1.25rem;
    }

    .auth-layout__card[b-vc4ymkzeuu] {
        padding: 2rem 2rem 2.25rem;
    }

        .auth-layout__card[b-vc4ymkzeuu]  h1 {
            font-size: 1.5rem;
        }

    .auth-layout__header[b-vc4ymkzeuu] {
        margin-bottom: 1.25rem;
    }

    .auth-layout__logo[b-vc4ymkzeuu]  img,
    .auth-layout__logo[b-vc4ymkzeuu]  svg {
        max-height: 42px;
    }

    .auth-layout__footer-text[b-vc4ymkzeuu] {
        font-size: 0.8125rem;
    }
}

/* ----- Responsive: tablet / desktop ----- */
@media (min-width: 600px) {
    .auth-layout__container[b-vc4ymkzeuu] {
        padding: 1.5rem;
        max-width: 460px;
    }

    .auth-layout__card[b-vc4ymkzeuu] {
        padding: 2.25rem 2.25rem 2.5rem;
        border-radius: 1rem;
    }

        .auth-layout__card[b-vc4ymkzeuu]  h1 {
            font-size: 1.625rem;
        }

        .auth-layout__card[b-vc4ymkzeuu]  .form-control {
            padding: 0.75rem 1rem;
        }
}

/* Evitar desborde horizontal en cualquier viewport */
.auth-layout__container[b-vc4ymkzeuu] {
    max-width: min(440px, 100%);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-8cnayrlhx7] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-8cnayrlhx7] {
    flex: 1;
}

.sidebar[b-8cnayrlhx7] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-8cnayrlhx7] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-8cnayrlhx7]  a, .top-row[b-8cnayrlhx7]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-8cnayrlhx7]  a:hover, .top-row[b-8cnayrlhx7]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-8cnayrlhx7]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-8cnayrlhx7] {
        justify-content: space-between;
    }

    .top-row[b-8cnayrlhx7]  a, .top-row[b-8cnayrlhx7]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-8cnayrlhx7] {
        flex-direction: row;
    }

    .sidebar[b-8cnayrlhx7] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-8cnayrlhx7] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-8cnayrlhx7]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-8cnayrlhx7], article[b-8cnayrlhx7] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-8cnayrlhx7] {
    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-8cnayrlhx7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar[b-hux52equb6] {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand[b-hux52equb6] {
    font-weight: bold;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.nav-link[b-hux52equb6] {
    display: flex;
    align-items: center;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease-in-out;
}

    .nav-link:hover[b-hux52equb6] {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }

.bi[b-hux52equb6],
.feather[b-hux52equb6] {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .nav-link[b-hux52equb6] {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }

    .navbar-brand[b-hux52equb6] {
        font-size: 1.1rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-88eh5ts46f],
.components-reconnect-repeated-attempt-visible[b-88eh5ts46f],
.components-reconnect-failed-visible[b-88eh5ts46f],
.components-pause-visible[b-88eh5ts46f],
.components-resume-failed-visible[b-88eh5ts46f],
.components-rejoining-animation[b-88eh5ts46f] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-88eh5ts46f],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-88eh5ts46f],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-88eh5ts46f],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-88eh5ts46f],
#components-reconnect-modal.components-reconnect-retrying[b-88eh5ts46f],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-88eh5ts46f],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-88eh5ts46f],
#components-reconnect-modal.components-reconnect-failed[b-88eh5ts46f],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-88eh5ts46f] {
    display: block;
}


#components-reconnect-modal[b-88eh5ts46f] {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    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-88eh5ts46f 0.5s both;

    &[open] {
        animation: components-reconnect-modal-slideUp-b-88eh5ts46f 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-88eh5ts46f 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }
}

#components-reconnect-modal[b-88eh5ts46f]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-88eh5ts46f 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-88eh5ts46f {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-88eh5ts46f {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-88eh5ts46f {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-88eh5ts46f] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-88eh5ts46f] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-88eh5ts46f] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-88eh5ts46f] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-88eh5ts46f] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-88eh5ts46f] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-88eh5ts46f] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-88eh5ts46f 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-88eh5ts46f] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-88eh5ts46f {
    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;
    }
}
