﻿/* CSS Admin nuevo */

/*FUENTES*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;600;700&display=swap');


.texto-regular {
    font-family: Montserrat-Regular;
}

.texto-medium {
    font-family: Montserrat-Medium;
}

.texto-semibold {
    font-family: Montserrat-SemiBold;
}


html {
    font-size: 16px !important;
}

/*VARIABLES COLORES*/
:root {
    /* --main-bg-color-azul-oscuro: #2F455C;
    --main-bg-color-azul-base: #3B5875;
    --main-bg-color-gris-base: #eaeaea;
    --main-bg-color-negro-base: #1E1E1E;
    --main-bg-color-verde-base: #36912f; */
    /* Fuente base */
    --font-sans: "Inter", "Roboto", sans-serif;
    /* Tamaños tipográficos */
    --fs-2xs: 0.625rem; /* 10px */
    --fs-xs: 0.75rem; /* 12px */
    --fs-sm: 0.875rem; /* 14px */
    --fs-base: 1rem; /* 16px */
    --fs-lg: 1.125rem; /* 18px */
    --fs-xl: 1.25rem; /* 20px */
    --fs-2xl: 1.5rem; /* 24px */
    --fs-4xl: 2.25rem; /* 36px */
    /* Pesos */
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
}

/* DEFINICION DE TAMAÑOS */
.text-2xs {
    font-size: var(--fs-2xs);
    font-weight: var(--fw-medium);
    font-family: var(--font-sans);
}

.text-xs {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    font-family: var(--font-sans);
}

.text-sm {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    font-family: var(--font-sans);
}

.text-base {
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    font-family: var(--font-sans);
}

.text-lg {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    font-family: var(--font-sans);
}

.text-xl {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    font-family: var(--font-sans);
}

.text-2xl {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    font-family: var(--font-sans);
}

.text-4xl {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    font-family: var(--font-sans);
}


/*ESTILOS BODY*/
body {
    font-family: "Inter", "Roboto", sans-serif !important;
    background-color: #F9FAFB !important;
    color: #374151;
    font-size: 1rem;
    line-height: 1.2;
}
.header {
    background-color: #1c293c;
}

/*ESTILOS BOTON*/
.btn {
    height: 36px;
    border-radius: 6px;
}


.btn-outline-secondary {
    border: 1px solid #E2E8F0 !important;
    border-radius: 6px;
    color: #0F172A;
    font-weight: 600;
}

    .btn-outline-secondary:hover {
        background-color: #F1F5F9;
        border-color: #CBD5E1;
        color: #0F172A;
        text-decoration: none;
    }

/*ESTILOS COLOR FONDO*/
.azul_base_fondo {
    background-color: var(--main-bg-color-azul-base);
}

.azul_oscuro_fondo {
    background-color: var(--main-bg-color-azul-oscuro);
}

.azul_base_texto {
    color: var(--main-bg-color-azul-base);
}

.azul_oscuro_texto {
    color: var(--main-bg-color-azul-oscuro);
}

.color_base_texto {
    color: var(--main-bg-color-negro-base);
}

.verde_base_fondo {
    background-color: var(--main-bg-color-verde-base);
}

.verde_base_texto {
    color: var(--main-bg-color-verde-base);
}

/*ESTILOS CAJA DE TEXTO*/
.text_box {
    border-color: white !important;
    border-radius: 10px !important;
    border: 0px !important;
    height: auto !important;
}

.text_box_content {
    border-color: var(--main-bg-color-gris-base) !important;
    background-color: var(--main-bg-color-gris-base) !important;
    border-radius: 15px !important;
    border: 0px !important;
    height: auto !important;
}


/*ESTILOS TITULOS TEXTOS*/
.text_menu_item {
    font-family: Montserrat-Regular;
    font-size: 11px;
}

/*************************************************************************************/
.custom-control {
    line-height: 1.5;
}

.CONTROL_CONTAINER {
    border: none;
}

.border-light {
    border: none;
}

.dropdown-item {
    padding-left: 4px;
}

.header-icono {
    width: 40px;
    height: 40px;
    background-color: #dc3545;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #7a7f87 !important; /* o cualquier otro color que necesites */
}

/* Color personalizado para el ítem activo */
.breadcrumb-item.active {
    color: #E05260 !important;
    font-weight: 600;
}

.home-breadcrumb {
    height: 20px;
    width: 20px;
}

#lblModuloSeleccionado {
    color: #E2E8F0 !important;
}

.search-icon-header {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    width: 18px;
    height: 18px;
}

.search-input-header {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}



