/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-ycnn1wjasa] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-ycnn1wjasa] {
    flex: 1;
    width: 100%;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Botón de menú hamburguesa */
.menu-toggle-btn[b-ycnn1wjasa] {
    background: transparent;
    border: none;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.menu-toggle-btn:hover[b-ycnn1wjasa] {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger-icon[b-ycnn1wjasa] {
    line-height: 1;
}

.top-row[b-ycnn1wjasa] {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    height: 3.5rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.top-row-spacer[b-ycnn1wjasa] {
    flex: 1;
}

.top-row[b-ycnn1wjasa]  a,
.top-row[b-ycnn1wjasa]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: #333;
}

.top-row[b-ycnn1wjasa]  a:hover,
.top-row[b-ycnn1wjasa]  .btn-link:hover {
    text-decoration: underline;
}

/* Contenido principal */
.content[b-ycnn1wjasa] {
    padding-top: 1.5rem !important;
}

/* Responsive - Móvil */
@media (max-width: 767px) {
    .menu-toggle-btn[b-ycnn1wjasa] {
        display: flex;
    }

    .top-row[b-ycnn1wjasa] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .content[b-ycnn1wjasa] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Responsive - Tablet y Escritorio */
@media (min-width: 768px) {
    .page[b-ycnn1wjasa] {
        flex-direction: row;
    }

    /* Menú expandido por defecto */
    main[b-ycnn1wjasa] {
        margin-left: 260px;
    }

    /* Menú minimizado */
    main.minimized[b-ycnn1wjasa] {
        margin-left: 70px;
    }

    .menu-toggle-btn[b-ycnn1wjasa] {
        display: none;
    }

    .top-row[b-ycnn1wjasa] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .content[b-ycnn1wjasa] {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* Mejoras visuales */
article[b-ycnn1wjasa] {
    background-color: #fafafa;
    min-height: calc(100vh - 3.5rem);
}


/* /Layout/NavMenu.razor.rz.scp.css */
/* Menú Principal */
.nav-menu[b-43x83k2es3] {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

/* Estados del menú - Móvil */
.nav-menu.collapsed[b-43x83k2es3] {
    transform: translateX(-100%);
}

.nav-menu.expanded[b-43x83k2es3] {
    transform: translateX(0);
}

/* Estado minimizado - Escritorio */
@media (min-width: 768px) {
    .nav-menu.minimized[b-43x83k2es3] {
        width: 70px;
    }

    .nav-menu.minimized .brand-text[b-43x83k2es3],
    .nav-menu.minimized .nav-text[b-43x83k2es3],
    .nav-menu.minimized .user-details[b-43x83k2es3] {
        opacity: 0;
        width: 0;
        overflow: hidden;
    }

    .nav-menu.minimized .brand-container[b-43x83k2es3] {
        justify-content: center;
    }

    .nav-menu.minimized .nav-link[b-43x83k2es3] {
        justify-content: center;
        padding: 0.875rem 0.5rem;
    }

    .nav-menu.minimized .user-info-menu[b-43x83k2es3] {
        justify-content: center;
        padding: 0.5rem;
    }

    .nav-menu.minimized .user-avatar[b-43x83k2es3] {
        margin: 0;
    }
}

/* Header del menú */
.nav-header[b-43x83k2es3] {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 70px;
}

.brand-container[b-43x83k2es3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: justify-content 0.3s ease;
}

.brand-icon[b-43x83k2es3] {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.brand-text[b-43x83k2es3] {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    transition: opacity 0.3s ease, width 0.3s ease;
    white-space: nowrap;
}

/* Botones de control */
.toggle-minimize-btn[b-43x83k2es3],
.close-btn[b-43x83k2es3] {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.toggle-minimize-btn:hover[b-43x83k2es3],
.close-btn:hover[b-43x83k2es3] {
    background-color: rgba(255, 255, 255, 0.15);
}

.toggle-icon[b-43x83k2es3],
.close-icon[b-43x83k2es3] {
    line-height: 1;
}

/* Visibilidad de botones según dispositivo */
.desktop-only[b-43x83k2es3] {
    display: none;
}

.mobile-only[b-43x83k2es3] {
    display: flex;
}

@media (min-width: 768px) {
    .desktop-only[b-43x83k2es3] {
        display: flex;
    }

    .mobile-only[b-43x83k2es3] {
        display: none;
    }
}

/* Área de navegación scrolleable */
.nav-scrollable[b-43x83k2es3] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0;
}

.nav-scrollable[b-43x83k2es3]::-webkit-scrollbar {
    width: 6px;
}

.nav-scrollable[b-43x83k2es3]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.nav-scrollable[b-43x83k2es3]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.nav-scrollable[b-43x83k2es3]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Sección de navegación */
.nav-section[b-43x83k2es3] {
    padding: 0;
}

/* Items de navegación */
.nav-item[b-43x83k2es3] {
    padding: 0.25rem 1rem;
}

.nav-link[b-43x83k2es3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link:hover[b-43x83k2es3] {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(4px);
}

.nav-link.active[b-43x83k2es3] {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    font-weight: 600;
}

.nav-icon[b-43x83k2es3] {
    font-size: 1.25rem;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-text[b-43x83k2es3] {
    flex: 1;
    transition: opacity 0.3s ease, width 0.3s ease;
    white-space: nowrap;
}

/* Footer del menú con información de usuario */
.nav-footer[b-43x83k2es3] {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info-menu[b-43x83k2es3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-avatar[b-43x83k2es3] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.user-details[b-43x83k2es3] {
    flex: 1;
    transition: opacity 0.3s ease, width 0.3s ease;
    overflow: hidden;
}

.user-name[b-43x83k2es3] {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.user-role[b-43x83k2es3] {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    white-space: nowrap;
}

/* Overlay oscuro cuando el menú está abierto en móvil */
.nav-overlay[b-43x83k2es3] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    animation: fadeIn-b-43x83k2es3 0.3s ease;
}

@keyframes fadeIn-b-43x83k2es3 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive - Escritorio */
@media (min-width: 768px) {
    .nav-menu[b-43x83k2es3] {
        width: 260px;
    }

    .nav-menu.collapsed[b-43x83k2es3] {
        transform: translateX(0);
    }

    .nav-overlay[b-43x83k2es3] {
        display: none;
    }

    .nav-link:hover[b-43x83k2es3] {
        transform: translateX(0);
    }

    .nav-menu.minimized .nav-link:hover[b-43x83k2es3] {
        transform: scale(1.05);
    }
}

/* Responsive - Tablets */
@media (min-width: 641px) and (max-width: 767px) {
    .nav-menu[b-43x83k2es3] {
        width: 250px;
    }
}

/* Responsive - Móvil */
@media (max-width: 640px) {
    .nav-menu[b-43x83k2es3] {
        width: 85%;
        max-width: 300px;
    }
}


/* /Pages/Home.razor.rz.scp.css */
.home-container[b-6m11cqbcxk] {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-header[b-6m11cqbcxk] {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
}

.welcome-header h1[b-6m11cqbcxk] {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.welcome-subtitle[b-6m11cqbcxk] {
    color: #666;
    font-size: 1.2rem;
    margin: 0;
}

.quick-access[b-6m11cqbcxk] {
    margin-bottom: 2rem;
}

.quick-access h2[b-6m11cqbcxk] {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.quick-access > div[b-6m11cqbcxk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.access-card[b-6m11cqbcxk] {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.access-card:hover[b-6m11cqbcxk] {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.card-icon[b-6m11cqbcxk] {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.access-card h3[b-6m11cqbcxk] {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.access-card p[b-6m11cqbcxk] {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.user-info-section[b-6m11cqbcxk] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.info-badge[b-6m11cqbcxk] {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 3px solid #667eea;
}

.info-badge strong[b-6m11cqbcxk] {
    color: #667eea;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .home-container[b-6m11cqbcxk] {
        padding: 1rem;
    }

    .welcome-header h1[b-6m11cqbcxk] {
        font-size: 1.8rem;
    }

    .welcome-subtitle[b-6m11cqbcxk] {
        font-size: 1rem;
    }

    .user-info-section[b-6m11cqbcxk] {
        flex-direction: column;
    }
}
/* /Pages/Login.razor.rz.scp.css */
.login-container[b-1iy43yjfca] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-card[b-1iy43yjfca] {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 420px;
}

.login-header[b-1iy43yjfca] {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2[b-1iy43yjfca] {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-header h3[b-1iy43yjfca] {
    color: #333;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.form-group[b-1iy43yjfca] {
    margin-bottom: 1.25rem;
}

.form-group label[b-1iy43yjfca] {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.form-control[b-1iy43yjfca] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus[b-1iy43yjfca] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn[b-1iy43yjfca] {
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary[b-1iy43yjfca] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover:not(:disabled)[b-1iy43yjfca] {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled[b-1iy43yjfca] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.w-100[b-1iy43yjfca] {
    width: 100%;
}

.alert[b-1iy43yjfca] {
    padding: 0.875rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.alert-danger[b-1iy43yjfca] {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.login-footer[b-1iy43yjfca] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.users-hint[b-1iy43yjfca] {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.hint-title[b-1iy43yjfca] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.75rem;
    text-align: center;
}

.user-hint[b-1iy43yjfca] {
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border-left: 3px solid #667eea;
}

.user-hint:last-of-type[b-1iy43yjfca] {
    border-left-color: #764ba2;
}

.user-hint strong[b-1iy43yjfca] {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.user-hint small[b-1iy43yjfca] {
    color: #666;
    font-size: 0.85rem;
}

.hint-password[b-1iy43yjfca] {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}

.hint-password code[b-1iy43yjfca] {
    background: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #667eea;
    border: 1px solid #e0e0e0;
}

.validation-message[b-1iy43yjfca] {
    color: #c33;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
/* /Shared/LoginDisplay.razor.rz.scp.css */
.user-info[b-puvr1c54rd] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name[b-puvr1c54rd] {
    color: #333;
    font-weight: 600;
}

.user-role[b-puvr1c54rd] {
    color: #666;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 4px;
    font-weight: 500;
}

.btn[b-puvr1c54rd] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.btn-help[b-puvr1c54rd] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.btn-help:hover[b-puvr1c54rd] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.btn-logout[b-puvr1c54rd] {
    background-color: #dc3545;
    color: white;
}

.btn-logout:hover[b-puvr1c54rd] {
    background-color: #c82333;
}

.btn-login[b-puvr1c54rd] {
    background-color: #0066cc;
    color: white;
}

.btn-login:hover[b-puvr1c54rd] {
    background-color: #0052a3;
}
