@charset "UTF-8";
/* ========== STORM7 COMPACT OVERVIEW - FINAL ========== */
.storm7-compact-overview {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Header compacto */
.s7-compact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(74, 107, 175, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(74, 107, 175, 0.1);
}

.s7-device-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a6baf;
}

.s7-lightning-alert {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border-radius: 6px;
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
  animation: s7-pulse 2s infinite;
}

@keyframes s7-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}
/* Grid principal compacto */
.s7-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
}

/* Tarjetas de datos */
.s7-data-card {
  background: white;
  border-radius: 10px;
  padding: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.s7-data-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.s7-chart-card {
  display: flex;
  flex-direction: column;
}

.s7-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.s7-card-header h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.s7-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Sistema de iconos SVG - MÁS PEQUEÑOS Y MEJORES */
.s7-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.s7-microchip {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a6baf'%3E%3Cpath d='M9 3v1H4v2h1v1H4v2h1v1H4v2h1v1H4v2h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v2h-1v1h1v1h2v-1h1v-1h1v-2h-1v-1h1v-2h-1v-1h1v-2h-1v-1h1V9h-1V8h1V6h-1V5h1V4h-1V3h-2v1h-1V3h-2v1h-1V3h-2v1h-1V3H9zm1 2h2v2h-2V5zm4 0h2v2h-2V5zm-8 4h2v2H6V9zm4 0h2v2h-2V9zm4 0h2v2h-2V9zm4 0h2v2h-2V9z'/%3E%3C/svg%3E");
}

.s7-bolt {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M11 1.5v9h3l-4 8v-9H7l4-8z'/%3E%3C/svg%3E");
}

.s7-current-1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a6baf'%3E%3Cpath d='M12 2a1 1 0 0 1 1 1v8h6a1 1 0 1 1 0 2h-6v8a1 1 0 1 1-2 0v-8H5a1 1 0 1 1 0-2h6V3a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.s7-current-2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M12 2a1 1 0 0 1 1 1v4h4a1 1 0 1 1 0 2h-4v4a1 1 0 1 1-2 0V9H7a1 1 0 1 1 0-2h4V3a1 1 0 0 1 1-1zm0 10a1 1 0 0 1 1 1v4h4a1 1 0 1 1 0 2h-4v4a1 1 0 1 1-2 0v-4H7a1 1 0 1 1 0-2h4v-4a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.s7-current-3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232ecc71'%3E%3Cpath d='M12 2a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0V7H7a1 1 0 1 1 0-2h4V3a1 1 0 0 1 1-1zm0 6a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2H7a1 1 0 1 1 0-2h4V9a1 1 0 0 1 1-1zm0 6a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2H7a1 1 0 1 1 0-2h4v-2a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.s7-thermometer {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e74c3c'%3E%3Cpath d='M12 3a3 3 0 0 0-3 3v6a3 3 0 1 0 6 0V6a3 3 0 0 0-3-3zm1 9a1 1 0 0 1-2 0V8a1 1 0 0 1 2 0v4z'/%3E%3C/svg%3E");
}

.s7-pressure {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm1-9h2v2h-2v2h-2v-2H9v-2h2V9h2v2z'/%3E%3C/svg%3E");
}

.s7-humidity {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M16 13a4 4 0 1 1-8 0c0-2.67 4-6 4-6s4 3.33 4 6z'/%3E%3C/svg%3E");
}

.s7-altitude {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232ecc71'%3E%3Cpath d='M12 3l10 9h-6v9H8v-9H2l10-9z'/%3E%3C/svg%3E");
}

.s7-battery {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232ecc71'%3E%3Cpath d='M4 8h12v8H4zm2 2v4h8v-4H6z'/%3E%3C/svg%3E");
}

.s7-chart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M3 3v16h18v2H3V3zm4 4h2v10H7zm4-3h2v13h-2zm4 2h2v11h-2z'/%3E%3C/svg%3E");
}

.s7-no-data {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2395a5a6'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

/* Valores y etiquetas */
.s7-value-pair {
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
}

.s7-value-item {
  flex: 1;
  text-align: center;
}

.s7-single-value {
  text-align: center;
  margin-bottom: 0.4rem;
}

.s7-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.s7-value {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
}

.s7-value small {
  font-size: 0.7rem;
  color: #6c757d;
  font-weight: 500;
}

/* Colores diferenciados para máx/min */
.s7-current-high {
  color: #e74c3c; /* Rojo para corriente máxima */
}

.s7-current-low {
  color: #3498db; /* Azul para corriente mínima */
}

.s7-temp-high {
  color: #e74c3c; /* Rojo para temperatura máxima */
}

.s7-temp-low {
  color: #3498db; /* Azul para temperatura mínima */
}

/* Botones de gráfico */
.s7-graph-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: auto;
}

.s7-graph-btn:hover {
  background: #2980b9;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

/* Estados */
.s7-no-data {
  grid-column: 1/-1;
  text-align: center;
  padding: 1.5rem;
  color: #95a5a6;
}

.s7-no-data .s7-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0.8rem;
  opacity: 0.5;
}

/* Sección lightning compacta */
.s7-lightning-compact {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.s7-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.s7-section-title h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.s7-loading-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem;
  color: #6c757d;
  font-size: 0.8rem;
}

.s7-spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(74, 107, 175, 0.2);
  border-top: 2px solid #4a6baf;
  border-radius: 50%;
  animation: s7-spin 1s linear infinite;
}

@keyframes s7-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .s7-compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.6rem;
  }
  .s7-data-card {
    padding: 0.6rem;
  }
  .s7-value-pair {
    flex-direction: column;
    gap: 0.4rem;
  }
  .s7-value-item {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .s7-value {
    justify-content: flex-end;
    font-size: 1.1rem;
  }
  .s7-card-header h4 {
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .s7-compact-grid {
    grid-template-columns: 1fr;
  }
  .s7-compact-header {
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }
  .s7-graph-btn {
    width: 100%;
  }
}
/* ========== MODO OSCURO ========== */
html.dark .s7-compact-header {
  background: rgba(100, 120, 200, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}
html.dark .s7-device-info {
  color: #7a9aff;
}
html.dark .s7-data-card {
  background: #1e1e2e;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
html.dark .s7-card-header h4 {
  color: #e0e0e0;
}
html.dark .s7-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
html.dark .s7-label {
  color: #b0b0b0;
}
html.dark .s7-value small {
  color: #888;
}
html.dark .s7-current-high,
html.dark .s7-temp-high {
  color: #ff6b6b;
}
html.dark .s7-current-low,
html.dark .s7-temp-low {
  color: #7a9aff;
}
html.dark .s7-lightning-compact {
  border-top-color: rgba(255, 255, 255, 0.1);
}
html.dark .s7-section-title h3 {
  color: #e0e0e0;
}
html.dark .s7-no-data {
  color: #888;
}

#inline_metric_charts_section .chart-container {
  min-height: 300px;
}/*# sourceMappingURL=site_overview.css.map */