/* ===== TOTA STATISTICS – EMBED ===== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 15px 0;
}

.stat-card {
  background: #ffffff;
  padding: 22px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  border-left: 6px solid #283593;
}

.stat-card h3 {
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-label {
  color: #555;
  font-size: 0.95rem;
}

.stat-value {
  font-weight: bold;
  cursor: pointer;
  border-bottom: 1px dotted rgba(0,0,0,0.4);
}

.stat-value:hover {
  color: #d84315;
  border-bottom: 1px solid #d84315;
}

.stat-value.total { color: #000; }
.stat-value.hf    { color: #0d47a1; }
.stat-value.vhf   { color: #1b5e20; }

.icon-lupa {
  font-size: 0.85em;
  opacity: 0.6;
  margin-left: 4px;
}

/* ===== MODAL ===== */

.stat-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
}

.stat-modal-content {
  background: #fff;
  width: 90%;
  max-width: 900px;
  margin: 80px auto;
  padding: 20px 26px;
  border-radius: 14px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.stat-modal-close {
  align-self: flex-end;
  font-size: 26px;
  cursor: pointer;
}

#statModalBody {
  overflow-y: auto;
  margin-top: 10px;
}
