

/***********************************/
/*          VISTA TABLET           */
/***********************************/

@media (min-width: 469px) and (max-width: 767px) {
    #movil_image {
        display: block;
    }

    #pc_image {
        display: none
    }


    #logo_empresa {
        max-width: 100px;
    }

    .container {
        margin-top: 30px;
    }

    .custom-dropdown {
        margin-top: 100px;

    }

    #navbarNav {
        width: 100%;
        height: 100%;
    }

    .tabulator-responsive-collapse-toggle {
        background: #084ab0 !important;
    }
}

@media (min-width: 768px){


    #logo_empresa {
        width: 100px;
        height: 50px;
    }
        #movil_image {
        display: none
    }

    #pc_image {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    body {
        padding-top: 7%;
        padding-bottom: 100px;
        /*background-color: var(--bg-main) !important;*/
        color: var(--color-primary) !important;
        min-height: calc(100vh - 250px) !important;
    }
}
/***********************************/
/*       VARIABLES GLOBALES        */
/***********************************/
:root {
    /* Colores */
    --bg-primary: white;
    --bg-secondary: #999;
    --bg-main: #ebebeb;
    --bg-cta: black;
    --color-primary: black;
    --color-secondary: white;
    --color-cta: white;
    /* Tipografía */
    --font-family-base-segoe: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-title: 25px;
    --font-size-cta: 20px;
    --font-weight-bold: 700;
    /* Espaciado */
    --spacing-small: 8px;
    --spacing-medium: 16px;
    --spacing-large: 32px;
    /* Otros */
    --border-radius: 4px;
    --box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.footer .container {

    gap:0px !important;
    margin-top:0px !important;
}
    html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

/* Menú de navegación */
.navbar {
    justify-content: space-between;
    box-shadow: var(--box-shadow) !important;
    border-radius: var(--border-radius);
}

#company-name {
    color: var(--color-primary) !important;
    font-size: var(--font-size-title);
    font-weight: var(--font-weight-bold);
}

.icons {
    display: flex;
    gap: 15px;
}


#navbarNav.show {
    left: 0;
}

/* Color del menú desplegable y del contenido principal */
.portal-collapse-navbar {
    /*background-color: #dfe0e1 !important;*/
    color: #232020;
}

    .portal-collapse-navbar * {
        color: #232020 !important;
        /*        color: var(--color-secondary) !important;*/
    }

/* Icono de notificaciones y usuario */
.navbar-icons .navbar-nav-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 10px;
}

.custom-dropdown {
    margin-top: 80px;
    background-color: var(--bg-primary) !important;
}

.portal-collapse-navbar li.nav-item {
    padding: 5px 20px;
    height: 100%;
}

i.bi.bi-person, i.bi.bi-bell, i.bi.bi-box-arrow-left
{
    font-size: 30px;
}


/*    i.bi.bi-person-circle:hover {
        color: #86dce7 !important
    }
i.bi.bi-bell:hover {
     color: #86dce7 !important
 }
    i.bi.bi-box-arrow-left:hover {
        color: #86dce7 !important
    }*/
.supplier-portal-icon {
    margin: auto !important;
}

/********************************************/
/*             ESTILOS GLOBALES             */
/********************************************/

* {
    box-sizing: border-box;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
}
/********************************************/
/*            MENÚ DE NAVEGACIÓN            */
/********************************************/

/* El menú se despliega desde la izquierda */
#navbarNav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: white;
    transition: left 0.3s ease;
    background-color: #f3f3f3 !important;
    box-shadow: var(--box-shadow) !important;
    border-radius: var(--border-radius);
}

    /* Nombres e iconos de los enlaces */
    #navbarNav li.nav-item .nav-link, #navbarNav li.nav-item .btn-link {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

        #navbarNav li.nav-item .nav-link i, #navbarNav li.nav-item .btn-link i {
            font-size: 25px;
        }

    #navbarNav li.nav-item:hover {
        background-color: var(--bg-primary) !important;
    }

    #navbarNav li.nav-item a:hover *, #navbarNav li.nav-item form button:hover * {
        color: black !important;
    }

