/* =========================
   IndoBridge - Snapshot
========================= */

.snapshot-section {
  padding: 8px 0 60px;
  background: #f8fafc;
}

.snapshot-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.snapshot-card.wide {
  margin-top: 0;
}

.snapshot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.snapshot-head h3 {
  font-size: 18px;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.snapshot-date {
  font-size: 12px;
  font-weight: 800;
  color: #0f766e;
  background: #ccfbf1;
  padding: 6px 10px;
  border-radius: 999px;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.snapshot-grid.wide {
  grid-template-columns: repeat(5, 1fr);
}

.snapshot-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
}

.snapshot-item span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.snapshot-item strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.snapshot-item small {
  display: block;
  margin-top: 6px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
}


.snapshot-section {
  padding: 10px 0 60px;
  background: #f8fafc;
}

.snapshot-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.snapshot-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.snapshot-head h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.snapshot-subtitle {
  color: #64748b;
  font-size: 14px;
  margin-top: 4px;
}

.snapshot-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.snapshot-date {
  font-size: 12px;
  font-weight: 800;
  color: #0f766e;
  background: #ccfbf1;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.snapshot-download {
  border: 1px solid #0f766e;
  background: #0f766e;
  color: white;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}

.snapshot-download:hover {
  background: #115e59;
  transform: translateY(-1px);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.snapshot-grid.wide {
  grid-template-columns: repeat(5, 1fr);
}

.snapshot-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
}

.snapshot-item span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}

.snapshot-item strong {
  display: block;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.snapshot-item small {
  display: block;
  margin-top: 6px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
}

.snapshot-change {
  display: inline-block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: #64748b;
}

.snapshot-change.up {
  background: #dcfce7;
  color: #166534;
}

.snapshot-change.down {
  background: #fee2e2;
  color: #991b1b;
}

.snapshot-history {
  margin-top: 24px;
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
}

.snapshot-history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.snapshot-history-head h4 {
  font-size: 16px;
  color: #0f172a;
}

.snapshot-history-head span {
  font-size: 12px;
  color: #64748b;
  font-weight: 800;
}

.snapshot-history-list {
  display: grid;
  gap: 8px;
}

.snapshot-history-row {
  display: grid;
  grid-template-columns: 1.1fr repeat(5, 1fr);
  gap: 10px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  color: #334155;
}

.snapshot-history-row strong {
  color: #0f172a;
}

.snapshot-history-row span {
  font-weight: 700;
}

@media (max-width: 980px) {
  .snapshot-grid.wide {
    grid-template-columns: repeat(3, 1fr);
  }

  .snapshot-history-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .snapshot-head {
    flex-direction: column;
  }

  .snapshot-actions {
    justify-content: flex-start;
  }

  .snapshot-grid.wide {
    grid-template-columns: 1fr;
  }
}