.icono-header {
    width: 18px;
    height: 18px;
    margin-inline: 4px; /* separa entre íconos */
}

.avatar-placeholder {
    background-color: #4a4f56; /* gris oscuro */
    width: 32px;
    height: 32px;
}

.lucide-avatar-icon {
    width: 18px;
    height: 18px;
    color: white;
    stroke-width: 1.5;
}

.icono-abm {
    width: 1rem;
    stroke-width: 2px;
}

.btn-abm {
    border: 1px solid #E2E8F0 !important;
    border-radius: 6px;
    color: #0F172A;
    font-weight: 500;
    padding: 15px 14px;
    font-weight: 600;
}

    .btn-abm:hover {
        background-color: #F1F5F9;
        border-color: #CBD5E1;
        color: #0F172A;
        text-decoration: none;
    }

#barra-funciones-abm {
    background-color: #FFFFFF;
    border-bottom: 0.8px solid #E5E7EB;
    padding-inline: 44px;
    padding-block: 12px; /* ya definido para la altura de 44px */
}

.btn-cruz-roja {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #BA0000 !important;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.icono-cruz-roja {
    width: 13px;
    height: 13px;
    stroke: #BA0000;
    stroke-width: 2;
}

/*
#boton-barra-nuevo {
    background-color: #FD4E5D !important;
    color: white;
    border-color: #FD4E5D !important;
}

#boton-barra-excel {
    color: #16A34A;
    border-color: #ADF0C6 !important;
}*/
/*
#boton-barra-eliminar {
    color: #BA0000;
    border-color: #FECACA !important;
}


*/

#boton-barra-guardar, #boton-barra-agregar {
    background-color: #16A34A;
    border-color: #16A34A !important;
    color: white;
}

.dropdown-menu-modulos {
    width: 250px;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 8px;
}

.modulos-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modulo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    color: #1a202c;
    cursor: pointer;
}

    .modulo-item:hover {
        background-color: #F1F5F9;
    }


.tobbar {
    padding: 0px;
}

.mainmenu {
    padding: 0;
}

.mainmenu .navbar-nav li a {
    color: black;
    font-weight: bold;
    font-size: 11px;
}

.mainmenu .navbar-nav li a img {
    width: 38px !important;
}

.mainmenu .navbar-nav .nav-link {
    padding-right: 0.2rem;
    padding-left: 0.2rem;
}

footer {
    background-color: #192124;
    color: white !important;
    font-size: 11px;
    border-top: 0px !important;
}

.tab-pane {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-top: none;
}

/*LOGIN ESTILOS**************** */
.color_fondo {
    background-color: #192124;
}

.mainmenulogin {
    border-top: 1px solid #fe504b !important;
    border-bottom: 1px solid #fe504b !important;
    background-color: #192124 !important;
    padding: 0;
    color: white;
}