/* Botón del menú */
.navbar-toggler:hover {
    background-color: white !important;
    scale: 1.2;
    transition: all ease .5s;
}
.navbar-toggler {
    border: none !important; 
    box-shadow: none !important; 
    outline: none !important; 
    padding: 10px;
    margin-right:6px;

}

.navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3e%3cpath stroke='%232ac4f3' stroke-linecap='round' stroke-miterlimit='10' stroke-width='4' d='M4 8h32M4 20h32M4 32h32'/%3e%3c/svg%3e") !important;
}


.navbar-toggler-flex{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    color: black !important;
}
/**********************************/
/*             FOOTER             */
/**********************************/
.footer {
    position: relative;
    flex-wrap: wrap;
    background-color: var(--bg-primary);
}

    .footer .container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

/*************************************/
/*    FORMULARIO INCIO DE SESIÓN     */
/*************************************/

.login-form .btn {
    color: var(--color-cta);
    background-color: var(--bg-cta);
}

    .login-form .btn:hover {
        background-color: var(--bg-main);
        box-shadow: var(--box-shadow);
    }

.login-branding h2 {
    font-size: 80px;
    text-shadow: 1px 1px 2px black;
}

.login-branding p {
    font-size: 50px;
    text-shadow: 1px 1px 2px black;
}

.login-rounded {
    border-radius: 60px !important;
}
/*************************************/
/*    Tabla de datos    */
/*************************************/
table {
    background-color: white;
}

th {
    border: 1px solid #e7e6e6 !important;
    min-width: 100px;
    text-align: center;
    padding: 10px;
}

td {
    border: 1px solid #e7e6e6 !important;
    min-width: 100px;
    text-align: left;
    padding: 10px;
}

#recogido {
    border: 1px solid #e7e6e6 !important;
    min-width: 10px;
    text-align: left;
    width: 15px;
    padding: 10px 10px;
}

}

td {
    border: border: 1px solid black !important;
}
/*************************************/
/*    Pruebas    */
/*************************************/
.centered-div {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px 40px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius:25px;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 75% !important;
    }
}
@media (max-width: 500px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 95% !important;
    }
}

a.nav-link.option {
    margin: 10px;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    transition: all 0.4s ease-in-out; 
}

h3 {
    padding-left: 20px;
    padding-right: 20px;
    text-align: center
}

.headerTG {
    text-align: center;
    padding: 20px;
    height: 50px;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
}

.link {
    border: 0px;
    background-color: white;
}

.menu_li {
    padding: 0px;
}

    .menu_li li {
        text-align: center;
        padding: 5px;
    }

#download-doc {
    border: 1px solid black;
    padding: 8px 20px;
    border-radius: 10px;
    background-color: #e0e0e0;
}

#download-doc {
    border: 1px solid black;
    padding: 8px 50px;
    border-radius: 10px;
    background-color: #e0e0e0;
}

    #download-doc:hover {
        border: 1px solid black;
        background-color: #96cef7;
    }
/*********************************
    POPUPS
***********************************/
#popupdoc {
    display: none;
    max-height: 50%;
    box-shadow: 50px 50px 30px #969494b0;
    overflow: overlay;
}

#popuptable {
    display: none;
    max-height: 50%;
    box-shadow: 50px 50px 30px #969494b0;
    overflow: overlay;
    border-radius:25px !important;
    border-color:lightgray !important;
   
}

    #popuptable .centered-div {
        position: relative; /* o absolute si quieres posicionarlo respecto a su contenedor */
    }

/*********************************
    RESPONSIVE
***********************************/
@media (max-width:767) {
    body {
        margin-bottom: 10px;
        overflow: scroll
    }
}
/*********************************
    Account
***********************************/

#Selected {
    text-decoration: underline;
}
/*********************************
    Errors
***********************************/

