/* ================= SIDEBAR CUSTOM ================= */
.sidebar-logo {
  max-width: 180px;
  height: 100px;
  object-fit: contain;
}

.sidebar .nav-link.active {
  background-color: rgba(12, 98, 217, 0.12);
  color: #0c62d9;
  font-weight: 600;
  border-radius: 6px;
}

.sidebar .nav-link:hover {
  background-color: rgba(12, 98, 217, 0.08);
  color: #0c62d9;
}

.sidebar .dropdown-item {
  font-size: 14px;
  padding-left: 22px;
}

.sidebar .dropdown-item:hover {
  background-color: transparent;
  color: #0c62d9;
}

.sidebar i {
  min-width: 18px;
  text-align: center;
}

@media (max-width: 991px) {
  .sidebar {
    margin-top: 60px;
  }
}

/* ================= STATS CARDS ================= */
.stats-card {
  border-left: 4px solid;
  transition: all 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stats-card.total {
  border-color: #0c62d9;
}

.stats-card.confirmed {
  border-color: #28a745;
}

.stats-card.pending {
  border-color: #ffc107;
}

.stats-card.cancelled {
  border-color: #dc3545;
}

/* ================= TABLE STYLING ================= */
.table-responsive {
  border-radius: 8px;
  overflow: hidden;
}

.table {
  font-size: 14px;
  margin-bottom: 0;
}

.table thead th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  border: none;
  padding: 12px 8px;
  white-space: nowrap;
}

.table tbody tr {
  transition: all 0.2s ease;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.table tbody td {
  vertical-align: middle;
  padding: 12px 8px;
  border-color: #e9ecef;
}

/* ================= BADGES ================= */
.badge {
  padding: 6px 12px;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3px;
}

.badge.bg-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.badge.bg-warning {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
}

.badge.bg-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

.badge.bg-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
}

/* ================= BUTTONS ================= */
.btn-sm {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  border: none;
  color: white;
}

.btn-info:hover {
  background: linear-gradient(135deg, #138496 0%, #17a2b8 100%);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border: none;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  border: none;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
}

.btn-success:hover {
  background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
  transform: translateY(-2px);
}

/* ================= FILTER CARD ================= */
.filter-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ================= SERVICE IMAGES ================= */
.service-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e9ecef;
}

/* ================= LOADING SPINNER ================= */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* ================= PAGINATION ================= */
.pagination {
  margin-top: 20px;
}

.page-link {
  color: #667eea;
  border-color: #dee2e6;
}

.page-link:hover {
  color: #764ba2;
  background-color: #e9ecef;
}

.page-item.active .page-link {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
}

/* ================= MODAL STYLING ================= */
.modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

/* ================= SCROLLBAR ================= */
.table-responsive::-webkit-scrollbar {
  height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* ================= EMPTY STATE ================= */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.empty-state i {
  font-size: 64px;
  color: #dee2e6;
  margin-bottom: 20px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .stats-card {
    margin-bottom: 15px;
  }
  
  .table {
    font-size: 12px;
  }
  
  .btn-sm {
    padding: 4px 8px;
    font-size: 11px;
  }
}