.titulonav p {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.texto_login {
    color: white;
}

.ancho_caja_login {
    width: 400px;
}
/******************************* */

/*fin FUENTES****************/

/*INPUTs******************************/
/*BUTTON*/
button {
    border: 0 none !important;
    height: 24px;
}
/*INPUT TEXT*/
/* input[type=text], input[type=email], input[type=number] {
    padding: 3px;
    background: #fff;
    border: 0 none;
    font-size: 11px;
    height: 2.5rem;
}
/*SELECT, DROPDOWN LIST
select {
    border: 0 none !important;
    height: 24px !important;
}
/*TEXTAREA
textarea {
    border: 0 none !important;
} */

/*FIN INPUTs**************************/

/*TABs*********************************/
/* ul.nav {
    background-color: #4d4d4d;
}

li.nav-item a.nav-link.active {
    background-color: #4d4d4d !important;
    font-family: Gotham-bold;
}

li.nav-item a.nav-link {
    color: white;
}

.navbar li.nav-item a.nav-link {
    color: black !important;
    font-weight: bold;
}

div.tab-pane {
    background-color: #f1f1f1 !important;
}



    ul.nav li.nav-item a.nav-link {
        border: 0 none !important;
    } */
/*FIN TABs*****************************/


/* CAMBIOS TABCONTAINER */
.form-group.CONTROL_TABCONTAINER .input-group-append > button {
    background-color: transparent !important;
}

.CONTROL_TABCONTAINER ul.nav {
    background-color: #ffffff;
    border: 1px solid #E5E7EB; /* gris claro moderno */
    border-radius: 8px 8px 0px 0px;
}

.CONTROL_TABCONTAINER li.nav-item a.nav-link.active {
    color: #0A0A0A;
    font-weight: 700;
    border-bottom: 1px solid #000000;
    background-color: transparent;
}

.tab-content {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.tab-pane {
    padding: 20px;
}

div.tab-pane {
    background-color: #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-left: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.CONTROL_TABCONTAINER .nav-tabs .nav-link {
    font-size: 1.1rem;
    color: #555;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px 8px 0 0;
    background-color: transparent;
    font-weight: 500;
    font-size: 14px;
}

.CONTROL_TABCONTAINER .nav-tabs {
    border-bottom: 1px solid #eee;
}

    .CONTROL_TABCONTAINER .nav-tabs .nav-link:hover {
        background-color: #f8f8f8;
    }


/* FIN MODIFICACIONES TABCONTAINERS */


/*PANEL********************************/


.form-group {
    // margin-bottom: 0.6rem !important;
}

/* label {
    display: inline-block;
    margin-bottom: 0.2rem !important;
} */

.CONTROL_ABM label {
    font-size: 0.875rem; /* más compacto */
    font-weight: 600; /* más marcado */
    color: #374151; /* negro suave */
    padding-bottom: 0.5rem;
}


/*FIN PANEL****************************/

/*ESTILOS GLOBALES************/


/*FIN ESTILOS GLOBALES********/


/**/
/*** ESTILO DE BOTONES PRIMARIOS ****/

.btn-primary, .btn-success {
    background-color: #fe504b !important;
    border: 1px solid #fe504b !important;
    color: white;
    border: none;
}

    .btn-primary:hover, .btn-success:hover {
        background-color: #fa231b !important;
        border: 1px solid #fa231b !important;
        color: white;
        border: none;
    }

.btn-secondary {
    background-color: #116ACC !important;
}

.btn-danger {
    background-color: #dc3545 !important;
}

.btn-info {
    background-color: #12a2bb !important;
}

.btn-warning {
    background-color: #ffc107 !important;
}

.btn-default {
    background-color: #fff !important;
}

.CONTROL_GRID .btn-primary {
    background-color: #fff !important;
    color: #22262A;
    border: solid 1px #E0E6EB !important;
    border-radius: 6px !important;
    --bs-btn-padding-y: 0px;
}
/* 
.CONTROL_GRID .btn-primary::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXBlbi1pY29uIGx1Y2lkZS1wZW4iPjxwYXRoIGQ9Ik0yMS4xNzQgNi44MTJhMSAxIDAgMCAwLTMuOTg2LTMuOTg3TDMuODQyIDE2LjE3NGEyIDIgMCAwIDAtLjUuODNsLTEuMzIxIDQuMzUyYS41LjUgMCAwIDAgLjYyMy42MjJsNC4zNTMtMS4zMmEyIDIgMCAwIDAgLjgzLS40OTd6Ii8+PC9zdmc+);
    background-size: contain;
    position: absolute;
    transform: translate(-50%, -50%);
} */

.CONTROL_GRID .btn-danger {
    background-color: #E05260 !important;
    border-radius: 6px !important;
    --bs-btn-padding-y: 0px;
}
/* 
.CONTROL_GRID .btn-danger::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXRyYXNoMi1pY29uIGx1Y2lkZS10cmFzaC0yIj48cGF0aCBkPSJNMTAgMTF2NiIvPjxwYXRoIGQ9Ik0xNCAxMXY2Ii8+PHBhdGggZD0iTTE5IDZ2MTRhMiAyIDAgMCAxLTIgMkg3YTIgMiAwIDAgMS0yLTJWNiIvPjxwYXRoIGQ9Ik0zIDZoMTgiLz48cGF0aCBkPSJNOCA2VjRhMiAyIDAgMCAxIDItMmg0YTIgMiAwIDAgMSAyIDJ2MiIvPjwvc3ZnPg==);
    background-size: contain;
    position: absolute;
    transform: translate(-50%, -50%);
} */

.CONTROL_GRID .btn-info {
    background-color: #E05260 !important;
    border-radius: 6px !important;
    --bs-btn-padding-y: 0px;
}


/* Seleccion de la fila */
.table > tbody > tr.selected > * {
    background-color: #edf0f5 !important;
    box-shadow: none !important;
    color: #000000 !important;
}

/* Hover de la fila */

.table-hover tbody tr:hover {
    font-weight: 500;
    color: #222 !important;
    --bs-table-hover-bg: #f2f2f2;
}

/* Estilo base de la tabla */
.datagrid table.dataTable {
    font-size: 0.95rem;
}

.table-bordered th, .table-bordered td {
    border: none;
}

.table.dataTable {
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

/* ENCABEZADO DE LA TABLA */
.datagrid thead th {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    background-color: transparent;
    border: none;
    padding: 0.5rem 0.75rem;
}

/* Celdas */
.datagrid td {
    padding: 0.5rem 1rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    vertical-align: middle;
}

table.dataTable > tbody > tr > td.select-checkbox {
    color: #E05260;
}

div[id*="fila-navegando"] {
    padding-top: 5px;
}


/*** FIN ESTILO DE GRILLAS ****/

/*** ESTILO DE TABS ****/

.tab-content {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.input-group-text {
    height: 34px;
    border: none;
    background: none;
}

.bg-primary {
    background-color: #4d4d4d !important;
}
/*** FIN ESTILO DE TABS ****/

/*Corrige el scrool al abrir mas de un modal */
.modal {
    overflow-y: auto !important;
}

/*Da formato al panel*/
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.panel-primary {
    border-color: #fe504b !important;
}

    .panel-primary > .panel-heading {
        color: #fff;
        background-color: #fe504b !important;
        border-color: #fe504b !important;
    }
/*END PANEL*/

/*DIV LOANDING*/

.spinner2 {
    position: fixed;
    z-index: 1000000;
    /* make higher than whatever is on the page */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(255,255,255, 0.4);
}

.spinner-in {
    position: fixed;
    z-index: 1000000;
    /* make higher than whatever is on the page */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 70px;
    height: 70px;
    border: 10px solid #eee;
    border-top: 10px solid #666;
    border-radius: 50%;
}

/*END DIV LOANDING*/

/*Acomoda de forma correcta las grillas*/
table.dataTable {
    white-space: nowrap;
}
/*length de table*/
.tablelength350 .dataTables_wrapper {
    height: 350px;
}

.dataTables_scrollBody table thead {
    visibility: collapse;
}

.controlembedgrid label, .controlembedgrid br {
    display: none
}

.controlembedgrid .form-group {
    margin-bottom: 0px !important;
}

/*end length table*/


/*end arregla scroll de las grillas*/

/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */


@media (min-width: 768px) {
    html {
        font-size: 11px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

.controlembedgrid label {
    display: none;
}

/* CSS PARA MODIFICAR EL DISEÑO DE LOS CONTROLES DE JK3 */
.form-group > button {
    border-radius: 5pt;
}

.form-group.CONTROL_NRO_COMPROBANTE .row.no-gutters div > input {
    border-radius: 5pt;
}

/* .form-group > input {
		background: transparent;
		border-bottom: solid 2px black;
		font-weight: bold;
	}
	
	.form-group > input:focus {
		background: transparent;
		outline: 0;
	} */

input {
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    font-size: 0.95rem !important;
    color: #333 !important;
    padding: 0.6rem 0.75rem !important;
    font-family: 'Roboto', sans-serif !important;
    text-transform: none !important;
    box-shadow: none !important;
    transition: border 0.2s, box-shadow 0.2s;
    height: 2.5rem;
}

    input:focus {
        border-color: #116ACC !important; /* secondary */
        box-shadow: 0 0 0 2px rgba(17, 106, 204, 0.15) !important;
        outline: none !important;
    }

/* nuevo select */
select {
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 0.95rem !important;
    color: #333 !important;
    padding: 0.6rem 0.75rem !important;
    appearance: auto !important;
    background-image: none !important;
    transition: border 0.2s, box-shadow 0.2s;
}

    select:focus {
        border-color: #116ACC !important;
        box-shadow: 0 0 0 2px rgba(139, 29, 71, 0.15) !important;
        outline: none !important;
    }

/* .form-group > textarea {
		border-radius: 5pt;
	}
	
	.form-group > select {
		border-radius: 5pt;
	} */

/* select ajax*/
/* .form-group.selectdataset .input-group {
		border-radius: 5pt;
		background-color: white;
	}
	
	.form-group.selectdataset .input-group[disabled] {
		border-radius: 5pt;
		/*background-color: #e9ecef;
		background-color: #CCCCCC;
	}
	
	.form-group.selectdataset .input-group > input[disabled] {
		border-radius: 5pt;
		background-color: #CCCCCC;
	}
	
	.form-group.selectdataset .input-group > input {
		border-radius: 5pt;
		background: transparent;
	}
	
	.form-group.selectdataset .input-group .input-group-append {
		padding: 2pt 1pt;
	} */

.input-group {
    border: 1px solid #D1D5DB !important; /* gris claro moderno */
    border-radius: 6px !important;
    background-color: #fff !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #0A0A0A !important;
    box-shadow: none !important;
    transition: border 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .input-group input {
        border: none !important;
        font-family: 'Roboto', sans-serif !important;
        padding: 0.6rem 0.75rem !important;
        color: #333 !important;
        font-size: 0.95rem !important;
        text-transform: none !important;
    }


    .input-group:focus-within {
        border-color: #116ACC !important; /* secondary */
        box-shadow: 0 0 0 2px rgba(17, 106, 204, 0.15) !important;
    }

.input-group-append .btn {
    border: none !important;
    padding: 0.375rem 0.75rem !important;
    background-color: transparent !important;
    color: var(--color-secondary) !important;
    font-size: 1rem;
}

/* input search*/
/*.form-group.inputsearch .input-group {
		border-radius: 5pt;
		background-color: white;
	}
	
	.form-group.inputsearch .input-group[disabled] {
		border-radius: 5pt;
		background-color: #CCCCCC;
	}
	
	.form-group.inputsearch .input-group > input[disabled] {
		border-radius: 5pt;
		background-color: #CCCCCC;
	}
	
	.form-group.inputsearch .input-group > input {
		border-radius: 5pt;
		background: transparent;
	}
	
	.form-group.inputsearch .input-group .input-group-append {
		padding: 2pt 1pt;
	}*/

/*	div:not(.selectdataset, .inputsearch).form-group .input-group-append {
		padding: 0pt 0pt;
	}
	
	div:not(.selectdataset, .inputsearch).form-group .input-group-append > span {
		border-radius: 5pt;
	}
*/

.input-group-append > button {
    border-radius: 5pt;
    height: 15pt;
    width: 15pt;
    background-color: #4d4d4d !important;
    justify-content: center;
    display: flex;
}

.form-group .input-group {
    margin: 0px;
}

    .form-group .input-group > input {
        border-radius: 5pt;
        padding: 0pt 5pt;
    }

/* li.nav-item a.nav-link.active {
		border-top-left-radius: 5pt;
		border-top-right-radius: 5pt;
		color: #e75150 !important;
	} */

ul.nav.nav-tabs {
    border-top-left-radius: 5pt;
    border-top-right-radius: 5pt;
}

.card.card-default {
    border: 0.8px solid #E5E7EB;
    border-radius: 5pt;
}

.card.card-sombreado {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* sombra tenue */
}

.card-footer {
    border-top: 0.8px solid #E5E7EB;
}

.form-group .card.card-default > .card-header {
    border-top-left-radius: 5pt;
    border-top-right-radius: 5pt;
}

/* .form-group.CONTROL_TABCONTAINER .form-group {
		border-bottom-left-radius: 5pt;
		border-bottom-right-radius: 5pt;
	}
	
	.form-group.CONTROL_TABCONTAINER .form-group > input {
		border-radius: 5pt;
		background-color: #e0e0e0;
		border: none;
		padding: 0pt 5pt;
	}

	.form-group.CONTROL_TABCONTAINER .form-group .input-group {
		border-radius: 5pt;
		background-color: #e0e0e0;
	}
	
	.form-group.CONTROL_TABCONTAINER .form-group .input-group > input {
		border-radius: 5pt;
		background: transparent;
	}
	

	
	.form-group.CONTROL_TABCONTAINER .input-group-append > button {
		border-radius: 5pt;
		height: 15pt;
		width: 15pt;
		background-color: #4d4d4d !important;
		justify-content: center;
		display: flex;
	} */





.input-group-append button > span {
    line-height: 1.5;
}
/* FIN CSS PARA MODIFICAR EL DISEÑO DE LOS CONTROLES DE JK3 */


/* CSS PARA MODIFICAR LA DISPOSICION GRAFICA DE LOS CONTROLES EN JK3 */
.form-control {
    height: 34px;
}

.form-group > .form-control {
    margin-bottom: 15px;
    height: 36px;
}



.form-group-checkbox > br, .form-group-radio > br {
    display: none;
}

.form-group-checkbox, .form-group-radio {
    margin-top: 5px;
}

.form-group.no-label > label {
    display: none;
}

.form-group.no-label.no-br > br {
    display: none;
}

/* contenedor de label e input-group/form-control */
.label-izq-20, .label-izq-40, .label-izq-50, .label-izq-60, .label-izq-80 {
    display: table;
}

    .label-izq-20 > label, .label-izq-40 > label,
    .label-izq-50 > label, .label-izq-60 > label,
    .label-izq-80 > label {
        display: inline-block;
        padding-left: 0px;
        padding-right: 5px;
        vertical-align: top;
    }

    .label-izq-20 > .input-group, .label-izq-20 > input[type=text]:first-child,
    .label-izq-40 > .input-group, .label-izq-40 > input[type=text]:first-child,
    .label-izq-50 > .input-group, .label-izq-50 > input[type=text]:first-child,
    .label-izq-60 > .input-group, .label-izq-60 > input[type=text]:first-child,
    .label-izq-80 > .input-group, .label-izq-80 > input[type=text]:first-child {
        display: flex;
        padding-left: 0px;
        padding-right: 0px;
    }

    /* para select Ajax, search y demas controles compuestos no nativos de html */
    /*.label-izq-20 > input[type=text], .label-izq-20 > .input-group > input[type=text], .label-izq-20 > .input-group > .input-group-append,
    .label-izq-40 > input[type=text], .label-izq-40 > .input-group > input[type=text], .label-izq-40 > .input-group > .input-group-append,
    .label-izq-50 > input[type=text], .label-izq-50 > .input-group > input[type=text], .label-izq-50 > .input-group > .input-group-append,
    .label-izq-60 > input[type=text], .label-izq-60 > .input-group > input[type=text], .label-izq-60 > .input-group > .input-group-append,
    .label-izq-80 > input[type=text], .label-izq-80 > .input-group > input[type=text], .label-izq-80 > .input-group > .input-group-append {
        /*display: inline-block;*/


    /* para control input comprobante */
    .label-izq-20 .no-gutters input[type=text],
    .label-izq-40 .no-gutters input[type=text],
    .label-izq-50 .no-gutters input[type=text],
    .label-izq-60 .no-gutters input[type=text],
    .label-izq-80 .no-gutters input[type=text] {
        width: 100%;
    }

    .label-izq-20 > label:first-child {
        width: 20%;
        display: table-cell;
    }

    .label-izq-40 > label:first-child {
        width: 40%;
        display: table-cell;
    }

    .label-izq-50 > label:first-child {
        width: 50%;
        display: table-cell;
    }

    .label-izq-60 > label:first-child {
        width: 60%;
        display: table-cell;
    }

    .label-izq-80 > label:first-child {
        width: 80%;
        display: table-cell;
    }
/* CSS PARA MODIFICAR LA DISPOSICION GRAFICA DE LOS CONTROLES EN JK3 */
.text-center.lead {
    width: 100%;
    border: 2px solid #000 !important;
    text-align: center !important;
    background-color: #ddd;
    font-weight: bold !important;
    font-size: 13px;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.nav-link {
    padding: 0.1rem;
}

.nav-tabs .nav-link {
    padding: 3pt;
}

/* -- Estilos para la modal clase: modal-extra --*/
/* Modificar el tamaño de la modal */
.modal-extra.modal-xl {
    max-width: 100%;
}

    /* Modificar el tamaño del cuerpo de la modal */
    .modal-extra.modal-xl .modal-body {
        padding: 20px;
    }

.icono_notificacion {
    font-size: 23px;
    line-height: 1.1;
    color: #d8a601;
}



.icono-con-numero {
    position: relative;
    display: inline-block;
    top: 5px;
    font-size: 20px;
    cursor: pointer;
}

.icono-con-numero-n {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px; /* Ajusta el tamaño del número según tus necesidades */
    font-weight: bold;
    color: #000000;
}





/* TOAST NUEVOS */
/* Posición arriba a la derecha, pill, borde y sombra suave */
#bs-toast {
    position: fixed !important;
    top: 145px;
    bottom: auto !important;
    left: auto !important;
    z-index: 1080;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--toast-border);
    background: var(--toast-bg);
    color: var(--toast-fg);
    display: flex;
    min-width: 26.25rem;
    max-width: 35rem;
    min-height: 4rem;
}

    /* Unificar header+body como una sola tarjeta */
    #bs-toast .toast-header,
    #bs-toast .toast-body {
        background: transparent !important;
        color: inherit !important;
        border: 0 !important;
    }




    #bs-toast .toast-header {
        padding: .75rem 1rem .5rem 1rem;
        align-items: center;
        gap: 10px;
    }

    #bs-toast .toast-body {
        padding: 0 1rem 1rem 2.25rem; /* alinea texto con el icono */
        font-size: .975rem;
    }

    /* Ícono Lucide */
    #bs-toast #bs-toast-icon {
        font-size: 1.625rem;        
        display: inline-block;
    }

    /* Título opcional (lo dejamos más sutil o podés ocultarlo) */
    #bs-toast .bsnotify-titulo {
        font-weight: 600;
        margin-right: .25rem;
        font-size: 1rem
    }

    /* Botón de cierre moderno */
    #bs-toast .close {
        all: unset;
    }

    #bs-toast .btn-close {
        margin-left: .5rem;
        opacity: .6;
    }

        #bs-toast .btn-close:hover {
            opacity: .9;
        }

    /* Variantes con CSS variables */
    #bs-toast.jk-toast {
        --toast-bg: #fff;
        --toast-border: #e5e7eb;
        --toast-fg: #111827;
    }

    #bs-toast.jk-toast--info {
        --toast-bg: #e6f7fb;
        --toast-border: #7dd3fc;
        --toast-fg: #075985;
    }

    #bs-toast.jk-toast--success {
        --toast-bg: #e9f7ef;
        --toast-border: #86efac;
        --toast-fg: #065f46;
    }

    #bs-toast.jk-toast--warning {
        --toast-bg: #fff7e6;
        --toast-border: #fde68a;
        --toast-fg: #854d0e;
    }

    #bs-toast.jk-toast--error {
        --toast-bg: #fdecec;
        --toast-border: #fca5a5;
        --toast-fg: #7f1d1d;
    }

