@charset "UTF-8";
/* ========== ESTILOS BASE (MANTENIENDO TU DISEÑO) ========== */
.chart-resume-card {
  width: 95%;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 2px 0 24px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s ease;
}
@media (max-width: 768px) {
  .chart-resume-card {
    padding: 1rem;
    border-radius: 0.75rem;
  }
}

.chart-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
@media (max-width: 768px) {
  .chart-content {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

.chart-image-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
@media (max-width: 768px) {
  .chart-image-wrapper {
    width: 140px;
    height: 140px;
    margin: 20px auto 0;
  }
}
@media (max-width: 450px) {
  .chart-image-wrapper {
    display: none; /* Oculta la imagen en móviles pequeños */
  }
}

.chart-image {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: all 0.4s ease;
}

.image-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(74, 74, 255, 0.15) 0%, transparent 70%);
  z-index: -1;
  animation: glow-pulse 6s infinite alternate;
}

.chart-data-board {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}
@media (max-width: 450px) {
  .chart-data-board {
    gap: 1rem;
  }
}

.serial-number-tag {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4A4AFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(74, 74, 255, 0.2);
}
@media (max-width: 768px) {
  .serial-number-tag {
    align-self: center;
  }
}

.data-section-header {
  width: 100%;
  padding: 0;
  margin: 0;
}
.data-section-header h3 {
  color: #CF2722;
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
}
@media (max-width: 450px) {
  .data-section-header h3 {
    font-size: 1rem;
  }
}

.header-divider {
  height: 2px;
  background: #CF2722;
  width: 100%;
  margin: 0.5rem 0;
}

/* ========== SISTEMA DE GRID ULTRA-RESPONSIVE ========== */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  /* Tablet - 3 columnas */
  /* Móvil grande - 2 columnas */
  /* Móvil pequeño (344px-450px) - 2 columnas compactas */
  /* Móvil muy pequeño (<344px) - 2 columnas ultra-compactas */
}
@media (max-width: 768px) {
  .data-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 576px) {
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}
@media (max-width: 450px) {
  .data-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 0.6rem;
  }
}
@media (max-width: 344px) {
  .data-grid {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 0.5rem;
  }
}

.data-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.data-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
@media (max-width: 576px) {
  .data-card {
    padding: 0.8rem;
    gap: 0.8rem;
  }
}
@media (max-width: 450px) {
  .data-card {
    padding: 0.7rem;
    gap: 0.7rem;
  }
}
@media (max-width: 344px) {
  .data-card {
    padding: 0.6rem;
    gap: 0.6rem;
  }
}

.data-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 576px) {
  .data-icon {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}
@media (max-width: 450px) {
  .data-icon {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
}

.data-label {
  font-size: 0.8rem;
  color: #555;
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
}
@media (max-width: 450px) {
  .data-label {
    font-size: 0.75rem;
  }
}

.data-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4A4AFF;
}
@media (max-width: 576px) {
  .data-value {
    font-size: 1rem;
  }
}
@media (max-width: 450px) {
  .data-value {
    font-size: 0.95rem;
  }
}

.pulse-value,
.temperature-value {
  color: #CF2722;
}

.data-unit {
  font-size: 0.75rem;
  color: #888;
  margin-left: 2px;
  font-weight: 500;
}
@media (max-width: 450px) {
  .data-unit {
    font-size: 0.7rem;
  }
}

/* ========== AJUSTES FINALES ========== */
/* aca esta el padding con overview.html */
.col-md-12 {
  padding: 5px !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Animación para el glow */
@keyframes glow-pulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.7;
  }
}
/* LIGHNING_HISTORY.HTML */
/* ===== Lightning (PEM) table – estilizada & ultra responsive ===== */
/* LIGHNING_HISTORY.HTML – OVERRIDE COMPLETO */
/* ===== Lightning (PEM) table – estilizada & ultra responsive ===== */
/* Variables de colores */
:root {
  --primary-color: #4a6baf;
  --secondary-color: #3A80F3;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #2c3e50;
  --text-color: #4a4a4a;
  --border-color: #e0e0e0;
}

/* Estilos generales */
.final-container {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  max-width: 70%;
  margin-top: 60px !important;
  box-sizing: border-box;
}