.message_error {
    text-align: center;
    position: relative;
    margin-top: 15%;
}
/*****************
    Portada
*********************/
.fast-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    padding: 20px 30px; 
    border-radius: 35px; 
    text-decoration: none; 
    background-color: #2ac4f3;
    color: white; 
    min-width: 320px;
    max-width: 320px;
    box-shadow: none !important; 
    transition: background-color 0.3s, color 0.3s, border-radius 0.3s, padding 0.3s;
  
}

    .fast-button:hover {
        background-color: #165399;
        color: white;
        border-radius: 30px;
        padding: 20px 30px;
        text-decoration: none;
        box-shadow: none !important;
    }

    .fast-button span {
        font-size: 20px !important;
        font-weight: 400;
    }

.icon-button {
    display:flex;
    flex-direction:column;
}
/*****************
    Popup DocSelection
*********************/
.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    justify-content: center;
}

.dropdown-list {
    display: none;
    position: absolute;
    z-index: 1000;
    background-color: #fff;
    /*border: 1px solid #ccc;*/
    padding: 5px;
    margin: 0;
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}

    .dropdown-list li {
        padding: 5px;
        cursor: pointer;
    }

        .dropdown-list li:hover {
            background-color: #f0f0f0;
        }

.caja {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    border-radius: 35px;
    text-decoration: none;
    background-color: #2ac4f3;
    color: white;
    min-width: 320px;
    max-width: 320px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1) !important;
    transition: background-color 0.3s, color 0.3s, border-radius 0.3s, padding 0.3s;
}

    .caja:hover {
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1) !important;
        background-color: #235492;
        scale:1.05 !important;
    }
.caja2 {
    border: 1px solid #88d4e2;
    font-size: 32px;
    background-color: #88d4e2;
    display: inline-block;
    width: 200px;
    height: 200px;
    padding-top: 50px;
    min-width: 25%;
    margin: 20px;
}
.tabulator-row:hover {
    background-color: #F4F4F5 !important;
    cursor: default !important;
}
.tabulator-row-even{
    background-color:white !important;
}
.tabulator-row-odd {
    background-color: white !important;
}
.tabulator-responsive-collapse:hover {
    background-color: #efefef !important
}
/*@media only screen and (max-width: 1024px) {
    #logo_empresa {
        max-width: 50px;
    }
    .container {
        margin-top: 30px;
    }
    .custom-dropdown{
        margin-top:50px;
    }
    #navbarNav{
        width:100%;
        height:100%;
    }
}*/
/*@media only screen and (max-width: 768px) {
    #logo_empresa {
        max-width: 100px;
    }

    .container {
        margin-top: 30px;
    }

    .custom-dropdown {
        margin-top: 100px;
    }

    #navbarNav {
        width: 100%;
        height: 100%;
    }

    .tabulator-responsive-collapse-toggle {
        background: #084ab0 !important;
    }
}*/
.tabulator-header {
    /*background-color: #dfe0e1 !important;*/
}
/*.tabulator-col {
    background-color: #dfe0e1 !important;
    border-right:#dfe0e1 !important;
}*/
.tabulator-footer {
    background-color: white !important;
    padding: 20px !important;
}
.tabulator-responsive-collapse-toggle {
    background-color: #d9d9d9 !important;
}
.tabulator .tabulator-footer .tabulator-page.active {
    color: white !important;
    background-color: #2ac4f3 !important;
    border-color: #2ac4f3 !important;
    border-radius: 25px;
    padding: 2px 10px;
    font-weight: 400;
}
.tabulator-page {
    border-radius: 25px !important;
    font-weight: 700;
    color: #7e7e7f;
}
.tabulator {
    border: 0px !important;
}

.tabulator .tabulator-header .tabulator-col {
/*    border-top: 0.5px solid #aaa !important;*/
/*    border-left: 0.5px solid black !important;*/
}
.tabulator-row {
/*    border-left: 0.5px solid !important;*/
/*    border-right: 0.5px solid !important;*/
}
.table_key i {
    color: #3D80E4 !important;
}

