.container-dashboard {
   display: grid;
   grid-template-columns: 1fr 30%;
   grid-template-rows: auto auto auto;
   gap: 10px;
   align-items: start;
   /*max-width: 1000px;*/
   /*margin: 20px auto;*/
   padding: 10px;
}

.columna-dashboard {
   display: flex;
   flex-direction: column;
   gap: 10px;
}

/* icono encima */
.icono-config {
   position: absolute;
   bottom: -3px;
   right: -3px;

   width: 18px;
   height: 18px;

   background: #fff;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;

   font-size: 12px;
   text-decoration: none;

   border: 1px solid #ccc;
   box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.icono-config:hover {
   transform: scale(1.1);
}

.texto {
   display: flex;
   flex-direction: column;
}

.texto p {
   margin: 5px 0;
   font-size: 14px;
   color: #666;
}

.botones {
   display: flex;
   gap: 10px;
}

.botones button {
   background-color: #007bff;
   color: #fff;
   border: none;
   padding: 8px 15px;
   border-radius: 5px;
   cursor: pointer;
}

.botones button.secondary {
   background-color: #6c757d;
}

.botones button:hover {
   background-color: #0056b3;
}

.botones button.secondary:hover {
   background-color: #5a6268;
}

.panel-horario {   
   font-family: "LTVeritas-Condensed", Arial, Helvetica, sans-serif;
   font-size: 28px;
   margin: 0;            
   color: #636363;
   font-weight: normal;   
}

.panel-clima {            
   justify-content: left;
   align-items: center;
   height: 60px;
   background-color: rgb(250, 121, 0, 0.1);;
   border-radius: 5px;            
   padding: 40px 10px 0px 20px;
   position: relative;
}

.hora {
   position: absolute;
   top: 15px;
   right: 15px;
   font-size: 14px;
   color: #666;
}

.icono-clima-container {
   display: flex;   
   justify-content: center;
   gap: 10px;
   width: 100%;
}

.icono-clima {
   font-size: 50px;
   color: #333;
}

.temperatura {
   font-size: 18px;
   font-weight: bold;
   color: #333;
}

.temperatura span {
   font-size: 14px;
   font-weight: normal;
   color: #666;
}

.titulo-panel {            
   font-family: "LTVeritas-Reguldar",Arial, Helvetica, sans-serif;
   color: gray;
   margin: 0;
   font-size: 16px;            
   position: absolute;
   top: 10px;
   left: 15px;
}

.cabecera-paneles {
   display: grid;
   grid-template-columns: 1fr auto;
}

.titulo-panel-inside {            
   font-family: "LTVeritas-Bold",Arial, Helvetica, sans-serif;
   color: gray;
   margin: 0;
   font-size: 16px;
   font-weight: bold;
   top: 10px;
   left: 15px;
}

.hora-panel {
   font-family: "LTVeritas-Regular",Arial, Helvetica, sans-serif;
   color: gray;
   position: absolute;
   top: 10px;
   right: 15px;
   font-size: 14px;            
}

.panel-header {
   font-family: Arial, Helvetica, sans-serif;
   display: flex;
   justify-content: flex-end;
   align-items: center;   
   margin-right: 10px;
}

.panel-header h2 {
   font-size: 18px;
   margin: 0;
   color: #333;
}

.navigation {
   display: flex;
   gap: 5px;
   align-items: right;
}

.navigation button {
   background-color: #007bff;
   color: #fff;
   border: none;
   padding: 5px 10px;
   border-radius: 4px;
   font-size: 12px;
   cursor: pointer;
}

.navigation button:disabled {
   background-color: #ddd;
   cursor: not-allowed;
}

.horario-container {
   display: flex;
   gap: 5px;
   overflow: hidden;
   scroll-behavior: smooth; /* Para desplazamiento suave */
   margin-left: 5px;
   margin-right: 5px;
}

.horario-card:hover {
   border: 2px solid #fdb122;
}

.horario-card {
   background-color: #fff;
   border: 2px solid #ddd;
   border-radius: 5px;
   padding: 10px;
   flex: 0 0 200px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.horario-card h3 {
   font-size: 16px;
   margin: 0;
   color: #555;
}

.horario-card {
   font-size: 14px;
   color: #999;
   margin-bottom: 10px;
}

.titulo-fecha {
   display: flex;
   justify-content: space-between;
}

.fecha {
   font-size: 14px;
   color: #999;
   margin: 0px;
}

.horario-card .evento {
   font-size: 14px;
   font-weight: bold;
   margin-bottom: 10px;
}

.horario-card .horario {
   display: flex;
   flex-direction: column;
   gap: 5px;
   margin-bottom: 5px;
   text-align: center;
}

.horario-card .horario div {
   background-color: #e6e6ff;
   padding: 5px 10px;
   border-radius: 4px;
   font-size: 14px;
}

.horario-card .boton {
   display: inline-block;
   text-align: center;
   background-color: #007bff;
   color: #fff;
   padding: 8px 10px;
   border-radius: 4px;
   text-decoration: none;
   font-size: 14px;
   font-weight: bold;
}

.horario-card .boton.disabled {
   background-color: #ddd;
   color: #999;
   cursor: not-allowed;
}

.anuncios-panel {
   grid-column: 2 / 2;
   grid-row: 2 / 3;
   background-color: white;
   border-radius: 5px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   padding: 10px;            
   overflow-y: auto; /* Activa el scroll vertical */
   max-height: 300px; /* Ajusta la altura según tus necesidades */
}

.anuncios-panel h3 {
   font-size: 16px;
   color: #333;
   margin: 0 0 10px;
   border-bottom: 1px solid #ddd;
   padding-bottom: 5px;
}

.anuncio {
   margin-bottom: 15px;
}

.anuncio h4 {
   font-size: 14px;
   color: #555;
   margin: 0;
   font-weight: bold;
}

.anuncio p {
   font-size: 13px;
   color: #666;
   margin: 5px 0 0;
   line-height: 1.5;
}

.anuncio .fecha {
   font-size: 12px;
   color: #999;
   margin-bottom: 5px;
}

.emoji {
   font-size: 16px;
}

.perfil-titulo {
   margin-left: 5px !important;    
}

/* Encabezado de "Mi calendario" */
.micalendario {
   grid-column: 1 / 2;
   grid-row: 3 / 4;
   gap: 10px;
   margin-left: 10px; /* Alineado al contenido */
   font-family: "LTVeritas-Condensed", Arial, Helvetica, sans-serif;
   font-size: 28px;
   margin: 0;            
   color: #636363;
   font-weight: normal;
   display:flex;
   flex-direction: column;
   align-items: normal;
}

.panel-micalendario {
   font-family: Arial, Helvetica, sans-serif;
   background-color: #fff;
   border-radius: 8px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   padding: 20px;
   max-width: 1200px;
   margin: 0 auto;
}

.calendar-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 20px;
}

.calendar-summary {
   display: flex;
   justify-content: space-around;
   gap: 10px;
   padding: 10px 0;
}

.summary-box {
   flex: 1;
   text-align: center;
   background-color: #eef5ff;
   border-radius: 5px;
   padding: 10px;
   font-size: 14px;
}

.summary-box button {
   background-color: #007bff;
   color: white;
   border: none;
   border-radius: 5px;
   padding: 8px 12px;
   cursor: pointer;
}

.summary-box button:hover {
   background-color: #0056b3;
}

.details-container {
   margin-top: 20px;
}

.details-container h3 {
   font-size: 16px;
   margin-bottom: 10px;
}

.details-container .list-item {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 10px;
}

.list-item img {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   margin-right: 10px;
}

.list-item span {
   flex: 1;
}

.list-item strong {
   color: #007bff;
}
 
 .summary {
   background: rgb(250, 121, 0, 0.1);   
   padding-left: 10px;
   padding-right: 10px;
   padding-bottom: 5px;
   margin-bottom: 10px;
   border-radius: 5px;
   color:#333;
   text-align: center;
   display: block;
   text-align: right;
 }

 .summary-contador{
   font-size: 26px;
 }
 
 .summary-header {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;   
 }
 
 .summary-header p {
   margin: 0;
   font-size: 0.9rem;
   flex: 1 1 calc(25% - 10px); /* Divide el espacio entre 4 columnas */
   text-align: center;
 }
 
 .summary button {
   width: 100%;
   padding: 10px;
   background: #0056b3;
   color: #fff;
   border: none;
   border-radius: 5px;
   cursor: pointer;
 }
 
 .summary button:hover {
   background: #003d80;
 }

 .separator {
   height: 30px;
   width: 1px;
   background-color: #dcdcdc; /* Gris claro */
   margin: 0 10px;
 }

 .item {
   font-size: 14px;
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
 }

 .number {
   font-family: Arial, Helvetica, sans-serif;
   font-weight: bold;
   font-size: 18px;
 }
 
 .unidad {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 12px;
   color: #555;
 }

 .contadores {
   font-family: "LTVeritas-Condensed", Arial, Helvetica, sans-serif;
   font-size: 28px;
   font-weight: normal;
   color: #555;
 }

 .tiempos {
   display: flex;
   flex-direction: column;
 }

#div_calendario_rango .ui-input-text{
  margin: 0px !important;
}

 .rounded-box {
   background-color: white; /* Color de fondo */
   border-radius: 5px; /* Esquinas redondeadas */      
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
   font-family: Arial, sans-serif; /* Fuente */
   flex-grow: 1;
 }

 /* Estilo del título */
 .title {
   font-size: 18px; /* Tamaño del título */
   font-weight: bold;
   margin-bottom: 15px; /* Espaciado inferior */
   color: #333; /* Color del texto */
   padding-left: 5px;
   margin-left: 10px;
 }
 
 /* Estilo para la tabla */
 .counter-table {
   width: 100%; /* Ancho completo */
   border-collapse: collapse; /* Quita espacios entre bordes */
   font-size: 14px;
 }
 
 /* Estilo para las celdas */
 .counter-name {
   text-align: left; /* Texto alineado a la izquierda */
   padding: 8px 20px; /* Espaciado interno */
   color: #555; /* Color del texto */
 }
 
 .counter-value {
   text-align: right; /* Valores alineados a la derecha */
   padding: 8px 10px; /* Espaciado interno */
   font-weight: bold; /* Valores en negrita */
   color: #000; /* Color de los valores */
 }
 
 /* Bordes inferiores en las filas */
 .counter-table tr:not(:last-child) {
   border-bottom: 1px solid #ddd; /* Línea gris claro */
 }


 /*Gestion documental */

 .docs {
   background-color: #fff;
   border: 1px solid #ddd;
   border-radius: 8px;
   padding: 15px;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   font-family: Arial, sans-serif;
 }
 
 /* Encabezado de la tarjeta */
 .docs-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
 }
 
 .docs-header .title {
   font-size: 16px;
   color: #333;
   margin: 0 0 10px;
 }
 
 .docs-header .badge {
   background-color: #ffebee;
   color: #e53935;
   padding: 3px 8px;
   border-radius: 12px;
   font-size: 12px;
   font-weight: bold;
   margin-bottom: 10px;
 }
 
 /* Contenido principal */
 .docs-content {
   display: grid;
   grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
   gap: 15px;
 }
 
 .option {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   text-align: center;
 }
 
 .option .icon {
   font-size: 40px; /* Tamaño del ícono */
   color: #2196f3;
   background-color: #e3f2fd;
   border-radius: 50%;
   width: 60px;
   height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative; /* Posición relativa para colocar el contador */
 }
 
 .option .label {
   margin-top: 10px;
   font-size: 14px;
   color: #555;
 }

 .option .icon-count {
   position: absolute;
   top: -5px; /* Ajusta la posición vertical del contador */
   right: -5px; /* Ajusta la posición horizontal del contador */
   background-color: #e53935;
   color: #fff;
   font-size: 12px;
   font-weight: bold;
   padding: 2px 6px;
   border-radius: 50%; /* Hace que el contador sea circular */
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
 }

 .separator-title {
   width: 100%;
   height: 2px;
   background-color: #ddd;
   margin-bottom: 15px;
 }

 .doc-icon {
   width: 40px;
   height: 40px;
   margin-left: 3px;
   cursor: pointer;
 }

 /* Encabezado de "Mi calendario" */
