/* /Pages/Actividad.razor.rz.scp.css */
.actividad-page[b-vs2565hn0q] {
    width: 100%;
}

.actividad-new-btn[b-vs2565hn0q] {
    min-width: 120px;
}

.actividad-table-wrapper[b-vs2565hn0q] {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.actividad-table[b-vs2565hn0q] {
    min-width: 900px;
    margin-bottom: 0;
}

.actividad-acciones-col[b-vs2565hn0q] {
    width: 220px;
}

.actividad-table-buttons[b-vs2565hn0q] {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.actividad-cards[b-vs2565hn0q] {
    display: none;
}

.actividad-card[b-vs2565hn0q] {
    border: 1px solid #dee2e6;
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.actividad-card-disabled[b-vs2565hn0q] {
    opacity: 0.85;
}

.actividad-card-header[b-vs2565hn0q] {
    margin-bottom: 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.actividad-card-title[b-vs2565hn0q] {
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.3;
}

.actividad-card-subtitle[b-vs2565hn0q] {
    margin-top: 0.25rem;
    font-size: 0.92rem;
    color: #6c757d;
}

.actividad-card-body[b-vs2565hn0q] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.actividad-card-row[b-vs2565hn0q] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.actividad-card-label[b-vs2565hn0q] {
    font-size: 0.87rem;
    font-weight: 700;
    color: #495057;
}

.actividad-card-value[b-vs2565hn0q] {
    font-size: 0.95rem;
    color: #212529;
    word-break: break-word;
}

.actividad-card-actions[b-vs2565hn0q] {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

    .actividad-card-actions .btn[b-vs2565hn0q] {
        flex: 1 1 0;
    }

.actividad-form-card[b-vs2565hn0q] {
    border: 1px solid #dee2e6;
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.actividad-form-grid[b-vs2565hn0q] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.actividad-form-field[b-vs2565hn0q] {
    width: 100%;
}

.actividad-form-field-full[b-vs2565hn0q] {
    grid-column: 1 / -1;
}

.actividad-form-check-wrap[b-vs2565hn0q] {
    max-width: 200px;
}

.actividad-form-check[b-vs2565hn0q] {
    display: flex;
    align-items: center;
    min-height: 38px;
}

.actividad-form-actions[b-vs2565hn0q] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

@media (max-width: 767.98px) {

    .actividad-new-btn[b-vs2565hn0q] {
        width: 100%;
    }

    .actividad-filtro-wrap[b-vs2565hn0q] {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    .actividad-table-wrapper[b-vs2565hn0q] {
        display: none;
    }

    .actividad-cards[b-vs2565hn0q] {
        display: block;
    }

    /* Label + valor en la misma fila en las cards */
    .actividad-card-row[b-vs2565hn0q] {
        flex-direction: row !important;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .actividad-card-label[b-vs2565hn0q] {
        min-width: 100px;
        width: 100px;
        flex-shrink: 0;
        font-size: 0.83rem;
        padding-top: 1px;
    }

    .actividad-card-value[b-vs2565hn0q] {
        font-size: 0.88rem;
        flex: 1;
    }

    /* Formulario Nuevo/Editar: label + campo en la misma fila */
    .actividad-form-field[b-vs2565hn0q] {
        display: flex !important;
        align-items: center;
        gap: 10px;
    }

        .actividad-form-field .form-label[b-vs2565hn0q] {
            min-width: 100px;
            width: 100px;
            margin-bottom: 0;
            font-size: 0.88rem;
            flex-shrink: 0;
        }

        .actividad-form-field select[b-vs2565hn0q],
        .actividad-form-field input:not([type="checkbox"])[b-vs2565hn0q] {
            flex: 1;
            min-width: 0;
        }

    .actividad-form-check-wrap[b-vs2565hn0q] {
        max-width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .actividad-form-check-wrap .form-label[b-vs2565hn0q] {
            min-width: 100px;
            width: 100px;
            margin-bottom: 0;
            display: inline-block;
        }

    .actividad-card-actions[b-vs2565hn0q] {
        flex-direction: column;
    }

        .actividad-card-actions .btn[b-vs2565hn0q] {
            width: 100%;
        }

    .actividad-form-actions[b-vs2565hn0q] {
        flex-direction: column;
    }

        .actividad-form-actions .btn[b-vs2565hn0q] {
            width: 100%;
        }
}
/* /Pages/DboEmpresaCrud.razor.rz.scp.css */
.empresa-page[b-cuaroir3dk] {
    width: 100%;
}

.empresa-header[b-cuaroir3dk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.empresa-title[b-cuaroir3dk] {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.empresa-nuevo-btn[b-cuaroir3dk] {
    min-width: 120px;
}

.empresa-loading[b-cuaroir3dk] {
    margin-top: 0.5rem;
}

.empresa-table-wrapper[b-cuaroir3dk] {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.empresa-table[b-cuaroir3dk] {
    min-width: 900px;
    margin-bottom: 0;
}

.empresa-acciones-col[b-cuaroir3dk] {
    width: 180px;
}

.empresa-action-buttons[b-cuaroir3dk] {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.empresa-cards[b-cuaroir3dk] {
    display: none;
}

.empresa-card[b-cuaroir3dk] {
    border: 1px solid #dee2e6;
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.empresa-card-header[b-cuaroir3dk] {
    margin-bottom: 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.empresa-card-title[b-cuaroir3dk] {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
}

.empresa-card-id[b-cuaroir3dk] {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.2rem;
}

.empresa-card-body[b-cuaroir3dk] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.empresa-card-row[b-cuaroir3dk] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.empresa-card-label[b-cuaroir3dk] {
    font-size: 0.87rem;
    font-weight: 700;
    color: #495057;
}

.empresa-card-value[b-cuaroir3dk] {
    font-size: 0.95rem;
    color: #212529;
    word-break: break-word;
}

.empresa-card-actions[b-cuaroir3dk] {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

    .empresa-card-actions .btn[b-cuaroir3dk] {
        flex: 1 1 0;
    }

@media (max-width: 767.98px) {

    .empresa-header[b-cuaroir3dk] {
        flex-direction: column;
        align-items: stretch;
    }

    .empresa-title[b-cuaroir3dk] {
        font-size: 1.4rem;
    }

    .empresa-nuevo-btn[b-cuaroir3dk] {
        width: 100%;
    }

    .empresa-table-wrapper[b-cuaroir3dk] {
        display: none;
    }

    .empresa-cards[b-cuaroir3dk] {
        display: block;
    }

    /* Label + valor en la misma fila */
    .empresa-card-row[b-cuaroir3dk] {
        flex-direction: row !important;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .empresa-card-label[b-cuaroir3dk] {
        min-width: 110px;
        width: 110px;
        flex-shrink: 0;
        font-size: 0.83rem;
        padding-top: 1px;
    }

    .empresa-card-value[b-cuaroir3dk] {
        font-size: 0.88rem;
        flex: 1;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.nav-wrapper[b-9kvofw7qa7] {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: width 0.25s ease, min-width 0.25s ease;
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
}

    .nav-wrapper.is-collapsed[b-9kvofw7qa7] {
        width: var(--sidebar-collapsed-width);
        min-width: var(--sidebar-collapsed-width);
    }

        /* 👉 Al pasar el mouse sobre el menú colapsado, se expande */
        .nav-wrapper.is-collapsed:hover[b-9kvofw7qa7] {
            width: var(--sidebar-width);
            min-width: var(--sidebar-width);
        }

        .nav-wrapper.is-collapsed .nav-text[b-9kvofw7qa7],
        .nav-wrapper.is-collapsed .ms-3[b-9kvofw7qa7] {
            display: none !important;
        }

        .nav-wrapper.is-collapsed:hover .nav-text[b-9kvofw7qa7],
        .nav-wrapper.is-collapsed:hover .ms-3[b-9kvofw7qa7] {
            display: block !important;
        }

        .nav-wrapper.is-collapsed .oi[b-9kvofw7qa7] {
            margin-right: 0;
            width: auto;
            font-size: 1.2rem;
        }

        .nav-wrapper.is-collapsed:hover .oi[b-9kvofw7qa7] {
            margin-right: 14px;
            width: 26px;
            font-size: 1.05rem;
        }

/* Resto de estilos originales */
.nav-scrollable[b-9kvofw7qa7] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 0 16px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

    .nav-scrollable[b-9kvofw7qa7]::-webkit-scrollbar {
        display: none;
    }

.oi[b-9kvofw7qa7] {
    width: 26px;
    font-size: 1.05rem;
    margin-right: 14px;
    vertical-align: middle;
    flex-shrink: 0;
    text-align: center;
}

.nav-item[b-9kvofw7qa7] {
    font-size: 1rem;
    padding-bottom: 0.55rem;
    background-color: transparent !important;
}

    .nav-item:first-of-type[b-9kvofw7qa7] {
        padding-top: 0.15rem;
    }

    .nav-item:last-of-type[b-9kvofw7qa7] {
        padding-bottom: 1rem;
    }

    .nav-item[b-9kvofw7qa7]  a,
    .logout-link[b-9kvofw7qa7] {
        color: inherit !important;
        border-radius: 14px;
        min-height: 3.1rem;
        display: flex;
        align-items: center;
        line-height: 1.25rem;
        padding: 0.9rem 1rem;
        background-color: transparent !important;
        text-decoration: none;
        font-weight: 700;
        font-size: 1rem;
        transition: all 0.18s ease;
        border: none !important;
        width: 100%;
        text-align: left;
        box-shadow: none !important;
    }

        .nav-item[b-9kvofw7qa7]  a.active {
            background-color: rgba(255, 255, 255, 0.22) !important;
            color: inherit !important;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        }

        .nav-item[b-9kvofw7qa7]  a:hover,
        .logout-link:hover[b-9kvofw7qa7] {
            background-color: rgba(255, 255, 255, 0.18) !important;
            color: inherit !important;
            transform: translateX(4px);
        }

        .logout-link:focus[b-9kvofw7qa7],
        .logout-link:focus-visible[b-9kvofw7qa7],
        .logout-link:active[b-9kvofw7qa7] {
            outline: none !important;
            box-shadow: none !important;
            color: inherit !important;
        }

.nav-text[b-9kvofw7qa7] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}

@media (max-width: 640.98px) {
    .nav-wrapper[b-9kvofw7qa7] {
        height: 100%;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .nav-scrollable[b-9kvofw7qa7] {
        flex: 1 1 auto;
        height: 100%;
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 28px;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .nav-item[b-9kvofw7qa7]  a,
    .logout-link[b-9kvofw7qa7] {
        min-height: 2.95rem;
    }

    .nav-text[b-9kvofw7qa7] {
        font-size: 0.98rem;
    }
}