/* Bordecito sutil tipo mockup */
#bs-toast {
    box-shadow: 0 0 0 1px var(--toast-border) inset, 0 8px 24px rgba(2,8,23,.08);
}

    /* Si querés idéntico a mockup (una sola línea), podés ocultar el título: */
    #bs-toast .bsnotify-msg {
        display: none;
    }


#resultados-search-procesos-abm.dropdown-menu {
    max-height: 400px; /* ajustá el valor que quieras */
    overflow-y: auto; /* agrega scroll vertical */
    overflow-x: hidden; /* evita scroll horizontal */
}

    #resultados-search-procesos-abm.dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }

    #resultados-search-procesos-abm.dropdown-menu::-webkit-scrollbar-thumb {
        background-color: #bbb;
        border-radius: 3px;
    }

/*LOGIN NUEVO*/

/* ====== Panel de imagen ====== */
.login-page .hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    border-top-right-radius: 3rem; /* 48px */
    border-bottom-right-radius: 3rem; /* 48px */
    background-image: url('/images/fondologin.jpg'); /* imagen de fondo */
    background-size: cover;
    background-position: center;
}

.login-page .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: .25; /* velo suave */
}

/* ====== Tarjeta de login ====== */
.login-page .login-card {
    width: 100%;
    max-width: 35rem; /* 448px */
    border: 0;
    border-radius: 0.5rem; /* 8px */
    box-shadow: 0 18px 40px rgba(28,41,60,.08);
    background: #ffffff;
    padding: 1.5rem; /* 24px */
}

