/* ===========================
   Statistika Page Styles
   =========================== */

.statistika-section {
  min-height: calc(100vh - 79px);
  padding: 79px 0 6rem;
  background: #ffffff;
}

/* Header */
.statistika-header {
  text-align: center;
  margin-bottom: 3rem;
}

.statistika-title {
  margin: 0 0 0.5rem 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
}

.statistika-subtitle {
  margin: 0;
  font-size: 1.125rem;
  color: #6b7280;
}

/* Stats Overview Grid */
.stats-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Stats Card */
.stats-card {
  padding: 2rem;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--accent-color, #05d4e0);
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color, #05d4e0);
}

.stats-card-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.stats-status {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  background: #f3f4f6;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

.stats-status.loading {
  color: #f59e0b;
  background: #fef3c7;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  text-align: center;
}

.stat-item.highlight {
  background: var(--accent-color, #05d4e0);
}

.stat-item.highlight .stat-value,
.stat-item.highlight .stat-label {
  color: #ffffff;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-top: 0.25rem;
}

/* Stats Details */
.stats-details {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.detail-row:not(:last-child) {
  border-bottom: 1px solid #f3f4f6;
}

.detail-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.detail-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

/* Stats Loading */
.stats-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  color: #6b7280;
  font-size: 0.875rem;
  gap: 1rem;
}

.spinner-small {
  width: 24px;
  height: 24px;
  border: 3px solid #e5e7eb;
  border-top-color: #05d4e0;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Stats Empty */
.stats-empty {
  padding: 2rem 1rem;
  text-align: center;
}

.stats-empty p {
  margin: 0;
  font-size: 0.875rem;
  color: #9ca3af;
  font-style: italic;
}

/* Stats Info Card */
.stats-info-card {
  padding: 2rem;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #aa912b;
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-info-title {
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  border-bottom: 2px solid #aa912b;
}

.stats-info-content p {
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Legend */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-abbr {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: #374151;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  min-width: 28px;
  text-align: center;
}

.legend-desc {
  font-size: 0.875rem;
  color: #6b7280;
}

