  /* optimizacion para moviles (ngau) */
    @media (max-width: 768px) {
      /* Estilos para móviles */
    }

    #chartdiv {
      width: 90%;
      height: 500px;
      margin-left: 5%;
    }



    table,
    th,
    td {
      border: 1px solid black;
      border-collapse: collapse;
    }





    /* estuki selects y botones*/
    .select-profesional {
      padding: 10px 15px;
      border: 2px solid #e1e8ed;
      border-radius: 8px;
      background: white;
      font-size: 14px;
      color: #2c3e50;
      font-weight: 500;
      min-width: 180px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .select-profesional:hover {
      border-color: #3498db;
      box-shadow: 0 4px 8px rgba(52, 152, 219, 0.1);
    }

    .select-profesional:focus {
      outline: none;
      border-color: #2980b9;
      box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    }

    .btn-profesional {
      padding: 10px 20px;
      background: linear-gradient(135deg, #6ec71bff, #11781bff);
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .btn-profesional:hover {
      background: linear-gradient(135deg, #80ed1aff, #13d427ff);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
      transform: translateY(-1px);
    }

    .btn-profesional:active {
      transform: translateY(0);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }


    /* Estilo para las opciones del select */
    .select-profesional option {
      padding: 10px;
      background: white;
      color: #2c3e50;
    }

    .select-profesional option:first-child {
      color: #7f8c8d;
      font-style: italic;
    }

    /* Contenedor principal mejorado */
    #consult {
      background: #f8f9fa;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      margin: 20px auto;
      width: 90%;
      border: 1px solid #e9ecef;
    }


    /*------estilo para el boton mostrar aviso-------------------------------------------------*/
    .btnMosAvi {
      background: linear-gradient(135deg, #e0c668ff, #efb729ff);
      color: black;
      border: none;
      padding: 10px 15px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .btnMosAvi:hover {
      background: linear-gradient(135deg, #ead748ff, #e0d504ff);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
      transform: translateY(-1px);
    }
   


    /*Estilo para la ventana emergente**********************************/
    /* Ventana flotante tipo aviso */
    .aviso-flotante {
      position: fixed;
      top: 20px;
      right: 20px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
      z-index: 10001;
      width: 800px;
      display: none;
      border-left: 4px solid #efb729ff;
      font-family: Arial, sans-serif;
      font-size: 14px;
      /* Tamaño base aumentado */
    }

    .aviso-header {
      background: #efb729ff;
      color: white;
      padding: 15px 20px;
      border-radius: 8px 8px 0 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .aviso-header h3 {
      margin: 0;
      font-size: 1.4rem;
      /* Aumentado */
      font-weight: 600;
    }

    .btn-cerrar-aviso {
      background: none;
      border: none;
      color: white;
      font-size: 1.8rem;
      /* Aumentado */
      cursor: pointer;
      padding: 0;
      width: 35px;
      height: 35px;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .btn-cerrar-aviso:hover {
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
    }

    .aviso-body {
      padding: 25px;
      max-height: 500px;
      overflow-y: auto;
      font-size: 1rem;
      /* Tamaño base del contenido */
    }

    .aviso-body p {
      margin: 0 0 15px 0;
      color: #333;
      line-height: 1.6;
      font-size: 1.3rem;
      /* Aumentado */
    }

    .aviso-body strong {
      font-size: 1.1rem;
      /* Aumentado para textos en negrita */
    }

    .aviso-body ul {
      margin: 20px 0;
      padding-left: 25px;
    }

    .aviso-body li {
      margin-bottom: 12px;
      color: #555;
      line-height: 1.5;
      font-size: 1rem;
      /* Aumentado */
    }

    .sub-list {
      list-style-type: circle;
      margin-left: 25px;
      margin-top: 8px;
      font-size: 1.1rem;
      /* Más grande */
    }

    .sub-list li {
      margin-bottom: 6px;
      font-size: 1.1rem;
      /* Más grande */
      line-height: 1.5;
    }

    .highlight-box {
      background: #f8f9fa;
      border-left: 3px solid #28a745;
      padding: 15px 20px;
      margin: 20px 0;
      border-radius: 0 4px 4px 0;
      font-size: 1rem;
      /* Aumentado */
    }

    .highlight-box strong {
      font-size: 1.1rem;
      /* Aumentado */
    }

    .data-source {
      font-size: 0.9rem;
      /* Aumentado */
      color: #666;
      margin-top: 20px;
      padding-top: 15px;
      border-top: 1px solid #eee;
    }

    /* Para los emojis y iconos */
    .aviso-body li strong {
      font-size: 1.5rem;
    }












    .toggle-llave {
      position: relative;
      display: inline-block;
      width: 140px;
      height: 40px;
    }

    .toggle-llave input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #bd401a;
      border-radius: 25px;
      transition: .4s;
    }

    .slider:before {
      position: absolute;
      content: "";
      height: 32px;
      width: 60px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      border-radius: 30%;
      transition: .4s;
    }

    input:checked+.slider {
      background-color: rgb(24, 64, 172);
    }

    input:checked+.slider:before {
      transform: translateX(70px);
    }

    /* ESTILOS PARA EL TEXTO SIN FONDO */
    .toggle-text {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 12px;
      font-weight: bold;
      z-index: 1;
      pointer-events: none;
      transition: all 0.3s;
      /* Eliminar cualquier fondo */
      background: transparent !important;
      padding: 0;
      margin: 0;
    }

    .off-text {
      left: 14px;
      color: #0d186cff;
    }

    .on-text {
      right: 14px;
      color: #941017ff;
    }

    /* Estados del texto */
    input:not(:checked)+.slider .off-text {
      color: #0d186cff;
      /* Visible en OFF */
    }

    input:not(:checked)+.slider .on-text {
      color: transparent;
      /* Oculto en OFF */
    }

    input:checked+.slider .off-text {
      color: transparent;
      /* Oculto en ON */
    }

    input:checked+.slider .on-text {
      color: #6c160dff;
      /* Visible en ON */
    }