/* Logo / Badge */
.login-page .brand-badge {
    border-radius: 0.875rem; /* 14px */
    display: flex;
    justify-content: center;
    place-items: center;
    color: #fff;
    margin-inline: auto;
    margin-top: -2.375rem; /* -38px */
}

.login-page .brand-badge img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.login-title {
    font-weight: 700;
    letter-spacing: .2px;
}

.login-page .form-text-muted {
    color: #6b7280;
}

/* ====== Labels ====== */
.login-card .form-label {
    color: #344256;
    font-size: 0.875rem; /* 14px */
    font-weight: 600;
    margin-bottom: 0.5rem; /* 8px */
}

/* ====== Input group ====== */
.login-card .input-group {
    align-items: stretch;
    margin-bottom: 1.5rem; /* 24px */
}

/* Alturas iguales */
.login-card .input-group .form-control,
.login-card .input-group .input-group-text,
.login-card .input-group .ocultarContraseña {
    height: 3rem; /* 48px */
    font-size: 0.9375rem; /* 15px */
    line-height: 1.2;
    /*border: 1px solid #DDE0E3;*/
    background-color: #F3F4F6 !important;
}

/* Icono izquierdo */
.login-card .input-group-text {
    width: 3rem;
    display: grid;
    place-items: center;
    padding: 0;
    color: #65758B;
    border-right: 0; /* evita borde doble */
    border-radius: 0.375rem 0 0 0.375rem;   /* 8px izq */
}

