.analytics-title {
  font-weight: 400;
  margin-top: 0px;
  margin-bottom: 10px;
}
.stat-links a {
  color: grey;
  text-decoration: underline;
}
.analytics-page .analytics-header {
  padding: 10px;
  font-weight: bolder;
}
.analytics-page .analytics-list {
  list-style-type: none;
  padding-inline-start: 0px;
}
.analytics-page .analytics-list a {
  text-decoration: none;
}
.analytics-page .analytics-list a:hover {
  text-decoration: none;
}
.analytics-page .analytics-list li {
  margin-left: -10px;
  margin-top: 10px;
}
.analytics-page .analytics-list .analytic {
  font-size: 16px;
  border: 1px solid #cbcbcb;
  padding: 10px;
  border-radius: 5px;
}
.chart-section {
  background: transparent;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 32px;
}
.chart-title {
  font-size: 12px;
  font-weight: 400;
  color: #999;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.empty-state {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-state-text {
  font-size: 12px;
  color: #e0e0e0;
  letter-spacing: 0.02em;
}
.analytics-page {
  min-height: 100vh;
}
.analytics-content {
  max-width: 900px;
}
.analytics-header {
  padding: 24px 0;
  margin-bottom: 24px;
}
.analytics-heading {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}
.analytics-subtitle,
.analytics-date {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 24px 0 20px 0;
}
.back-button-container {
  margin-bottom: 20px;
}
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s;
}
.back-button:hover {
  color: #111827;
  background: #f9fafb;
  text-decoration: none;
}
.back-button i {
  font-size: 12px;
}
.analytics-page .button.outline-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s;
}
.analytics-page .button.outline-button:hover {
  color: #111827;
  background: #f9fafb;
  text-decoration: none;
}
.analytics-metrics {
  margin-bottom: 40px;
}
.metric-item {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
  color: #6b7280;
}
.metric-item a {
  color: #6b7280;
  text-decoration: none;
}
.metric-item a:hover {
  color: #111827;
}
.analytics-chart-section {
  margin-bottom: 40px;
}
.analytics-chart-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 12px 0;
}
.analytics-chart-container {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 20px;
  min-height: 240px;
}
.analytics-chart-container canvas {
  max-width: 100%;
  height: auto !important;
}
.data-table-container {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  overflow-x: auto;
  margin-top: 20px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table thead {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.data-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #111827;
  font-size: 13px;
  text-transform: capitalize;
}
.data-table tbody tr {
  border-bottom: 1px solid #f3f4f6;
}
.data-table tbody tr:last-child {
  border-bottom: none;
}
.data-table tbody tr:hover {
  background: #f9fafb;
}
.data-table tbody td {
  padding: 12px 16px;
  color: #4b5563;
  vertical-align: top;
}
.data-table tbody td:first-child {
  font-weight: 500;
  color: #111827;
}
.data-table tbody td a {
  color: #3b82f6;
  text-decoration: none;
}
.data-table tbody td a:hover {
  color: #2563eb;
  text-decoration: underline;
}
.data-table tbody td.details-cell {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
}
.data-table tbody td.details-cell p {
  margin: 4px 0;
}
.data-table tbody td.details-cell p:first-child {
  font-weight: 500;
  color: #4b5563;
}
.analytics-page .mt-3 {
  margin-top: 0 !important;
}
.analytics-page .w-fit-content {
  width: auto !important;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .analytics-content {
    max-width: 100%;
  }
  .data-table {
    font-size: 12px;
  }
  .data-table thead th,
  .data-table tbody td {
    padding: 10px 12px;
  }
  .data-table tbody td.details-cell {
    font-size: 10px;
  }
  .analytics-heading {
    font-size: 20px;
  }
  .analytics-subtitle,
  .analytics-date {
    font-size: 18px;
  }
}