.lightning-header {
  margin-top: 60px !important;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 8px 8px 0 0;
  font-size: 1rem;
  color: #5F5F5F;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightning-header svg {
  width: 20px;
  height: 20px;
}

.lightning-content {
  background: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Estilos de la tabla - Versión desktop */
.lightning-table {
  width: 100%;
  border-collapse: collapse;
}

.lightning-table thead {
  background-color: var(--primary-color);
}

.lightning-table thead th {
  color: white;
  padding: 12px 8px;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-align: center;
}

.lightning-table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.lightning-table thead th:last-child {
  border-radius: 0 8px 0 0;
}

.lightning-table tbody tr {
  transition: background-color 0.2s ease;
}

.lightning-table tbody tr:hover {
  background-color: rgba(74, 107, 175, 0.05);
}

.lightning-table tbody tr:last-child td {
  border-bottom: none;
}

.lightning-table tbody td {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(224, 224, 224, 0.5);
  text-align: center;
  vertical-align: middle;
  font-size: 0.85rem;
}

/* Badges de intensidad */
.intensity-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 60px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.intensity-low {
  background-color: var(--success-color);
  color: white;
}

.intensity-medium {
  background-color: var(--warning-color);
  color: #856404;
}

.intensity-high {
  background-color: var(--danger-color);
  color: white;
}

/* Botón Ver más/menos */
.show-more-button,
.show-less-button {
  background-color: rgba(74, 107, 175, 0.1);
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.show-more-button:hover,
.show-less-button:hover {
  background-color: rgba(74, 107, 175, 0.2);
}

/* Estado vacío */
.lightning-empty-state {
  padding: 24px 16px;
  text-align: center;
  background-color: rgba(248, 249, 250, 0.5);
}

.lightning-empty-state .lightning-empty-icon {
  color: #888;
  margin-bottom: 16px;
}

.lightning-empty-state .lightning-empty-icon svg {
  width: 48px;
  height: 48px;
}

.lightning-empty-state .lightning-empty-text {
  color: #888;
  font-weight: 400;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Versión mobile (tablet y teléfono) */
@media (max-width: 768px) {
  .lightning-header {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  .lightning-table thead {
    display: none;
  }
  .lightning-table tbody tr {
    display: block;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: white;
  }
  .lightning-table tbody tr:last-child {
    margin-bottom: 0;
  }
  .lightning-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    text-align: right;
    border-bottom: 1px solid rgba(224, 224, 224, 0.3);
  }
  .lightning-table tbody td:before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 0.8rem;
  }
  .lightning-table tbody td:last-child {
    border-bottom: none;
  }
  /* Añadir data-labels a las celdas para mobile */
  .lightning-table tbody td:nth-child(1):before {
    content: "#";
  }
  .lightning-table tbody td:nth-child(2):before {
    content: "Fecha y hora";
  }
  .lightning-table tbody td:nth-child(3):before {
    content: "Distancia";
  }
  .lightning-table tbody td:nth-child(4):before {
    content: "Intensidad";
  }
  .lightning-empty-state {
    padding: 20px 12px;
  }
  .lightning-empty-state .lightning-empty-icon svg {
    width: 40px;
    height: 40px;
  }
  .lightning-empty-state .lightning-empty-text {
    font-size: 0.85rem;
  }
}
/* Versión mobile pequeña (hasta 344px) */
@media (max-width: 344px) {
  .lightning-header {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  .lightning-header svg {
    width: 16px;
    height: 16px;
  }
  .lightning-table tbody td {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .lightning-table tbody td:before {
    font-size: 0.75rem;
  }
  .intensity-badge {
    padding: 3px 8px;
    font-size: 0.65rem;
    min-width: 50px;
  }
  .lightning-empty-state {
    padding: 16px 10px;
  }
  .lightning-empty-state .lightning-empty-icon svg {
    width: 32px;
    height: 32px;
  }
  .lightning-empty-state .lightning-empty-text {
    font-size: 0.8rem;
  }
  .show-more-button,
  .show-less-button {
    font-size: 0.75rem;
    padding: 8px;
  }
}
/* Efecto de transición para filas ocultas */
.hidden-row {
  transition: all 0.3s ease;
}

/* Estilos para el gráfico */
.lightning-chart-container {
  margin-top: 24px;
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .lightning-chart-container {
    margin-top: 16px;
    padding: 12px;
  }
}
@media (max-width: 344px) {
  .lightning-chart-container {
    margin-top: 12px;
    padding: 8px;
  }
}
/* ==== FIX: lado a lado centrados, sin apilar ==== */
/* 1) El grupo (imagen + tablero) centrado dentro del ancho completo */
.chart-content {
  display: flex;
  justify-content: center; /* centra el grupo */
  align-items: flex-start; /* evita “encoger” vertical/columna */
  gap: 2rem;
}

/* 2) Da espacio a cada columna del grupo */
.chart-image-wrapper {
  flex: 0 0 160px; /* ancho fijo para la imagen */
}

.chart-data-board {
  flex: 0 1 900px; /* el tablero toma ancho útil */
  align-items: stretch; /* <— clave: que sus hijos se estiren */
  width: 100%;
}

/* 3) La grid vuelve a ocupar el ancho disponible */
.data-grid {
  width: 100%;
  justify-items: center; /* centra el contenido de cada celda */
}

/* 4) Tarjetas centradas, pero sin forzar columna única */
.data-card {
  justify-content: center;
  text-align: center;
  /* elimina SI lo agregaste antes: width: 100%; */
}

/* 5) Mantén la imagen centrada “dentro” pero sin afectar el layout lateral */
.chart-image-wrapper,
.serial-number-tag {
  margin-left: 0;
  margin-right: 0;
}

/* ==== Desktop: nos quedamos con el arreglo anterior (lado a lado) ==== */
/* Asegúrate de NO tener .chart-data-board { align-items: center; } */
.chart-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
}

.chart-image-wrapper {
  flex: 0 0 160px;
}

.chart-data-board {
  flex: 0 1 900px;
  align-items: stretch;
  width: 100%;
}

.data-grid {
  width: 100%;
}

/* ==== Tablet compacto (<=768px): lado a lado pero más apretado ==== */
@media (max-width: 768px) {
  .chart-content {
    flex-wrap: wrap; /* permite que salte si no entra */
    gap: 1rem;
    align-items: flex-start;
  }
  .chart-image-wrapper {
    flex: 0 0 120px; /* imagen más pequeña */
    width: 120px;
    height: 120px;
    margin-top: 0.5rem;
  }
  .chart-data-board {
    flex: 1 1 calc(100% - 140px); /* tablero ocupa el resto */
  }
  .data-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr)); /* 2 cols en tablet */
    gap: 0.75rem;
  }
  .data-card {
    padding: 0.75rem;
  }
  .data-icon {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  .data-value {
    font-size: 1rem;
  }
}
/* ==== Mobile compacto (<=600px): ocultar imagen antes y reducir espacios ==== */
@media (max-width: 600px) {
  .chart-image-wrapper {
    display: none;
  } /* antes era 450px; ocúltala antes */
  .serial-number-tag {
    align-self: center;
    margin-bottom: 0.25rem;
  }
  .chart-content {
    gap: 0.75rem;
  }
  .data-section-header h3 {
    font-size: 1rem;
  }
  .header-divider {
    margin: 0.25rem auto;
  }
  .data-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 0.6rem;
  }
  .data-card {
    padding: 0.65rem;
    gap: 0.6rem;
  }
  .data-label {
    font-size: 0.75rem;
  }
  .data-value {
    font-size: 0.95rem;
  }
  .data-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}
/* ==== Micro (<=360px) aún más denso ==== */
@media (max-width: 360px) {
  .data-grid {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 0.5rem;
  }
  .data-card {
    padding: 0.55rem;
  }
}
/* ==== Lightning debajo, sin ocupar de más en mobile ==== */
@media (max-width: 768px) {
  .lightning-chart-wrapper,
  .final-container {
    max-width: 100%;
    padding-inline: 0.5rem;
  }
}
.lightning-container {
  margin-top: 100px !important;
  padding-top: 10px !important;
}/*# sourceMappingURL=site_overview.css.map */