/**
 * Shared Admin Styles
 * Common styles for admin dashboard pages
 */

/* Additional admin-specific styles can be added here */
/* AdminLTE provides most of the styling, this file is for custom overrides */

.admin-content-header {
  margin-bottom: 1rem;
}

.admin-card {
  margin-bottom: 1rem;
}

.admin-table-actions {
  white-space: nowrap;
}

.admin-table-actions .btn {
  margin-right: 0.25rem;
}

.admin-table-actions .btn:last-child {
  margin-right: 0;
}

/* Full-screen loading overlay */
.admin-fullscreen-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-loader-content {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Container loading overlay */
.admin-container-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* Make container relative for absolute positioning */
.card-body {
  position: relative;
}

/* Ensure table containers are relative */
.table-responsive,
.table-wrapper {
  position: relative;
}
