/* Admin Dashboard Custom Styles */

/* Metric panels */
.metric-panel .panel_contents {
  text-align: center;
  padding: 1rem;
}

.metric-panel .metric-value h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #5e72e4;
  margin: 0;
  line-height: 1.2;
}

.metric-panel .metric-value p {
  color: #8898aa;
  margin: 0.25rem 0 0 0;
  font-size: 0.875rem;
}

.metric-panel hr {
  margin: 0.75rem 0;
  border: 0;
  border-top: 1px solid #e9ecef;
}

.metric-panel .metric-detail {
  font-size: 0.8rem;
  color: #32325d;
}

/* Alerts panel */
.alerts-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.alerts-panel li {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.alerts-panel li a {
  color: inherit;
  text-decoration: underline;
}

.alerts-panel .alert-error {
  background-color: #ffeaea;
  border-left: 4px solid #dc3545;
  color: #721c24;
}

.alerts-panel .alert-warning {
  background-color: #fff8e6;
  border-left: 4px solid #ffc107;
  color: #856404;
}

.alerts-panel .no-alerts {
  text-align: center;
  padding: 2rem;
  color: #28a745;
  font-weight: 500;
}

/* Panel footer */
.panel-footer {
  text-align: right;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid #e9ecef;
}

.panel-footer a {
  color: #5e72e4;
  font-size: 0.8rem;
  text-decoration: none;
}

.panel-footer a:hover {
  text-decoration: underline;
}

/* Status tags in tables */
.status_tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
}