/*.tabulator-row:nth-child(odd) {
    background-color: #86dce72e !important;*/ /* Color de fondo para filas impares */
/*}

.tabulator-row:nth-child(even) {
    background-color: #ffffff !important;*/ /* Color de fondo para filas pares */
/*}*/
.footer {
    background-color: #f8f9fa !important;
    box-shadow:rgba (0.15,0,0,0) 2px 2px 2.6px!important;
}
.table_tittle{
    text-align:center !important;
}
a.nav-link.option:hover {
    background-color: #3a66a3 !important;
    margin: 10px;
    padding: 15px 20px !important;
    border-radius: 25px !important;
    color: white !important;
    font-weight: 500;
}

a.nav-link.option i {
    color: #3a66a3 !important;
    transition: color 0.2s ease-in-out;
}

a.nav-link.option:hover i {
    color: white !important; 
}

.table_button:hover {
    cursor: pointer; 
}
.fast-button {
    transition: all 0.2s ease-in-out;
    box-shadow: 10px 5px 10px #969494;
}
.fast-button:hover {
    box-shadow: 10px 2px 5px #969494); /* Sombra más pequeña */
    transform: translateY(3px); /* Mover hacia abajo ligeramente */
}

.fast-button:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* Sombra más pequeña aún cuando se pulsa */
    transform: translateY(5px); /* Mover hacia abajo un poco más */
}
.tabulator-row:hover {
    background-color: #F4F4F5 !important;
}
.tabulator .tabulator-header {
    background-color: #ededed !important;
}

.tabulator .tabulator-cell {
    height: 50px !important; /* Ajusta la altura según lo necesites */
    padding-top: 10px !important;
    padding-left: 20px !important;
    padding-right: 10px !important;
    border-bottom: 1px solid #eaeaed;
}



.tabulator .tabulator-col {
    height: 50px !important; /* Ajusta la altura según lo necesites */
    padding-top: 10px !important;
    padding-left:10px !important;
}
.tabulator .tabulator-footer .tabulator-page.active {
    color: #fead60;
}
.menu_text{
    font-size:20px
}
section.errors {
    display: flex;
    text-align: center;
    justify-content: center;
}
#VolverBoton{
    cursor:pointer;

}
#VolverBoton:hover {
        color: rgb(131 158 177)!important;
}
#header_table {
    display: flex;
    justify-content: space-between;
}
.doc_container {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-gap: 40px
}
.folder_container {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-gap: 40px
}
#VolverBoton {
    color: rgb(158 190 213);
    font-size: 40px;
    display: none
}
.account_fields {
    display: grid !important;
    grid-template-columns: 24% 24% 4% 24% 24% !important;
    grid-gap: 10px;
}
.account_label {
    margin-bottom: 20px;
    margin-right: 20px;
    color: #4f4f50;
}
.account_data {
    margin-bottom: 20px;
    background-color: #e5e7e9
}
.account_label_data {
    margin-bottom: 20px;
    margin-right: 20px;
    color: #4f4f50;
}
.account_data_overflow {
    padding: 10px 20px;
    background-color: #f2f4f5;
    border: solid 1px #d8d9d9;
    border-radius: 25px;
    overflow: overlay;
    min-height:46px;
}
.account_fields_margin {
    margin-bottom: 50px;
    display: grid !important;
    grid-template-columns: 24% 24% 4% 24% 24% !important;
    grid-gap: 10px
}
 
