
/*
https://www.canva.com/learn/website-color-schemes/
n3: PALE GOLD=C0B283  SILK=DCD0C0  PAPER=F4F4F4  CHARCOAL=373737
BODY: background-color:#FFF0E8;
*/


.ver_admin_earnings {/*color:rgb(83, 32, 119);*/ color: #1a5d8d;}
table tr.fila:hover {cursor:pointer; background-color:#FFFFEC; }
.afechas {padding:5px 10px; font-size:1.1em; border:1px solid #CCC; background-color:#F0F0F0; }
/* .afechas:hover {background-color:} */
.fila_encab_hora {text-align:center; font-size:1.1em; font-weight:bold; background:#f0f0f0}

#maximizar-btn {
   position: absolute;
   top: 0px;
   right: 0px;
   width: 40px;
   height: 40px;
   font-size: 30px;
   border: none;
   background-color: transparent;
   cursor: pointer;
}
#notif {
   position: fixed;
   left: 45%;
   transform: translateX(-50%);
   top: 40%;
   z-index: 9999;
   padding:20px 40px;
   display: none;
   overflow-y:auto;
   max-height:500px;
}

#tabla_nemos thead tr th:hover { background-color: #555; cursor:pointer; }
#tabla_nemos tbody tr { white-space:nowrap; padding:2px 3px; cursor:pointer; }
#tabla_nemos tbody tr:hover { background-color: #EEE; cursor:pointer; }
#tabla_nemos tbody tr.active { background-color:rgb(255, 255, 200); font-weight:bold; cursor:pointer; }


#earnings_filters input[type=checkbox]{
   vertical-align:middle; margin-bottom:7px; max-height:30px;
}
#earnings_filters select { 
   padding:0; margin:0px auto; max-height:26px; text-align:center;
}
#earnings_filters input[type=text] { 
   padding:0; max-height:26px; margin:0px auto 0 auto; text-align:center; border:1px solid #CCC; 
}

#earnings_filters input[type="text"]:not(:placeholder-shown) {
   background-color: yellow;
}

#earnings_filters label {
   margin-right:10px; max-height:26px; cursor:pointer; padding:5px 10px; display:inline; vertical-align:bottom;  margin-left:20px; border:1px solid #F0F0F0;
}
#earnings_filters label:hover {
   border:1px solid #CCC; background-color:#F0F0F0;
}

.mini-bloq-filtros { 
   margin:0px 20px 20px 0px;  
   box-shadow:0 0 2px #666; 
   padding:6px 10px; 
   background-color:#F5F5F5; 
   white-space:nowrap; 
}



.tabla_ficha_earnings { border-collapse: collapse; border:1px solid #D9D9D9; width:100%; margin:0; }
.tabla_ficha_earnings td, th {white-space:nowrap; border:1px solid #CCC; text-align:center;}
.tabla_ficha_earnings th {background-color:#000; border-Color:#FFF; color:#FFF;  padding:2px 5px; }




.resizer {
position: absolute;
/*top: 380;*/
z-index:999;
right: 338px; /* Inicialmente justo antes de la tabla */
width: 7px;
height: 100%;
cursor: ew-resize;
background-color: rgb(225, 225, 225);
      display: flex;
       justify-content: center;
}
.resizer i {
   font-size: 14px; 
   color: #FFF;
   margin-top:200px;
   margin-left:0px;
}

.rdos_buscar:hover {color:#9DB667;/*verde oficial */ background-color:#ECECEC;}


/***** CSS DE AJAX_FICHA_EARNINGS_TRADER ******/
/*.graf {box-shadow:0 0 9px #333; position:fixed; z-index:999; top:90px; right:10px; background-color:#FFF; }*/
.graf { z-index:999; background-color:#FFF; border:1px solid #ccc; box-shadow:0 0 3px #CCC; margin:1px 0;}
.tultip {display: none; position: absolute; pointer-events: none; padding: 10px; background-color: #f9f9f9; border: 1px solid #ccc; z-index: 100;}
.tipo_velas {margin-right:1px; padding:0 10px; font-weight:bold; border:1px solid #FFF;}
.tipo_velas:hover { border:1px solid #000; color:#9DB667; }
.tipo_velas.sel { border:1px solid #333; background: #999999; }

.btn-ficha, .zoom-enabled, .zoom-disabled {color:#FFF; padding:8px 10px; background-color: #9DB667; border-radius:4px; cursor:pointer; }
.btn-ficha:hover {background-color:rgb(126, 146, 82);}
.fa-plus, .fa-minus {font-size:10px;}
.btn-add-to-list {background-color: #1a5d8d; margin:0; margin-top:0; font-size:10px; padding:2px 5px 2px 5px;}
.zoom-enabled { background-color:rgb(79, 158, 82); /* Green */ }
.zoom-disabled { background-color:rgb(100, 52, 48); /* Red */ }   



/* Botón fijo arriba */
#toggle-btn {
   position:fixed;
   top:0;
   left: 50%;
   transform: translateX(-50%);
   background-color:rgb(55, 55, 55);
   box-shadow:0 0 3px #E9E9E9;
   color: #F0F0F0;
   padding: 1px 8px;
   cursor: pointer;
   border-radius: 0 0 5px 5px;
   text-align: center;
   z-index:1000;
   font-weight: bold;
   font-size: 14px;
} 




/* Estilos del fondo oscuro cuando el modal está activo */
.modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.5); /* Oscurece el fondo */
   display: none;
   z-index: 999;
}

/* Estilos del modal */
.custom-modal {
   display: flex;
    flex-direction: column; /* Organiza los elementos en columna */
   position: fixed;
   left: 50%;
   transform: translateX(-50%);
   width: 62%; /* Ajusta el ancho según lo que necesites */
   background: #fff;
   border-radius: 0px;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
   padding: 0px;
   display: none;
   z-index: 1000;
   overflow: hidden;
   border-top:4px solid #9DB667;
}

/* Encabezado del modal (fijo) */
.modal-header-custom {
position: relative; /* No es sticky aquí */
background: #fff;
padding: 15px;
font-size: 18px;
font-weight: bold;
border-bottom: 1px solid #ddd;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
flex-shrink: 0; /* Evita que el header se reduzca */
}

/* Cuerpo del modal con scroll */
.modal-body {
flex-grow: 1; /* Ocupa todo el espacio disponible */
 overflow-y: auto; /* Permite scroll solo dentro del contenido */	
padding: 20px;
}

/* Botón de cierre */
.modal-close {
   position: absolute;
   z-index:1000;
   top: 0px;
   right: 0px;
   font-size: 30px;
   font-weight: bold;
   color: #888;
   cursor: pointer;
   width: 40px;  /* Amplía el área de clic */
   height: 40px; /* Hace que el área sea más grande */
   text-align: center;
   line-height: 40px; /* Centra la "X" en su área */
   border-radius: 50%; /* Hace que tenga forma circular */
   transition: background 0.3s, color 0.3s;
}
/* Efecto hover para mejor feedback visual */
.modal-close:hover {
background: rgba(0, 0, 0, 0.1); /* Fondo gris claro al pasar el mouse */
color: #000; /* Cambia el color de la "X" a negro */
}

/* Ajuste responsivo */
@media (max-width: 768px) {
   .custom-modal {
      width: 90%;
   }
}




