/* ==========================================================================
   PLUTUSPLAN CSS
   Main stylesheet for the application
   ========================================================================== */

/* ==========================================================================
   Table of Contents:
   1. Layout & Structure
   2. Tables & Data Display
   3. Form Elements
   4. Tree & Hierarchical Elements
   5. Project Display
   6. Utilities & Helpers
   ========================================================================== */

/* ==========================================================================
   1. Layout & Structure
   ========================================================================== */


.perfil-asociado{
    background: tomato;
}
.popup-gantt {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    z-index: 10;
}

#cont-tabla .gantt-target {
    overflow-y: auto;
}
.gantt .tooltip{
    display: none !important;
}

.hide-leyenda {
    width: 0%;
}

#datos-tabla-gantt {
    overflow: hidden;
    width: 20%;
}



.oculto {
    display: none;
}

.botonera {
    position: sticky;
    /* display: flex; */
    /* align-items: center;
    flex-wrap: wrap;
    flex-direction: row; */
}

#contenedor-capitulos {
    width: 100%;
    margin-right: 10px;
    margin-top: 40px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-bottom: 70px;
}

.contenedor-medidas {
    width: 100%;
}

/* ==========================================================================
   2. Tables & Data Display
   ========================================================================== */

table {
    max-width: 100%;
    font-size: 14px;
}
.input-facturacion{
    display: flex;
    justify-content: center;
}
.ancho-tabla {
    max-width: 100%;
    overflow: scroll; 
}

.cabeceras {
    text-align: center;
}

.celdas {
    padding-left: 0;
    text-align: center;
    max-width: 100px;
    width: 100px;
}
/* .estado-facturas{
    text-align: center;
} */

.facturar-cantidad{
    width: 80px;
}
.celda-descripcion {
    width: 60%;
    text-align: left;
}

.celda-factura {
    /* width: 20%; */
    padding-top: 15px;
}
th .importe{
    text-align: center;
}
.celda-importes {
    width: 6%;
    text-align: center;
}

/* .facturar-porcentaje {
    width: 40px;
} */

.rowblanca {
    text-align: center;
}

.fixed-width-cell {
    width: 200px;
    white-space: nowrap;
}

.btn-plus {
    text-align: left;
}

.texto {
    font-size: 12px;
}

table.texto {
    width: 95%;
}



/* ==========================================================================
   3. Form Elements
   ========================================================================== */

.input-numero {
    width: 50px;
    text-align: right;
    border: 1px solid #ddd;
}

.input-texto {
    border: none;
    font-family: Arial, Verdana, sans-serif;
    text-overflow: ellipsis;
}

.input-numero-conceptos {
    width: 70px;
    text-align: center;
    border: 1px solid #ddd;
    font-family: Arial, Verdana, sans-serif;
    margin-top: revert;
}

/* ==========================================================================
   4. Tree & Hierarchical Elements
   ========================================================================== */

#listado-capitulos-arbol {
    font-size: 10px;
    
}
/* Contenedor Capitulos Styles */
/* #contenedor-capitulos tr {
    border-top: solid 1px darkgray;
} */

#contenedor-capitulos .celda-factura tr {
    border-top: none !important;
}

#contenedor-capitulos #tabla-factura {
    border: solid 1px darkgray;
    width: 100%;
}

#contenedor-capitulos ul {
    margin: 1px;
}

#contenedor-capitulos span {
    font-size: 12px;
    width: 150px;
    /* text-align: left; */
}

/* Tree Item Styles */
.tree-item__item {
    width: 10px;
}

.tree-item__indentation {
    width: 10px !important;
}

.tree-item__expand-button {
    width: 10px !important;
}

sl-tree-item::part(label) {
    display: contents !important;
}

/* Hijos Directos Tables */
.tabla-hijosdirectos .fila .campo-dentro {
    padding: 5px;
}

.tabla-hijosdirectos .form-control {
    font-size: 10px;
    border: 1px solid darkgray;
}

.tabla-hijosdirectos .campo-dentro .etiqueta {
    display: none;
}

#table #tabla-hijosdirectos {
    font-size: 12px;
}

.hijosdirectos tbody .control input {
    /* width: 50px; */
}

.hijosdirectos tbody .control textarea {
    width: 386px;
}

.hijosdirectos thead tr {
    font-size: 10px;
}

/* ==========================================================================
   5. Project Display
   ========================================================================== */

.plutus-transition {
    transition-duration: var(--sl-transition-slow);
}

.lista-proyectos {
    display: flex;
    gap: 10px;
    padding-top: 10px;
    margin-right: 10px;
    flex-wrap: wrap;
}

.proyecto {
    display: flex;
    border-radius: 5px;
    flex: 1 1 200px;
    max-width: 20%;
}



sl-card::part(base){    
    justify-content: space-between;
}

.proyecto img {
    width: 100%;
    height: auto;
}