.account_fields_overflow {
        padding: 10px 20px;
        background-color: #f2f4f5;
        border: solid 1px #d8d9d9;
        border-radius: 25px;
        overflow: overlay;
    }
}
.account_label_overflow {
    margin-bottom: 20px;
    margin-right: 20px;
    color: #202128;
    font-weight: 500;
    overflow: overlay
}
.account_last_line {
    margin-bottom: 50px;
    display: grid !important;
    grid-template-columns: 24% 82% !important;
    grid-gap: 10px
}
.form_filter {
    margin-left: 20px;
}
.filter_button {
    margin-left: 20px;
}
#tree-center {
    margin-top: 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align:center;

}
/***********************************/
/*          VISTA MOVIL            */
/***********************************/
@media (max-width: 468px) {
    #movil_image {
            display: block;
        }

        #titulo {
            position: relative;
            text-align: left;
            top: 90px;
            color: #6B93B0;
        }

        #header_table {
            display: grid !important;
            justify-content: space-between;
            grid-template-columns: 75% 20%;
            margin-top: 75px;
        }

        #pc_image {
            display: none;
        }

        #logo_empresa {
            max-width: 100px;
        }

        .container {
            margin-top: 30px;
        }

        .custom-dropdown {
            margin-top: 97px;
        }

        #navbarNav {
            width: 100%;
            height: 80%;
        }

        .navbar {
            min-height: 95px
        }

        .tabulator-responsive-collapse-toggle {
            background: #084ab0 !important;
        }

        #company-name {
            margin: 0px
        }

        body {
            /*background-color: var(--bg-main) !important;*/
            color: var(--color-primary) !important;
            font-family: 'Franklin Gothic Medium' !important;
        }

        .bg-white {
            margin-bottom: 50px;
        }

    #contenedor-general {
        min-height: 100% !important; /* ocupa toda la altura del main */
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center; /* centra verticalmente */
        align-items: center; /* centra horizontalmente */
        text-align: center;
    }

        .menu_text {
            visibility: hidden;
        }

        .footer_container {
            max-height: 40px
        }

        #miTabla {
            /*top: 100px;*/
            height: 40vh;
            background-color: white
        }

        .caja {
            font-size: 24px !important;
            margin-top: 50px !important;
        }

        #PopupClose {
            margin-top: 0px !important;
            
        }

        #popupdoc {
            max-width: 100% !important;
        }

        .errortable {
            margin-top: 50% !important;
        }

        .doc_container {
            display: grid;
            grid-template-columns: 95%;
            grid-gap: 30px;
        }

        .folder_container {
            display: grid !important;
            grid-template-columns: 95% !important;
            grid-gap: 0px !important;
            margin-bottom: 100px;
        }

        #VolverBoton {
            color: rgb(158 190 213);
            font-size: 40px;
            display: none
        }

        .Filter {
            margin-top: 75px;
            display: grid;
        }

        .doc_container {
            grid-template-columns: none;
        }

        .form_filter {
            margin-left: 0px;
        }
        .account_hidden {
            display: none;
        }
    .account_fields {
        display: grid !important;
        grid-template-columns: 50% 50% !important;
        grid-gap: 10px;
    }

    .account_label {
        margin-bottom: 20px;
        margin-right: 20px;
        color: #4f4f50;
    }

    .account_data {
        margin-bottom: 20px;
        background-color: #e5e7e9
    }

    .account_data_overflow {
        margin-bottom: 20px;
        background-color: #e5e7e9;
        overflow: overlay;
    }

    .account_fields_margin {
        margin-bottom: 50px;
        display: grid !important;
        grid-template-columns: 50% 50% !important;
        grid-gap: 10px;
        margin-top: 40px;
        border-bottom: 2px solid #2ac4f3 !important; /* borde inferior: grosor, estilo y color */
        padding-bottom: 10px !important; /* opcional, separa el contenido del borde */
    }
   
    .account_fields_overflow {
        margin-bottom: 20px;
        background-color: #e5e7e9;
        overflow: overlay;
    }
    .account_last_line {
        margin-bottom: 50px;
        display: grid !important;
        grid-template-columns: 50% 50% !important;
        grid-gap: 10px
    }
    .account_div {
/*        margin-top: 125px;*/
/*        margin-bottom: 100px;*/
    }
    .filter_button {
        margin-top: 20px;
        margin-left: 0px;
    }
    .tabulator .tabulator-cell {
        height: 50px !important; /* Ajusta la altura según lo necesites */
        padding-top: 10px !important;
        border-bottom: 0px solid #969494;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .pb-3 {
       margin-bottom: 100px;
    }
   

    .tabulator-row {
        border-bottom: 1px solid #969494 !important;
    }
    #tree-center {
