/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* Widget styles for dashboard */
.widget-size {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Modern dashboard styles */
.text-slate-700 {
  color: #334155 !important;
}

.text-sky-600 {
  color: #0284c7 !important;
}

.text-sky-600:hover {
  color: #0369a1 !important;
}

.h-4 {
  height: 1rem !important;
  width: 1rem !important;
}

.mini-chart-container {
  overflow: hidden;
  border-radius: 0.375rem;
}

/* Custom rounded corners for modern look */
.rounded-3 {
  border-radius: 0.75rem !important;
}

/* Enhanced card styling */
.card.border-0.shadow-sm {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
  border: 1px solid #e2e8f0 !important;
}

/* Improved spacing */
.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

/* Better text styling */
.fw-medium {
  font-weight: 500 !important;
}

/* Enhanced metric cards */
.bg-light {
  background-color: #f8fafc !important;
}

.bg-light:hover {
  background-color: #f1f5f9 !important;
  transition: background-color 0.2s ease;
}

/* Sidebar Styles */
.sidebar-sticky {
  position: sticky;
  top: 2rem;
}

/* Ensure proper layout */
.row {
  margin-left: 0;
  margin-right: 0;
}

.col-lg-9,
.col-lg-3 {
  padding-left: 15px;
  padding-right: 15px;
}

/* Layout spacing */
.col-lg-9 {
  padding-right: 30px;
}

.col-lg-3 {
  padding-left: 30px;
}

/* Status Indicators */
.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* Alert Styles */
.alert-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  border: none;
}

.alert-sm .fw-medium {
  font-weight: 500;
}

/* Activity Items */
.activity-item {
  position: relative;
}

.activity-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 24px;
  bottom: -12px;
  width: 2px;
  background-color: #e2e8f0;
}

.activity-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Quick Actions Buttons */
.btn-outline-primary.btn-sm:hover,
.btn-outline-success.btn-sm:hover,
.btn-outline-info.btn-sm:hover,
.btn-outline-warning.btn-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

/* Badge Styles */
.badge {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Card Hover Effects */
.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.2s ease;
}

/* Responsive Sidebar */
@media (max-width: 991.98px) {
  .sidebar-sticky {
    position: static;
    margin-top: 2rem;
  }

  .col-lg-9 {
    margin-bottom: 0;
  }
}

/* Custom spacing for sidebar cards */
.sidebar-sticky .card {
  margin-bottom: 1rem;
}

.sidebar-sticky .card:last-child {
  margin-bottom: 0;
}
