

  /* Contenedor general */
  .table-container {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 13px 10px 16px 0px rgba(134, 134, 134, 0.08);
    border: 1px solid #f5f5f5;
  }



  /* Filas */
  tbody tr:hover {
    background-color: #f9fafc;
    transition: background 0.2s ease-in-out;
  }

  /* Fotos */
  .unit-photo {
    width: 64px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
  }

  /* Badges */
  .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
  }

  .badge-green {
    background: #dcfce7;
    color: #15803d;
  }

  .badge-red {
    background: #fee2e2;
    color: #b91c1c;
  }


  h3 {
    margin-bottom: 10px;
  }

  .filtros {
    margin-bottom: 20px;
  }

  .filtros input,
  .filtros button {
    margin-right: 10px;
    padding: 5px 10px;
    font-size: 14px;
  }

  .chart-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }

  .chart-box {
    flex: 1 1 45%;
    min-width: 300px;
    height: 400px;
  }

  .full-width {
    flex: 1 1 100%;
  }

  hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #ccc;
  }

  /* --------- Estilo general --------- */
  body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    margin: 0;
    padding: 0;
  }

  h3 {
    text-align: center;
    margin: 30px 0 10px 0;
    font-weight: 600;
    color: #2c3e50;
  }

  hr {
    border: none;
    height: 1px;
    background: #dfe6e9;
    margin: 50px 0;
  }

  /* --------- Contenedor principal --------- */
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
  }

  /* --------- Filtros --------- */
  .filtros {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
  }

  .filtros input[type="date"] {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
  }

  .filtros button {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
  }

  .filtros button:hover {
    background: #0056b3;
  }

  /* --------- GrÃ¡ficas --------- */
  .chart-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
  }

  .chart-box {
    flex: 1 1 45%;
    min-width: 350px;
    height: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 10px;
    transition: box-shadow 0.3s ease;
  }

  /* ðŸ”¹ Nuevo efecto: no se mueve, solo cambia suavemente la sombra */
  .chart-box:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }

  .full-width {
    flex: 1 1 100%;
  }

  /* --------- Slider de tiempo --------- */
  #time-slider {
    width: 80%;
    margin: 30px auto;
    display: none;
  }

  .noUi-target {
    background: #e9ecef;
    border-radius: 10px;
    border: none;
  }

  .noUi-connect {
    background: linear-gradient(90deg, #4caefe, #007bff);
  }

  .noUi-tooltip {
    font-size: 13px;
    background: #007bff;
    color: white;
    border-radius: 4px;
    border: none;
  }

  /* --------- Etiquetas de tiempo --------- */
  .slider-labels {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #555;
  }

  /* --------- Sin datos --------- */
  .no-data {
    text-align: center;
    color: #999;
    font-style: italic;
    margin-top: 50px;
  }

  /* --------- TÃ­tulos de secciÃ³n --------- */
  .section-title {
    text-align: left;
    margin: 40px 0 15px;
    font-weight: 600;
    color: #2d3436;
    border-left: 5px solid #007bff;
    padding-left: 10px;
    font-size: 18px;
  }

  button {
    margin-top: 10px;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    color: #4daeee;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  }

  .buttons-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .btn-container {
    display: flex;
    gap: 10px;
  }


  button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }

  button:active {
    transform: scale(0.98);
  }