/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ----- Sidebar ----- */

#sidebar[b-ctvb5z75zs] {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    color: #cbd5e1;
    overflow-y: auto;
    z-index: 1040;
    transition: transform .25s;
}

#sidebar .brand[b-ctvb5z75zs] {
    padding: 0.6rem 1rem;
    color: #fff;
    border-bottom: 1px solid #334155;
}

#sidebar .brand img[b-ctvb5z75zs] {
    max-width: 210px;
    max-height: 39px;
}

#sidebar .nav-section[b-ctvb5z75zs] {
    padding: .5rem 1rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    margin-top: .5rem;
}

#sidebar[b-ctvb5z75zs]  .nav-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem 1.25rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 0;
    cursor: pointer;
}

#sidebar[b-ctvb5z75zs]  .nav-link:hover {
    background: var(--sidebar-hover);
    color: #fff;
}

#sidebar[b-ctvb5z75zs]  .nav-link.active {
    background: var(--sidebar-active);
    color: #fff;
    font-weight: 600;
}

#main-content[b-ctvb5z75zs] {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

#page-content[b-ctvb5z75zs] {
    padding: 1rem;
}

@media (max-width: 991.98px) {
    #sidebar[b-ctvb5z75zs] {
        transform: translateX(-100%);
    }

    #sidebar.show[b-ctvb5z75zs] {
        transform: translateX(0);
    }

    #main-content[b-ctvb5z75zs] {
        margin-left: 0;
    }
}

/* Blazor error UI — se mantiene del template original */
#blazor-error-ui[b-ctvb5z75zs] {
    color-scheme: light only;
    background: #741c1c;
    bottom: 0;
    box-shadow: 0px -4px 8px 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: 9999;
    color: white;
}

#blazor-error-ui a[b-ctvb5z75zs] {
    color: white;
}

#blazor-error-ui .dismiss[b-ctvb5z75zs] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ----- Topbar ----- */

#topbar-wrapper[b-ctvb5z75zs] {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid #1e293b;
}

#topbar[b-ctvb5z75zs] {
    height: var(--topbar-height);
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.search-bar-topbar[b-ctvb5z75zs] {
    width: 220px;
    min-width: 140px;
}

#search-bar[b-ctvb5z75zs] {
    background: #b7c9db;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: .5rem 1.5rem;
}

#search-bar .input-group[b-ctvb5z75zs] {
    max-width: 600px;
    margin: 0 auto;
}

#search-bar .input-group .btn[b-ctvb5z75zs] {
    border: 1px solid #6c757d;
}

#breadcrumb-bar[b-ctvb5z75zs] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: .35rem 1.5rem;
}

#breadcrumb-bar[b-ctvb5z75zs]  .breadcrumb {
    margin-bottom: 0;
    font-size: .8rem;
}

#breadcrumb-bar[b-ctvb5z75zs]  .breadcrumb-item+.breadcrumb-item::before {
    color: #94a3b8;
}

#breadcrumb-bar[b-ctvb5z75zs]  .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
}

#breadcrumb-bar[b-ctvb5z75zs]  .breadcrumb-item a:hover {
    color: var(--sidebar-active);
    text-decoration: underline;
}

#breadcrumb-bar[b-ctvb5z75zs]  .breadcrumb-item.active {
    color: #1e293b;
    font-weight: 500;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-w90rlcwpe2],
.components-reconnect-repeated-attempt-visible[b-w90rlcwpe2],
.components-reconnect-failed-visible[b-w90rlcwpe2],
.components-pause-visible[b-w90rlcwpe2],
.components-resume-failed-visible[b-w90rlcwpe2],
.components-rejoining-animation[b-w90rlcwpe2] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-w90rlcwpe2],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-w90rlcwpe2],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-w90rlcwpe2],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-w90rlcwpe2],
#components-reconnect-modal.components-reconnect-retrying[b-w90rlcwpe2],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-w90rlcwpe2],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-w90rlcwpe2],
#components-reconnect-modal.components-reconnect-failed[b-w90rlcwpe2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-w90rlcwpe2] {
    display: block;
}


#components-reconnect-modal[b-w90rlcwpe2] {
    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-w90rlcwpe2 0.5s both;

    &[open] {
        animation: components-reconnect-modal-slideUp-b-w90rlcwpe2 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-w90rlcwpe2 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }
}

    #components-reconnect-modal[b-w90rlcwpe2]::backdrop {
        background-color: rgba(0, 0, 0, 0.4);
        animation: components-reconnect-modal-fadeInOpacity-b-w90rlcwpe2 0.5s ease-in-out;
        opacity: 1;
    }

@keyframes components-reconnect-modal-slideUp-b-w90rlcwpe2 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-w90rlcwpe2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-w90rlcwpe2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-w90rlcwpe2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-w90rlcwpe2] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-w90rlcwpe2] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-w90rlcwpe2] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-w90rlcwpe2] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-w90rlcwpe2] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-w90rlcwpe2] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-w90rlcwpe2 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-w90rlcwpe2] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-w90rlcwpe2 {
    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;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */

.stat-card .stat-icon[b-jn8ppnj0h4] {
    width: 48px;
    height: 48px;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-page[b-uf9vhw146n] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background:
        radial-gradient(circle at 85% 12%, rgba(59, 130, 246, 0.22), transparent 32%),
        radial-gradient(circle at 14% 88%, rgba(30, 41, 59, 0.16), transparent 36%),
        linear-gradient(140deg, #f8fafc 0%, #e2e8f0 100%);
}

.login-panel[b-uf9vhw146n] {
    width: min(100%, 460px);
    background-color: rgb(167 181 203);
    color: var(--sidebar-bg);
    border-radius: 1rem;
}

.login-logo[b-uf9vhw146n] {
    max-width: 270px;
    width: 100%;
    height: auto;
}

.login-panel :deep(.form-control)[b-uf9vhw146n] {
    border-color: #94a3b8;
    background-color: #f8fafc;
}

.login-panel :deep(.form-control:focus)[b-uf9vhw146n] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 .25rem rgba(59, 130, 246, 0.2);
}

h1[b-uf9vhw146n] {
    color: white;
}

label[b-uf9vhw146n] {
    color: white;
}

hr[b-uf9vhw146n] {
    color: white;
}

.card-body[b-uf9vhw146n] {
    border-radius: 1rem;
    background: var(--sidebar-bg);
    box-shadow: 0px 7px 0rem 0px rgb(30 41 59 / 13%) !important;
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
  .not-found-container[b-sro1t1nl5w] {
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .not-found-card[b-sro1t1nl5w] {
      text-align: center;
      max-width: 480px;
      width: 100%;
  }

  .not-found-icon[b-sro1t1nl5w] {
      font-size: 5rem;
      color: #9ca3af;
      display: block;
      margin-bottom: 1rem;
  }

  .not-found-code[b-sro1t1nl5w] {
      font-size: 6rem;
      font-weight: 800;
      color: #374151;
      line-height: 1;
      margin-bottom: 0.5rem;
  }

  .not-found-title[b-sro1t1nl5w] {
      font-size: 1.5rem;
      font-weight: 600;
      color: #374151;
      margin-bottom: 0.75rem;
  }

  .not-found-message[b-sro1t1nl5w] {
      color: #6b7280;
      font-size: 1rem;
      margin-bottom: 2rem;
  }

  .not-found-btn[b-sro1t1nl5w] {
      padding: 0.6rem 1.5rem;
      font-size: 0.95rem;
      border-radius: 8px;
  }