.misestadisticas {
   grid-column: 1 / 3;
   grid-row: 4 / 5;
   gap: 10px;
   margin-left: 10px; /* Alineado al contenido */
   font-family: "LTVeritas-Condensed", Arial, Helvetica, sans-serif;
   font-size: 28px;
   margin: 0;            
   color: #636363;
   font-weight: normal;
   display:flex;
   flex-direction: column;
   align-items: normal;
   margin: 0px;
}

.panel-estadisticas {
   font-family: Arial, Helvetica, sans-serif;
   background-color: #fff;
   border-radius: 8px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   padding: 20px;
   /*max-width: 1200px;*/
}

.graficos {
   display: flex;
   flex-direction: row;
   gap:10px;
   overflow: hidden;
}

.graficos canvas {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 14px;
   flex: 1;
   max-height: 420px;
}

.range-container {
   display: flex;
   background-color: white;   
   width: 300px; /* Ajusta según sea necesario */
   align-items: center;
}

.range-label {
   font-size: 12px !important;
   color: #666;
   width: 90px;
}

.range-input {
   border: none;
   outline: none;
   font-size: 12px;
   color: #000;
   background-color: transparent;   
}

.rangedate-icon-container {
   position: relative;
}

.rangedate-icon-container input {
   padding-right: 40px; /* Espacio suficiente para el icono */
   font-size: 14px;
}

