/* Analytics-specific styles only */
.analytics-dashboard {
  padding: 0 4vw;
  margin-inline: 1vw;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Title Box - Now a proper container above metrics */
.title-box {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  width: 100%;
  margin-bottom: 0;
}

.title-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.analytics-dashboard h2 {
  color: white;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.metrics-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  max-width: 100%;
}

.metric-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
  cursor: pointer;
}

.metric-card h3 {
  color: #94a3b8;
  font-size: 16px;
  margin: 0 0 8px;
}

.metric-card p {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  color: #e2e8f0;
}

.analytics-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.tab-button {
  background: #1e293b;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  font-weight: 600;
  padding: 15px 25px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  border-radius: 8px;
  border-bottom: 3px solid transparent;
  min-width: 120px;
}

.tab-button:hover {
  background-color: #334155;
  color: white;
}

.tab-button.active {
  color: #3b82f6;
  border-bottom: 3px solid #3b82f6;
  background-color: #1e293b;
}

.analytics-content {
  background: #1e293b;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid #334155;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  margin-top: 0;
}

.analytics-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .metrics-summary {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .analytics-tabs {
    flex-direction: column;
    gap: 10px;
  }
  
  .tab-button {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .metrics-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Rest of your existing CSS remains the same */
.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
}

.filter-bar input,
.filter-bar select {
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: #334155;
  color: white;
}

.token-table {
  width: 100%;
  border-collapse: collapse;
}

.token-table th,
.token-table td {
  padding: 12px;
  border-bottom: 1px solid #334155;
  text-align: left;
}

.token-table th {
  color: #94a3b8;
}

.token-table td {
  color: #e2e8f0;
}

.chart-container {
  height: 300px;
  background-color: #2d3748;
  border-radius: 8px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}

.search-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-container input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: #334155;
  color: white;
}

.search-container button {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-container button:hover {
  background: #2563eb;
}
