/* Admin Panel Styles */

/* Sidebar */
.list-group-item {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding: 0.75rem 1.25rem;
}

.list-group-item.active {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.list-group-item i {
  width: 20px;
  text-align: center;
}

/* Cards */
.card {
  margin-bottom: 1.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.75rem 1.25rem;
}

/* Stats Cards */
.card.bg-primary,
.card.bg-success,
.card.bg-info {
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.card.bg-primary .card-title,
.card.bg-success .card-title,
.card.bg-info .card-title {
  opacity: 0.8;
  font-size: 1rem;
}

/* Tables */
.table th {
  font-weight: 600;
  background-color: #f8f9fa;
}

.table td {
  vertical-align: middle;
}

/* Forms */
.form-label {
  font-weight: 500;
}

/* Code Preview */
pre {
  margin-bottom: 0;
  white-space: pre-wrap;
}

code {
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .card-body {
    padding: 1rem;
  }
  
  .table-responsive {
    font-size: 0.875rem;
  }
}