.logout::part(base) {
    color:#666666;
    border: solid 1px #666666dc;
}
.perfil-estilo-0 { background: linear-gradient(to right, #f8f9fa, #dee2e6); } /* Gris claro con blanco */
.perfil-estilo-1 { background: linear-gradient(to right, #f8f9fa, #cce5ff); } /* Azul pastel suave */
.perfil-estilo-2 { background: linear-gradient(to right, #f8f9fa, #d4edda); } /* Verde menta claro */
.perfil-estilo-3 { background: linear-gradient(to right, #f8f9fa, #f5c6cb); } /* Rosa empolvado */

.logout::part(label):hover {
    color: white;
  }





  /* INICIO PROYECTO */
  .lista-btn-menu-proyecto { 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;	
    /* max-width: 600px; */
    max-width: 900px;
    align-self: center;
    margin-top: 150px;
    /* margin-top: 40px; */
}
.btn-menu-proyecto { 
    display: flex;
    width: 160px;
    height: 160px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    align-content: center;
    border-radius: 2px;
    color:black;
    transition: all ease-in-out 0.3s;
}
.btn-menu-proyecto:hover { 
    color:black;
    box-shadow: #666666a3 2px 2px 12px 0px;
}
.btn-menu-proyecto sl-icon { 
    flex: 1 1 100%;
    font-size: 60px;
    transition: inherit;
}
.btn-menu-proyecto:hover sl-icon { 
    font-size: 65px;
}	
.btn-menu-proyecto .title{ 
    text-transform: capitalize;
    text-align: center;
    padding: 5px 20px;
}		


.widget-proyecto {
    display: flex
;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding-bottom: 1rem;
    width: 100%;
    align-content: center;
    margin-bottom: 10px;
    border: solid 1px #f7f5f7;
    border-radius: 4px;
    margin: 9px;
    min-height: 146px;
    background-position: center center;
    background-size: cover;
    background-color: #6a92ba;
    background-blend-mode: luminosity;
    color: white;
    flex-wrap: wrap;
    align-content: flex-end;
    transition: all ease-in-out 0.3s;
}
.widget-proyecto:hover {
    background-blend-mode: normal;
    border: solid 1px #6a92ba;
    color:white !important;
}

.widget-proyecto .proyecto-nombre{
    flex:1 1 100%;
    background: #00000070;
}
.widget-proyecto .proyecto-etapa{
    flex:1 1 100%;
    background: #00000070;
}

.icon_texto_facturar{color: rgb(104 172 12);margin-right: 5px;}
/* .celda-factura td.texto{background-color: red;} */
.celda-factura td.cantidad{text-align: center;}
/* .celda-factura td.importe{background-color: blueviolet;} */
.celda-factura tr.cabecera{font-size: 12px;text-align: justify;}
.cabecera th{width: 150px;}
/* 
.concepto-rechazado { background:#ff000082;}
.concepto-aceptado { background:#08b31482;}
.concepto-pendiente { background:rgb(51 198 239 / 49%);} */

#facturar {
    display: none;
}
#btn-pdf{ border-radius: 4px 4px 4px 4px;}
.garantia {font-size: 12px;}

#total_factura {
    display: none; 
}
#input-codigo {
    display: none; 
}
.total_factura {
    display: inline-block;    
    background: greenyellow;
    border-radius: 6px;
    top:20px;
    margin: 10px;
    padding: 10px;
}
.menu-item{
    width: 800px;
}


.documento-no-validado{
    background: #ff780038;  
}

.tabla-conceptos tr .td-concepto-factura {

    border-bottom: 1px solid grey !important; 
    padding: 4px 8px !important;
}

.tabla-conceptos tr {
    height: auto !important;
}

.disabled {
    pointer-events: none;
    cursor: no-drop;
    opacity: 0.5;
}

.widgets-notificacion .notification-label{

}
.widgets-notificacion .notification-type{
    display: block;
    font-weight: bold;
}

.widgets-notificaciones {
    width: 100%;
    margin: 0px 5px;
}
.widgets-notificacion {
    border-bottom: solid 1px #0000000f;
}

.facturar-porcentaje {
    display: none;
    width: 80px;
}

.filas-concepto:hover {
    background-color:#2958892b !important;
}

.celda-descripcion .acc-editar:hover {
    font-weight: bold;
}
.arbol-total-capitulos{
    /* display:flex;
    flex-direction: row-reverse; */
    text-align: right;
    width: 100%;
}
.total-capitulos tbody{
    border-bottom: solid 1px #7eb4e157;
    border-top: solid 1px #7eb4e157;
}

/* .tabla-facturacion {
    border-left: solid 1px #dddddd;
} */

.importe-total{
    white-space: nowrap;
    font-size: bold;
    display: flex;
    align-items: center;
}
.presupuesto-barra-asociado{
    
    border-top:1px solid #6a92ba;
    border-bottom:1px solid #6a92ba;
}