.rangedate-icon-container .rangedate-icon {
   position: absolute;
   right: 5px;
   top: 50%;
   transform: translateY(-50%);
   width: 24px;
   height: 24px;
   background-image: url('../img/calendar_portal.png'); /* Ruta de tu icono */
   background-size: contain;
   background-repeat: no-repeat;
   cursor: pointer; /* Hace que el icono sea clickeable */
}

.temp {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 2px;
}

.temp-item {
   display: flex;
   align-items: center;   
   min-width: 25px;
 }

 .temp-value {
   font-size: 14px; /* Ajusta el tamaño de la fuente */
   color: #333; /* Color del texto */
   width: 25px;  /* Establece un ancho fijo para que las temperaturas se alineen */
   text-align: center;  /* Alinea el texto al centro */
 }

 .texto-clima {
   font-size: 10px;
   text-align: right;
   width: 100%;
 }

.ui-loader {
	color: var(--color1);
}

.align_right {
   display: flex;
   justify-content: flex-end;   
}

.align_left {
   display: flex;
   justify-content: flex-start;
}

.photo-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;   /* evita que la foto se deforme */
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;          /* ocupa todo el espacio disponible */
}

.photo-a {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.trumbowyg-dropdown-emoji button {
    font-size: 36px !important;
    width: 42px;
    height: 42px;
    line-height: 42px;
}

.trumbowyg-editor {
    line-height: 1.2;
}

.trumbowyg-editor p {
    margin: 0 0 4px;
}

.panel-principal {
    display: flex;
    align-items: center;
}

.ultimo-acceso {    
    font-size: 10px;
    color: rgba(255,255,255,0.65);
    color: #333;
}

.panel-usuario {
   background-color: rgb(250, 121, 0, 0.1); 
   padding: 10px;
   border-radius: 5px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   color: #333;
}

.foto-perfil {
   width: 80px;       /* Tamaño de la foto */
   height: 80px;
   border-radius: 50%; /* Hacerla redonda */
   margin-right: 15px; /* Separación con el texto */
   object-fit: cover; /* Recorta la imagen si no es cuadrada */
   border: 2px solid #ccc; /* Borde decorativo */
}

.contenido-perfil {
   width: 100%;
   text-align: right;
}

.foto-wrapper {
   position: relative;
   width: 80px;
   height: 80px;
   margin-right: 15px;
   flex: 0 0 auto;
}

.texto-nombre {
   margin: 0;
   font-size: 14px;
   color: #333;
}

/* Quitar espacios verticales por defecto */
#dboard_nombre {
    margin: 0;
    padding: 0;
}

#dboard_ultimo_acceso {
    margin: 5px 0 0 0;
    padding: 0;
}

#perfil_fecha {
   margin: 20px 0 0 0;
   padding: 0;
}

.panel-principal #dboard_nombre h2
{
    margin: 0;
    padding: 0;
}