/*        margin-top: 50px;*/
    }
    #popupdoc{
        width:90%
    }
}

/* Estilos nuevos*/



/* Log in*/
.btn-new {
    color: white !important;
    background-color: #2ac4f3 !important;
    border-radius: 25px !important;
    padding: 10px 40px !important;
    width: 100%;
    font-size: 20px !important;
}

label.input-label {
    font-size: 20px !important;
    background-color: white !important;
}


.form-control {
    background-color: #f5f5f5 !important; 
    color: #212529 !important; 
    border-radius: 25px !important; 
    border: 1px solid #ced4da !important; 
    padding: 8px 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none !important;
}


    .form-control:focus {
        background-color: #f5f5f5 !important;
        color: #212529 !important;
        border-color: #2ac4f3 !important;
        box-shadow: 0 0 0 0.25rem rgba(42,196,243,0.25) !important;
        outline: none !important;
    }

input.form-control:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #f5f5f5 inset !important;
    -webkit-text-fill-color: #212529 !important;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #f5f5f5 !important;
    color: #6c757d !important; 
}


a {
    text-decoration: none;
    color: inherit;
}

    a:hover {
        text-decoration: none; 
        color: #2ac4f3;
    }

/* Pantalla inicio*/

.colored-title {
    color: #2ac4f3 !important;
    font-size: inherit;
    display: inline-block;
    font-weight: 700;
}

.text-highlight {
    color: #828583 !important;
}


/* Contenedor principal todas las vistas */
.main-container {
    min-height: calc(100vh - 250px) !important; 
}

main.main-section {
    min-height: calc(100vh - 250px) !important;
    position: relative;
}

.main-container-control {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;

    text-align: center;
}

.hr-azul {
    border: none;
    background-color: #2ac4f3 !important;
    width: 50%; 
    margin: 20px auto 40px auto; 
    opacity: 1 !important;
}

.my-icon {
    font-size: 35px !important;
    color: #2ac4f3 !important;
}

.account-title {
    font-size: 40px;
    color: #8b8b8b;
}

.account_fields_margin {
    padding-bottom: 50px; 
    border-bottom: 1px solid #d9d7d7;
}

.tabulator {
    border: none !important;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

    .tabulator .tabulator-header,
    .tabulator .tabulator-col,
    .tabulator .tabulator-col-row-handle {
        background-color: #F4F4F5 !important;
        color: black !important;
        font-weight: 600;
        border: none !important;
    }

.tabulator-arrow {
    border-top: none;
    border-bottom: 6px solid #4f4f4f !important;
}

#mitablaPopUp {
    margin-top:30px;
    margin-bottom:20px;
}



/* Caja base (igual que ya tienes) */
.caja {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    border-radius: 35px;
    text-decoration: none;
    background-color: #2ac4f3;
    color: white;
    min-width: 320px;
    max-width: 320px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1) !important;
    transition: background-color 0.3s, color 0.3s, border-radius 0.3s, padding 0.3s;
    position: relative;
}



/* Línea discontinua en tree view */
.folder_container .caja::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -40px; /* mismo valor que el gap */
    width: 40px;
    height: 2px;
    background: repeating-linear-gradient( to right, #b3c8d9, #b3c8d9 6px, transparent 6px, transparent 12px );
    transform: translateY(-50%);
    z-index: 0; /* para que quede detrás */
}

/* Eliminar línea al final de cada fila completa */
.folder_container .caja:nth-child(3n)::after {
    display: none;
}

/* Eliminar línea del último elemento real */
.folder_container .caja:last-of-type::after {
    display: none !important;
}
.swal2-confirm {
    color:#2ac4f3;
}
#tree-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tree-title {
    margin: 0 0 25px 0;
    text-align: center;
    font-weight: 700;
}

#tree-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