/* Campo */
.login-card .input-group .form-control {
    border-radius: 0 !important;
}

.login-card #tbUsuario {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}
/* Botón ojo */
.login-card .input-group .ocultarContraseña {
    height: 3rem !important;
    width: 3rem;
    display: grid;
    place-items: center;
    padding: 0;
    color: #65758B;
    border: none !important;
    border-radius: 0 0.375rem 0.375rem 0;
}

.login-card .input-group .btn-toggle:hover {
    background-color: #ECEFF3;
}

/* Focus consistente */
.login-card input:focus {
    box-shadow: none !important;
}

/* SVG Lucide */
.login-card .input-group .lucide {
    stroke: #65758B;
    stroke-width: 1.75;
    font-size: 1.25rem;
}

/* ====== Footer ====== */
.app-footer {
    color: #64748B;
    font-size: .9rem;
    transform: translateY(10rem);
}

@media (max-width: 62em) {
    .login-page .hero-col {
        display: block !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .login-page .hero-col .hero {
        height: 80dvh;
        min-height: 22rem;
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        position: relative;
        z-index: 1;
    }

    .login-page .form-col {
        position: relative;
        z-index: 2;
        transform: translateY(-36rem);
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


/*Pagina def inicio nueva*/

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* izq | centro | der */
    align-items: center;
    gap: .5rem;
}

/* Centro siempre bien centrado */
.header-grid .search-col {
    justify-self: center;
    width: 150%;
    max-width: 400px; /* tu límite */
}

/* Bloque derecho pegado a la derecha */
.header-grid .right-col {
    justify-self: end;
}

/* Responsive: en mobile apilado */
@media (max-width: 768px) {
        .header-grid {
            grid-template-columns: 1fr;
        }

        .header-grid .search-col,
        .header-grid .right-col {
            justify-self: stretch;
            max-width: none;
        }
}

.tituloWidget{
    font-size: 1.5rem;
}



:root { --sbw: 260px; }            /* ancho del sidebar */

.has-sidebar { padding-left: var(--sbw); }  /* empuja header + contenido */

.sidebar-fixed{
  position: fixed; left: 0; top: 0;
  width: var(--sbw); height: 100vh;
  overflow-y: auto; background: #fff;
  border-right: 1px solid #e5e7eb;
}

.sb-collapsed { padding-left: 0 !important; }
.sb-collapsed .sidebar-fixed { transform: translateX(-100%); }

/* opcional: en mobile que salga como offcanvas */
@media (max-width: 768px){
    #sidebarCollapse {
        display: none;
    } 
}

@media (min-width: 768px) {
    /* deja esto como ya lo tenías */
    #sidebarCollapse.collapse {
        display: block !important;
        height: auto !important;
    }

    #sidebarCollapse.collapsing {
        height: auto !important;
    }

    /* EDITAR: usar width en lugar de flex-basis/max-width */
    #sidebarCol {
        width: var(--sbw) !important; /* ancho base del sidebar */
        flex: 0 0 auto !important; /* ignora el width del grid */
        max-width: none !important;
        overflow: hidden;
        transition: width .2s ease; /* <— transición clara */
    }

    /* EDITAR: estado colapsado solo toca width y el borde */
    #sidebarCol.is-collapsed {
        width: 0 !important;
        border-right: 0 !important; /* evita ancho fantasma */
        /* quitá opacity/visibility/pointer-events si los tenías */
    }

    /* RECOMENDADO (si no lo agregaste antes): evitar que el main baje de fila */
    .jk-row {
        flex-wrap: nowrap;
    }
    /* la row que contiene #sidebarCol y #mainCol */
    #mainCol {
        flex: 1 1 auto;
        min-width: 0;
    }
}




/* NUEVO: en desktop no permitas wrap de columnas */
@media (min-width: 768px) {
    .jk-row {
        flex-wrap: nowrap;
    }
    /* <— evita que el main baje a otra fila */

    #mainCol {
        flex: 1 1 auto;
        min-width: 0; /* <— permite que el main se expanda/comprima sin forzar wrap */
    }

    /* cuando está colapsado, que el sidebar NO aporte ni 1px */
    #sidebarCol.is-collapsed {
        border-right: 0 !important; /* <— saca el 1px que te rompe el layout */
        padding-right: 0 !important; /* <— por si alguna vez no tenés px-0 */
        /* tu flex:0 0 0 y max-width:0 quedan como están */
    }
}



/* icono */
.jk-item .mod-icon {
    font-size: 1.25rem; /* mismo tamaño que la captura */
    color: #374151; /* gris oscuro, neutro */
    flex-shrink: 0;
}

/* texto */
.jk-item .jk-text {
    font-weight: 600; /* semi-bold, como en la captura */
    font-size: 0.95rem;
    color: #111827; /* casi negro */
    line-height: 1.4;
}

/* efecto hover */
.jk-item:hover {
    background-color: #f3f4f6;
    text-decoration: none;
}