@import '_content/Ozytis.Blazor.BaseComponents/Ozytis.Blazor.BaseComponents.bundle.scp.css';

/* /Pages/Facturas.razor.rz.scp.css */
/* Afecta al <video> generado por BarcodeReader dentro de este componente */
.video-wrapper[b-f8iyn1asbe] {
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
    background: transparent;
}

.video-wrapper video[b-f8iyn1asbe] {
    width: 100% !important;   /* ocupa todo el ancho del wrapper */
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important; /* evita recorte: muestra barras si la relaci�n no coincide */
    background: transparent;
}

/* Si la c�mara sigue apareciendo m�s peque�a por estilos de MudBlazor, aseg�rate de resetear m�rgenes */
.video-wrapper[b-f8iyn1asbe],
.video-wrapper .zxing-video-container[b-f8iyn1asbe] {
    margin: 0;
    padding: 0;
}
/* /Pages/Facturas2.razor.rz.scp.css */
/* Afecta al <video> generado por BarcodeReader dentro de este componente */
.video-wrapper[b-8xiyp1y49r] {
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
    background: transparent;
}

.video-wrapper video[b-8xiyp1y49r] {
    width: 100% !important;   /* ocupa todo el ancho del wrapper */
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important; /* evita recorte: muestra barras si la relaci�n no coincide */
    background: transparent;
}

/* Si la c�mara sigue apareciendo m�s peque�a por estilos de MudBlazor, aseg�rate de resetear m�rgenes */
.video-wrapper[b-8xiyp1y49r],
.video-wrapper .zxing-video-container[b-8xiyp1y49r] {
    margin: 0;
    padding: 0;
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-u2ddc7cgas] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-u2ddc7cgas] {
    flex: 1;
}

.sidebar[b-u2ddc7cgas] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-u2ddc7cgas] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-u2ddc7cgas]  a, .top-row .btn-link[b-u2ddc7cgas] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-u2ddc7cgas] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-u2ddc7cgas] {
        display: none;
    }

    .top-row.auth[b-u2ddc7cgas] {
        justify-content: space-between;
    }

    .top-row a[b-u2ddc7cgas], .top-row .btn-link[b-u2ddc7cgas] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-u2ddc7cgas] {
        flex-direction: row;
    }

    .sidebar[b-u2ddc7cgas] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-u2ddc7cgas] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-u2ddc7cgas], article[b-u2ddc7cgas] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
