/* ========================================
   Shift Management System CSS
   ======================================== */

/* Calendar Event Styling */
.fc-event {
  border-radius: 6px !important;
  border: none !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  padding: 2px 6px !important;
  margin: 1px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.fc-event:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
  opacity: 0.9 !important;
}

/* Shift Status Colors */
.fc-event.success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: white !important;
}

.fc-event.important {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: white !important;
}

.fc-event.info {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: white !important;
}

.fc-event.chill {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
  color: white !important;
}

.fc-event.default {
  background: linear-gradient(135deg, #6b7280, #4b5563) !important;
  color: white !important;
}

/* Calendar Header Styling */
.fc-toolbar {
  margin-bottom: 2rem !important;
}

.fc-toolbar-title {
  font-size: 1.75rem !important;
  font-weight: 600 !important;
  color: var(--primary-600) !important;
}

.fc-button {
  background: var(--primary-600) !important;
  border: 1px solid var(--primary-600) !important;
  color: white !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.fc-button:hover {
  background: var(--primary-700) !important;
  border-color: var(--primary-700) !important;
  transform: translateY(-1px) !important;
}

.fc-button:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.fc-button-active {
  background: var(--primary-700) !important;
  border-color: var(--primary-700) !important;
}

/* Calendar Grid Styling */
.fc-daygrid-day {
  border: 1px solid var(--neutral-200) !important;
  transition: background-color 0.2s ease !important;
}

.fc-daygrid-day:hover {
  background-color: var(--neutral-50) !important;
}

.fc-daygrid-day-number {
  padding: 8px !important;
  font-weight: 500 !important;
  color: var(--neutral-700) !important;
}

.fc-day-today {
  background-color: var(--primary-50) !important;
}

.fc-day-today .fc-daygrid-day-number {
  color: var(--primary-600) !important;
  font-weight: 600 !important;
}

/* Shift Cards Styling */
.shift-card {
  border: 1px solid var(--neutral-200) !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
  background: white !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.shift-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--primary-200) !important;
}

.shift-card-header {
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100)) !important;
  border-bottom: 1px solid var(--primary-200) !important;
  border-radius: 12px 12px 0 0 !important;
  padding: 16px 20px !important;
}

.shift-card-body {
  padding: 20px !important;
}

/* Status Badges */
.status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.status-badge.success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: white !important;
}

.status-badge.important {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: white !important;
}

.status-badge.info {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: white !important;
}

.status-badge.chill {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
  color: white !important;
}

/* Countdown Timer Styling */
.countdown-timer {
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100)) !important;
  border: 2px solid var(--primary-200) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  text-align: center !important;
  min-width: 120px !important;
}

.countdown-display {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--primary-600) !important;
  font-family: 'Courier New', monospace !important;
  letter-spacing: 1px !important;
}

.countdown-timer .text-xs {
  font-size: 10px !important;
  color: var(--neutral-500) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Toast Notifications */
.toast-container {
  z-index: 9999 !important;
}

.toast {
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  margin-bottom: 12px !important;
}

.toast-body {
  padding: 16px 20px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.toast.bg-success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}

.toast.bg-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

/* Button Enhancements */
.btn-shift-action {
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  transition: all 0.3s ease !important;
  border: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-shift-action::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.5s ease !important;
}

.btn-shift-action:hover::before {
  left: 100% !important;
}

.btn-pickup {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: white !important;
}

.btn-pickup:hover {
  background: linear-gradient(135deg, #059669, #047857) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3) !important;
}

.btn-drop {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: white !important;
}

.btn-drop:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3) !important;
}

.btn-clock-in {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: white !important;
}

.btn-clock-in:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3) !important;
}

.btn-clock-out {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: white !important;
}

.btn-clock-out:hover {
  background: linear-gradient(135deg, #d97706, #b45309) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3) !important;
}

/* Loading States */
.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%) !important;
  background-size: 200% 100% !important;
  animation: shimmer 1.5s infinite !important;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .fc-toolbar-title {
    font-size: 1.25rem !important;
  }
  
  .fc-button {
    padding: 6px 12px !important;
    font-size: 14px !important;
  }
  
  .shift-card {
    margin-bottom: 16px !important;
  }
  
  .countdown-timer {
    min-width: 100px !important;
    padding: 8px 12px !important;
  }
  
  .countdown-display {
    font-size: 14px !important;
  }
  
  /* Table responsiveness improvements */
  .table-responsive {
    font-size: 14px !important;
  }
  
  .table th,
  .table td {
    padding: 8px 4px !important;
    white-space: nowrap !important;
  }
  
  /* Progress bars in tables */
  .table .progress {
    width: 50px !important;
    height: 4px !important;
  }
  
  /* Dashboard cards */
  .dashboard-main-body .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }
  
  .dashboard-main-body .col-lg-3,
  .dashboard-main-body .col-md-6 {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  /* Card headers */
  .card-header {
    padding: 12px 16px !important;
  }
  
  .card-body {
    padding: 16px !important;
  }
  
  /* Form controls */
  .form-select-sm {
    font-size: 14px !important;
    padding: 6px 8px !important;
  }
  
  /* Buttons */
  .btn-sm {
    padding: 6px 12px !important;
    font-size: 14px !important;
  }
}

/* Medium screens (tablets) */
@media (max-width: 992px) and (min-width: 769px) {
  /* Dashboard cards on tablets */
  .dashboard-main-body .col-lg-3,
  .dashboard-main-body .col-md-6 {
    margin-bottom: 16px !important;
  }
  
  /* Table improvements for tablets */
  .table-responsive {
    font-size: 13px !important;
  }
  
  .table th,
  .table td {
    padding: 10px 6px !important;
  }
  
  /* Progress bars on tablets */
  .table .progress {
    width: 60px !important;
    height: 5px !important;
  }
  
  /* Calendar layout on tablets */
  .col-xxl-3 {
    margin-bottom: 16px !important;
  }
  
  /* Shift cards on tablets */
  .shift-card-body {
    padding: 18px !important;
  }
  
  /* Form controls on tablets */
  .form-select-sm {
    font-size: 13px !important;
    padding: 6px 10px !important;
  }
}

@media (max-width: 480px) {
  .fc-event {
    font-size: 10px !important;
    padding: 1px 4px !important;
  }
  
  .shift-card-body {
    padding: 16px !important;
  }
  
  .btn-shift-action {
    padding: 8px 16px !important;
    font-size: 14px !important;
  }
  
  /* Extra small screen improvements */
  .table-responsive {
    font-size: 12px !important;
  }
  
  .table th,
  .table td {
    padding: 6px 2px !important;
  }
  
  .table .progress {
    width: 40px !important;
    height: 3px !important;
  }
  
  /* Dashboard cards on mobile */
  .dashboard-main-body .col-lg-3,
  .dashboard-main-body .col-md-6 {
    margin-bottom: 12px !important;
  }
  
  /* Card headers on mobile */
  .card-header {
    padding: 8px 12px !important;
  }
  
  .card-body {
    padding: 12px !important;
  }
  
  /* Form controls on mobile */
  .form-select-sm {
    font-size: 12px !important;
    padding: 4px 6px !important;
  }
  
  /* Buttons on mobile */
  .btn-sm {
    padding: 4px 8px !important;
    font-size: 12px !important;
  }
  
  /* Hide some table columns on very small screens */
  .table th:nth-child(6),
  .table td:nth-child(6),
  .table th:nth-child(7),
  .table td:nth-child(7) {
    display: none !important;
  }
  
  /* Shift card improvements on mobile */
  .shift-card .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .shift-card .col-md-8,
  .shift-card .col-md-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .shift-card .col-md-4 {
    margin-top: 12px !important;
    text-align: left !important;
  }
  
  /* Status indicators on mobile */
  .status-indicator {
    width: 8px !important;
    height: 8px !important;
  }
  
  .status-badge {
    font-size: 11px !important;
    padding: 4px 8px !important;
  }
  
  .time-remaining {
    font-size: 11px !important;
    padding: 4px 8px !important;
  }
  
  /* Calendar responsive improvements */
  .col-xxl-3 {
    margin-bottom: 20px !important;
  }
  
  .col-xxl-9 {
    width: 100% !important;
  }
  
  /* FullCalendar responsive */
  .fc-toolbar {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .fc-toolbar-chunk {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
  
  .fc-button-group {
    display: flex !important;
    justify-content: center !important;
  }
  
  /* Additional mobile improvements */
  .navbar-search {
    width: 100% !important;
    margin-bottom: 10px !important;
  }
  
  .navbar-search input {
    width: 100% !important;
  }
  
  /* Card header improvements on mobile */
  .card-header .d-flex {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .card-header .d-flex > div {
    width: 100% !important;
  }
  
  /* Filter controls on mobile */
  .card-header .d-flex .form-select {
    width: 100% !important;
    margin-bottom: 8px !important;
  }
  
  /* Sidebar improvements on mobile */
  
  .sidebar.show {
    transform: translateX(0) !important;
  }
  
  /* Main content adjustments when sidebar is open */
  .dashboard-main-body {
    margin-left: 0 !important;
    padding: 16px !important;
  }
  
  /* Header improvements on mobile */
  .d-header {
    padding: 12px 16px !important;
  }
  
  .d-header .d-flex {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  
  /* Job types table responsive improvements */
  .table th:nth-child(4),
  .table td:nth-child(4),
  .table th:nth-child(5),
  .table td:nth-child(5),
  .table th:nth-child(6),
  .table td:nth-child(6),
  .table th:nth-child(7),
  .table td:nth-child(7) {
    display: none !important;
  }
  
  /* Modal improvements on mobile */
  .modal-dialog {
    margin: 10px !important;
    max-width: calc(100% - 20px) !important;
  }
  
  .modal-body {
    padding: 16px !important;
  }
  
  .modal-header {
    padding: 12px 16px !important;
  }
  
  .modal-footer {
    padding: 12px 16px !important;
  }
  
  /* Clock in/out modal specific mobile fixes */
  .modal-dialog-scrollable {
    max-height: calc(100vh - 20px) !important;
  }
  
  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 20px) !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .modal-dialog-scrollable .modal-body {
    overflow-y: auto !important;
    flex: 1 !important;
  }
  
  /* Ensure modal is visible on mobile */
  .modal.show {
    display: block !important;
  }
  
  /* Fix modal backdrop on mobile */
  .modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1040 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
  }
  
  /* Modal z-index fix for mobile */
  .modal {
    z-index: 1055 !important;
  }
  
  /* Fix viewport height issues on mobile */
  .modal-dialog {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Ensure modal content fits on screen */
  .modal-content {
    width: 100% !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    margin: 0 !important;
  }
  
  /* Fix iOS Safari modal issues */
  @supports (-webkit-touch-callout: none) {
    .modal-dialog {
      min-height: -webkit-fill-available !important;
    }
  }
  
  /* Prevent body scroll when modal is open */
  body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
  }
  
  /* Available shifts responsive improvements */
  .shift-card .d-flex {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .shift-card .d-flex > div {
    width: 100% !important;
  }
  
  /* Countdown timer on mobile */
  .countdown-timer {
    width: 100% !important;
    text-align: center !important;
    margin-top: 8px !important;
  }
  
  /* Action buttons on mobile */
  .shift-card .btn {
    width: 100% !important;
    margin-bottom: 8px !important;
  }
  
  /* My shifts responsive improvements */
  .shift-card .col-md-8,
  .shift-card .col-md-4 {
    width: 100% !important;
    margin-bottom: 12px !important;
  }
  
  .shift-card .col-md-4 {
    text-align: left !important;
  }
  
  /* Status progress bar on mobile */
  .status-progress {
    margin-bottom: 12px !important;
  }
  
  /* Status message on mobile */
  .status-message {
    margin-top: 8px !important;
  }
  
  /* View shifts responsive improvements */
  .ongoing-shift-card .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .ongoing-shift-card .col-md-8,
  .ongoing-shift-card .col-md-4 {
    width: 100% !important;
    margin-bottom: 12px !important;
  }
  
  .ongoing-shift-card .col-md-4 {
    text-align: left !important;
  }
  
  /* Employee avatars on mobile */
  .employee-avatar {
    width: 24px !important;
    height: 24px !important;
    font-size: 10px !important;
  }
  
  /* Progress bars in ongoing shifts */
  .ongoing-shift-card .progress {
    height: 4px !important;
  }
  
  /* Dashboard responsive improvements */
  .row-cols-xxl-4 .col {
    margin-bottom: 16px !important;
  }
  
  /* Recent activities on mobile */
  .list-group-item {
    padding: 12px 16px !important;
  }
  
  .list-group-item .d-flex {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .list-group-item .flex-grow-1 {
    width: 100% !important;
  }
  
  /* Activity icons on mobile */
  .w-40-px {
    width: 32px !important;
    height: 32px !important;
  }
  
  /* Calendar responsive improvements */
  .col-xxl-3,
  .col-xxl-9 {
    width: 100% !important;
  }
  
  .col-xxl-3 {
    order: 2 !important;
  }
  
  .col-xxl-9 {
    order: 1 !important;
  }
  
  /* Calendar events on mobile */
  .fc-event {
    font-size: 10px !important;
    padding: 2px 4px !important;
  }
  
  /* Calendar toolbar on mobile */
  .fc-toolbar {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .fc-toolbar-chunk {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
  
  /* Pagination responsive improvements */
  .pagination {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  
  .pagination .page-item {
    margin: 0 !important;
  }
  
  .pagination .page-link {
    padding: 6px 8px !important;
    font-size: 12px !important;
  }
  
  /* Footer responsive improvements */
  .d-footer {
    padding: 16px !important;
    text-align: center !important;
  }
  
  .d-footer .row {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .d-footer .col-auto {
    width: 100% !important;
  }
  
  /* Toast notifications responsive improvements */
  .toast-container {
    top: 10px !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
  }
  
  .toast {
    width: 100% !important;
    max-width: none !important;
  }
  
  .toast-header {
    padding: 8px 12px !important;
  }
  
  .toast-body {
    padding: 8px 12px !important;
  }
  
  /* Gradient backgrounds responsive improvements */
  .bg-gradient-primary,
  .bg-gradient-success,
  .bg-gradient-info,
  .bg-gradient-warning {
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
  }
  
  /* Card hover effects on mobile */
  .shift-card-hover:hover {
    transform: translateY(-2px) scale(1.01) !important;
  }
  
  /* Status indicators responsive improvements */
  .status-indicator {
    width: 8px !important;
    height: 8px !important;
  }
  
  .status-badge {
    font-size: 11px !important;
    padding: 4px 8px !important;
  }
  
  .time-remaining {
    font-size: 11px !important;
    padding: 4px 8px !important;
  }
  
  /* Progress bars responsive improvements */
  .status-progress {
    height: 4px !important;
  }
  
  .progress-bar {
    height: 100% !important;
  }
  
  /* Icons responsive improvements */
  .icon {
    font-size: 14px !important;
  }
  
  .icon.text-xl {
    font-size: 16px !important;
  }
  
  .icon.text-2xl {
    font-size: 18px !important;
  }
  
  /* Text responsive improvements */
  .text-sm {
    font-size: 12px !important;
  }
  
  .text-xs {
    font-size: 10px !important;
  }
  
  .text-lg {
    font-size: 16px !important;
  }
  
  .text-xl {
    font-size: 18px !important;
  }
  
  /* Buttons responsive improvements */
  .btn {
    padding: 8px 16px !important;
    font-size: 14px !important;
  }
  
  .btn-sm {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  
  .btn-lg {
    padding: 12px 24px !important;
    font-size: 16px !important;
  }
  
  /* Form controls responsive improvements */
  .form-control {
    padding: 8px 12px !important;
    font-size: 14px !important;
  }
  
  .form-select {
    padding: 8px 12px !important;
    font-size: 14px !important;
  }
  
  .form-select-sm {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  
  /* Spacing responsive improvements */
  .mb-24 {
    margin-bottom: 16px !important;
  }
  
  .mb-32 {
    margin-bottom: 20px !important;
  }
  
  .mt-24 {
    margin-top: 16px !important;
  }
  
  .mt-32 {
    margin-top: 20px !important;
  }
  
  .py-24 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
  
  .px-24 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  .p-24 {
    padding: 16px !important;
  }
  
  .p-20 {
    padding: 16px !important;
  }
  
  /* Grid system responsive improvements */
  .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }
  
  .col,
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
  .col-auto, .col-sm, .col-md, .col-lg, .col-xl, .col-xxl {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  /* Gap responsive improvements */
  .gap-1 { gap: 4px !important; }
  .gap-2 { gap: 8px !important; }
  .gap-3 { gap: 12px !important; }
  .gap-4 { gap: 16px !important; }
  .gap-5 { gap: 20px !important; }
  
  /* Border radius responsive improvements */
  .radius-8 {
    border-radius: 6px !important;
  }
  
  .radius-12 {
    border-radius: 8px !important;
  }
  
  .rounded-circle {
    border-radius: 50% !important;
  }
  
  /* Shadow responsive improvements */
  .shadow-sm {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  }
  
  .shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  }
  
  .shadow-lg {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
  }
  
  /* Flexbox responsive improvements */
  .d-flex {
    display: flex !important;
  }
  
  .flex-column {
    flex-direction: column !important;
  }
  
  .flex-row {
    flex-direction: row !important;
  }
  
  .flex-wrap {
    flex-wrap: wrap !important;
  }
  
  .flex-nowrap {
    flex-wrap: nowrap !important;
  }
  
  .justify-content-center {
    justify-content: center !important;
  }
  
  .justify-content-between {
    justify-content: space-between !important;
  }
  
  .align-items-center {
    align-items: center !important;
  }
  
  .align-items-start {
    align-items: flex-start !important;
  }
  
  .align-items-end {
    align-items: flex-end !important;
  }
  
  /* Text alignment responsive improvements */
  .text-center {
    text-align: center !important;
  }
  
  .text-left {
    text-align: left !important;
  }
  
  .text-right {
    text-align: right !important;
  }
  
  .text-start {
    text-align: start !important;
  }
  
  .text-end {
    text-align: end !important;
  }
  
  /* Display responsive improvements */
  .d-none {
    display: none !important;
  }
  
  .d-block {
    display: block !important;
  }
  
  .d-inline {
    display: inline !important;
  }
  
  .d-inline-block {
    display: inline-block !important;
  }
  
  .d-inline-flex {
    display: inline-flex !important;
  }
  
  /* Width and height responsive improvements */
  .w-100 {
    width: 100% !important;
  }
  
  .w-50 {
    width: 50% !important;
  }
  
  .w-25 {
    width: 25% !important;
  }
  
  .w-75 {
    width: 75% !important;
  }
  
  .h-100 {
    height: 100% !important;
  }
  
  .h-50 {
    height: 50% !important;
  }
  
  .h-25 {
    height: 25% !important;
  }
  
  .h-75 {
    height: 75% !important;
  }
  
  /* Position responsive improvements */
  .position-relative {
    position: relative !important;
  }
  
  .position-absolute {
    position: absolute !important;
  }
  
  .position-fixed {
    position: fixed !important;
  }
  
  .position-sticky {
    position: sticky !important;
  }
  
  /* Overflow responsive improvements */
  .overflow-hidden {
    overflow: hidden !important;
  }
  
  .overflow-auto {
    overflow: auto !important;
  }
  
  .overflow-scroll {
    overflow: scroll !important;
  }
  
  .overflow-visible {
    overflow: visible !important;
  }
  
  /* Scroll responsive improvements */
  .scroll-sm {
    scrollbar-width: thin !important;
  }
  
  .scroll-sm::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
  }
  
  .scroll-sm::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 2px !important;
  }
  
  .scroll-sm::-webkit-scrollbar-thumb {
    background: #c1c1c1 !important;
    border-radius: 2px !important;
  }
  
  .scroll-sm::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8 !important;
  }
  
  /* Border responsive improvements */
  .border {
    border: 1px solid #dee2e6 !important;
  }
  
  .border-0 {
    border: 0 !important;
  }
  
  .border-top {
    border-top: 1px solid #dee2e6 !important;
  }
  
  .border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
  }
  
  .border-left {
    border-left: 1px solid #dee2e6 !important;
  }
  
  .border-right {
    border-right: 1px solid #dee2e6 !important;
  }
  
  /* Border color responsive improvements */
  .border-primary {
    border-color: #007bff !important;
  }
  
  .border-success {
    border-color: #28a745 !important;
  }
  
  .border-danger {
    border-color: #dc3545 !important;
  }
  
  .border-warning {
    border-color: #ffc107 !important;
  }
  
  .border-info {
    border-color: #17a2b8 !important;
  }
  
  /* Background responsive improvements */
  .bg-primary {
    background-color: #007bff !important;
  }
  
  .bg-success {
    background-color: #28a745 !important;
  }
  
  .bg-danger {
    background-color: #dc3545 !important;
  }
  
  .bg-warning {
    background-color: #ffc107 !important;
  }
  
  .bg-info {
    background-color: #17a2b8 !important;
  }
  
  .bg-light {
    background-color: #f8f9fa !important;
  }
  
  .bg-dark {
    background-color: #343a40 !important;
  }
  
  .bg-white {
    background-color: #ffffff !important;
  }
  
  .bg-transparent {
    background-color: transparent !important;
  }
  
  /* Text color responsive improvements */
  .text-primary {
    color: #007bff !important;
  }
  
  .text-success {
    color: #28a745 !important;
  }
  
  .text-danger {
    color: #dc3545 !important;
  }
  
  .text-warning {
    color: #ffc107 !important;
  }
  
  .text-info {
    color: #17a2b8 !important;
  }
  
  .text-light {
    color: #f8f9fa !important;
  }
  
  .text-dark {
    color: #343a40 !important;
  }
  
  .text-white {
    color: #ffffff !important;
  }
  
  .text-muted {
    color: #6c757d !important;
  }
  
  /* Font weight responsive improvements */
  .fw-light {
    font-weight: 300 !important;
  }
  
  .fw-normal {
    font-weight: 400 !important;
  }
  
  .fw-medium {
    font-weight: 500 !important;
  }
  
  .fw-semibold {
    font-weight: 600 !important;
  }
  
  .fw-bold {
    font-weight: 700 !important;
  }
  
  .fw-bolder {
    font-weight: 800 !important;
  }
  
  /* Font style responsive improvements */
  .fst-italic {
    font-style: italic !important;
  }
  
  .fst-normal {
    font-style: normal !important;
  }
  
  /* Text decoration responsive improvements */
  .text-decoration-none {
    text-decoration: none !important;
  }
  
  .text-decoration-underline {
    text-decoration: underline !important;
  }
  
  .text-decoration-line-through {
    text-decoration: line-through !important;
  }
  
  /* List responsive improvements */
  .list-group {
    display: flex !important;
    flex-direction: column !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .list-group-item {
    position: relative !important;
    display: block !important;
    padding: 12px 16px !important;
    color: #212529 !important;
    text-decoration: none !important;
    background-color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
  }
  
  .list-group-item:first-child {
    border-top-left-radius: 0.375rem !important;
    border-top-right-radius: 0.375rem !important;
  }
  
  .list-group-item:last-child {
    border-bottom-right-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
  }
  
  .list-group-item:hover,
  .list-group-item:focus {
    z-index: 1 !important;
    color: #495057 !important;
    text-decoration: none !important;
    background-color: #f8f9fa !important;
  }
  
  .list-group-item.active {
    z-index: 2 !important;
    color: #fff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
  }
  
  /* Badge responsive improvements */
  .badge {
    display: inline-block !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #fff !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: baseline !important;
    border-radius: 0.375rem !important;
  }
  
  .badge:empty {
    display: none !important;
  }
  
  .badge.bg-primary {
    background-color: #007bff !important;
  }
  
  .badge.bg-secondary {
    background-color: #6c757d !important;
  }
  
  .badge.bg-success {
    background-color: #28a745 !important;
  }
  
  .badge.bg-danger {
    background-color: #dc3545 !important;
  }
  
  .badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
  }
  
  .badge.bg-info {
    background-color: #17a2b8 !important;
  }
  
  .badge.bg-light {
    background-color: #f8f9fa !important;
    color: #212529 !important;
  }
  
  .badge.bg-dark {
    background-color: #343a40 !important;
  }
  
  /* Progress responsive improvements */
  .progress {
    display: flex !important;
    height: 1rem !important;
    overflow: hidden !important;
    font-size: 0.75rem !important;
    background-color: #e9ecef !important;
    border-radius: 0.375rem !important;
  }
  
  .progress-bar {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
    color: #fff !important;
    text-align: center !important;
    white-space: nowrap !important;
    background-color: #007bff !important;
    transition: width 0.6s ease !important;
  }
  
  .progress-bar.bg-primary {
    background-color: #007bff !important;
  }
  
  .progress-bar.bg-secondary {
    background-color: #6c757d !important;
  }
  
  .progress-bar.bg-success {
    background-color: #28a745 !important;
  }
  
  .progress-bar.bg-danger {
    background-color: #dc3545 !important;
  }
  
  .progress-bar.bg-warning {
    background-color: #ffc107 !important;
  }
  
  .progress-bar.bg-info {
    background-color: #17a2b8 !important;
  }
  
  .progress-bar.bg-light {
    background-color: #f8f9fa !important;
  }
  
  .progress-bar.bg-dark {
    background-color: #343a40 !important;
  }
  
  /* Table responsive improvements */
  .table {
    width: 100% !important;
    margin-bottom: 1rem !important;
    color: #212529 !important;
    border-collapse: collapse !important;
  }
  
  .table th,
  .table td {
    padding: 0.75rem !important;
    vertical-align: top !important;
    border-top: 1px solid #dee2e6 !important;
  }
  
  .table thead th {
    vertical-align: bottom !important;
    border-bottom: 2px solid #dee2e6 !important;
  }
  
  .table tbody + tbody {
    border-top: 2px solid #dee2e6 !important;
  }
  
  .table-sm th,
  .table-sm td {
    padding: 0.3rem !important;
  }
  
  .table-bordered {
    border: 1px solid #dee2e6 !important;
  }
  
  .table-bordered th,
  .table-bordered td {
    border: 1px solid #dee2e6 !important;
  }
  
  .table-bordered thead th,
  .table-bordered thead td {
    border-bottom-width: 2px !important;
  }
  
  .table-borderless th,
  .table-borderless td,
  .table-borderless thead th,
  .table-borderless tbody + tbody {
    border: 0 !important;
  }
  
  .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05) !important;
  }
  
  .table-hover tbody tr:hover {
    color: #212529 !important;
    background-color: rgba(0, 0, 0, 0.075) !important;
  }
  
  /* Card responsive improvements */
  .card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    word-wrap: break-word !important;
    background-color: #fff !important;
    background-clip: border-box !important;
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
    border-radius: 0.375rem !important;
  }
  
  .card > hr {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  
  .card > .list-group {
    border-top: inherit !important;
    border-bottom: inherit !important;
  }
  
  .card > .list-group:first-child {
    border-top-width: 0 !important;
    border-top-left-radius: calc(0.375rem - 1px) !important;
    border-top-right-radius: calc(0.375rem - 1px) !important;
  }
  
  .card > .list-group:last-child {
    border-bottom-width: 0 !important;
    border-bottom-right-radius: calc(0.375rem - 1px) !important;
    border-bottom-left-radius: calc(0.375rem - 1px) !important;
  }
  
  .card > .card-header + .list-group,
  .card > .list-group + .card-footer {
    border-top: 0 !important;
  }
  
  .card-body {
    flex: 1 1 auto !important;
    padding: 1rem 1rem !important;
    color: #212529 !important;
  }
  
  .card-title {
    margin-bottom: 0.5rem !important;
  }
  
  .card-subtitle {
    margin-top: -0.25rem !important;
    margin-bottom: 0 !important;
  }
  
  .card-text:last-child {
    margin-bottom: 0 !important;
  }
  
  .card-link:hover {
    text-decoration: none !important;
  }
  
  .card-link + .card-link {
    margin-left: 1rem !important;
  }
  
  .card-header {
    padding: 0.5rem 1rem !important;
    margin-bottom: 0 !important;
    color: #212529 !important;
    background-color: rgba(0, 0, 0, 0.03) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
  }
  
  .card-header:first-child {
    border-radius: calc(0.375rem - 1px) calc(0.375rem - 1px) 0 0 !important;
  }
  
  .card-footer {
    padding: 0.5rem 1rem !important;
    color: #212529 !important;
    background-color: rgba(0, 0, 0, 0.03) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.125) !important;
  }
  
  .card-footer:last-child {
    border-radius: 0 0 calc(0.375rem - 1px) calc(0.375rem - 1px) !important;
  }
  
  /* Modal responsive improvements */
  .modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1055 !important;
    display: none !important;
    width: 100% !important;
    height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    outline: 0 !important;
  }
  
  .modal-dialog {
    position: relative !important;
    width: auto !important;
    margin: 0.5rem !important;
    pointer-events: none !important;
  }
  
  .modal.fade .modal-dialog {
    transition: transform 0.3s ease-out !important;
    transform: translate(0, -50px) !important;
  }
  
  .modal.show .modal-dialog {
    transform: none !important;
  }
  
  .modal-dialog-scrollable {
    height: calc(100% - 1rem) !important;
  }
  
  .modal-dialog-scrollable .modal-content {
    max-height: 100% !important;
    overflow: hidden !important;
  }
  
  .modal-dialog-scrollable .modal-body {
    overflow-y: auto !important;
  }
  
  .modal-dialog-centered {
    display: flex !important;
    align-items: center !important;
    min-height: calc(100% - 1rem) !important;
  }
  
  .modal-content {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    pointer-events: auto !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 0.3rem !important;
    outline: 0 !important;
  }
  
  .modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1050 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #000 !important;
  }
  
  .modal-backdrop.fade {
    opacity: 0 !important;
  }
  
  .modal-backdrop.show {
    opacity: 0.5 !important;
  }
  
  .modal-header {
    display: flex !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1rem !important;
    border-bottom: 1px solid #dee2e6 !important;
    border-top-left-radius: calc(0.3rem - 1px) !important;
    border-top-right-radius: calc(0.3rem - 1px) !important;
  }
  
  .modal-title {
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
  }
  
  .modal-body {
    position: relative !important;
    flex: 1 1 auto !important;
    padding: 1rem !important;
  }
  
  .modal-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0.75rem !important;
    border-top: 1px solid #dee2e6 !important;
    border-bottom-right-radius: calc(0.3rem - 1px) !important;
    border-bottom-left-radius: calc(0.3rem - 1px) !important;
  }
  
  .modal-footer > * {
    margin: 0.25rem !important;
  }
  
  /* Toast responsive improvements */
  .toast {
    max-width: 350px !important;
    font-size: 0.875rem !important;
    pointer-events: auto !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    background-clip: padding-box !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(10px) !important;
  }
  
  .toast:not(.showing):not(.show) {
    opacity: 0 !important;
  }
  
  .toast.showing {
    opacity: 1 !important;
  }
  
  .toast.show {
    display: block !important;
    opacity: 1 !important;
  }
  
  .toast.hide {
    display: none !important;
  }
  
  .toast-container {
    position: absolute !important;
    z-index: 1080 !important;
    pointer-events: none !important;
  }
  
  .toast-container > :not(:last-child) {
    margin-bottom: 0.75rem !important;
  }
  
  .toast-header {
    display: flex !important;
    align-items: center !important;
    padding: 0.5rem 0.75rem !important;
    color: #6c757d !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    background-clip: padding-box !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-top-left-radius: calc(0.375rem - 1px) !important;
    border-top-right-radius: calc(0.375rem - 1px) !important;
  }
  
  .toast-body {
    padding: 0.75rem !important;
    word-wrap: break-word !important;
  }
  
  /* Navbar responsive improvements */
  .navbar {
    position: relative !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  
  .navbar-brand {
    padding-top: 0.3125rem !important;
    padding-bottom: 0.3125rem !important;
    margin-right: 1rem !important;
    font-size: 1.25rem !important;
    color: rgba(0, 0, 0, 0.9) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
  
  .navbar-brand:hover,
  .navbar-brand:focus {
    color: rgba(0, 0, 0, 0.9) !important;
  }
  
  .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    list-style: none !important;
  }
  
  .navbar-nav .nav-link {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  
  .navbar-nav .dropdown-menu {
    position: static !important;
    float: none !important;
  }
  
  .navbar-text {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  
  .navbar-collapse {
    flex-basis: 100% !important;
    flex-grow: 1 !important;
    align-items: center !important;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.75rem !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    background-color: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0.375rem !important;
    transition: box-shadow 0.15s ease-in-out !important;
  }
  
  .navbar-toggler:hover,
  .navbar-toggler:focus {
    text-decoration: none !important;
  }
  
  .navbar-toggler-icon {
    display: inline-block !important;
    width: 1.5em !important;
    height: 1.5em !important;
    vertical-align: middle !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% !important;
  }
  
  /* Dropdown responsive improvements */
  .dropdown {
    position: relative !important;
  }
  
  .dropdown-toggle::after {
    display: inline-block !important;
    margin-left: 0.255em !important;
    vertical-align: 0.255em !important;
    content: "" !important;
    border-top: 0.3em solid !important;
    border-right: 0.3em solid transparent !important;
    border-bottom: 0 !important;
    border-left: 0.3em solid transparent !important;
  }
  
  .dropdown-toggle:empty::after {
    margin-left: 0 !important;
  }
  
  .dropdown-menu {
    position: absolute !important;
    z-index: 1000 !important;
    display: none !important;
    min-width: 10rem !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    font-size: 1rem !important;
    color: #212529 !important;
    text-align: left !important;
    list-style: none !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 0.375rem !important;
  }
  
  .dropdown-menu.show {
    display: block !important;
  }
  
  .dropdown-menu-start {
    --bs-position: start !important;
  }
  
  .dropdown-menu-start[data-bs-popper] {
    right: auto !important;
    left: 0 !important;
  }
  
  .dropdown-menu-end {
    --bs-position: end !important;
  }
  
  .dropdown-menu-end[data-bs-popper] {
    right: 0 !important;
    left: auto !important;
  }
  
  .dropdown-divider {
    height: 0 !important;
    margin: 0.5rem 0 !important;
    overflow: hidden !important;
    border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
  }
  
  .dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 0.25rem 1rem !important;
    clear: both !important;
    font-weight: 400 !important;
    color: #212529 !important;
    text-align: inherit !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    background-color: transparent !important;
    border: 0 !important;
  }
  
  .dropdown-item:hover,
  .dropdown-item:focus {
    color: #1e2125 !important;
    background-color: #e9ecef !important;
  }
  
  .dropdown-item.active,
  .dropdown-item:active {
    color: #fff !important;
    text-decoration: none !important;
    background-color: #0d6efd !important;
  }
  
  .dropdown-item.disabled,
  .dropdown-item:disabled {
    color: #adb5bd !important;
    pointer-events: none !important;
    background-color: transparent !important;
  }
  
  /* Pagination responsive improvements */
  .pagination {
    display: flex !important;
    padding-left: 0 !important;
    list-style: none !important;
    border-radius: 0.375rem !important;
  }
  
  .page-link {
    position: relative !important;
    display: block !important;
    color: #0d6efd !important;
    text-decoration: none !important;
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  }
  
  .page-link:hover {
    z-index: 2 !important;
    color: #0a58ca !important;
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
  }
  
  .page-link:focus {
    z-index: 3 !important;
    color: #0a58ca !important;
    background-color: #e9ecef !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
  }
  
  .page-item:not(:first-child) .page-link {
    margin-left: -1px !important;
  }
  
  .page-item.active .page-link {
    z-index: 3 !important;
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
  }
  
  .page-item.disabled .page-link {
    color: #6c757d !important;
    pointer-events: none !important;
    background-color: #fff !important;
    border-color: #dee2e6 !important;
  }
  
  .page-link {
    padding: 0.375rem 0.75rem !important;
  }
  
  .page-item:first-child .page-link {
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
  }
  
  .page-item:last-child .page-link {
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
  }
  
  /* Form responsive improvements */
  .form-control {
    display: block !important;
    width: 100% !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    background-color: #fff !important;
    background-image: none !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  }
  
  .form-control:focus {
    color: #212529 !important;
    background-color: #fff !important;
    border-color: #86b7fe !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
  }
  
  .form-control::placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
  }
  
  .form-control:disabled,
  .form-control[readonly] {
    background-color: #e9ecef !important;
    opacity: 1 !important;
  }
  
  .form-select {
    display: block !important;
    width: 100% !important;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    appearance: none !important;
  }
  
  .form-select:focus {
    border-color: #86b7fe !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
  }
  
  .form-select:disabled {
    background-color: #e9ecef !important;
  }
  
  .form-select-sm {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    padding-left: 0.5rem !important;
    font-size: 0.875rem !important;
    border-radius: 0.25rem !important;
  }
  
  .form-select-lg {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 1rem !important;
    font-size: 1.25rem !important;
    border-radius: 0.5rem !important;
  }
  
  /* Button responsive improvements */
  .btn {
    display: inline-block !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    text-align: center !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    user-select: none !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    border-radius: 0.375rem !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  }
  
  .btn:hover {
    color: #212529 !important;
  }
  
  .btn:focus {
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
  }
  
  .btn:disabled,
  .btn.disabled {
    pointer-events: none !important;
    opacity: 0.65 !important;
  }
  
  .btn-primary {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
  }
  
  .btn-primary:hover {
    color: #fff !important;
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
  }
  
  .btn-primary:focus {
    color: #fff !important;
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
    box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5) !important;
  }
  
  .btn-primary:active {
    color: #fff !important;
    background-color: #0a58ca !important;
    border-color: #0a53be !important;
  }
  
  .btn-primary:disabled {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
  }
  
  .btn-secondary {
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
  }
  
  .btn-secondary:hover {
    color: #fff !important;
    background-color: #5c636a !important;
    border-color: #565e64 !important;
  }
  
  .btn-secondary:focus {
    color: #fff !important;
    background-color: #5c636a !important;
    border-color: #565e64 !important;
    box-shadow: 0 0 0 0.25rem rgba(130, 138, 145, 0.5) !important;
  }
  
  .btn-secondary:active {
    color: #fff !important;
    background-color: #565e64 !important;
    border-color: #51585e !important;
  }
  
  .btn-secondary:disabled {
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
  }
  
  .btn-success {
    color: #fff !important;
    background-color: #198754 !important;
    border-color: #198754 !important;
  }
  
  .btn-success:hover {
    color: #fff !important;
    background-color: #157347 !important;
    border-color: #146c43 !important;
  }
  
  .btn-success:focus {
    color: #fff !important;
    background-color: #157347 !important;
    border-color: #146c43 !important;
    box-shadow: 0 0 0 0.25rem rgba(60, 153, 110, 0.5) !important;
  }
  
  .btn-success:active {
    color: #fff !important;
    background-color: #146c43 !important;
    border-color: #13653f !important;
  }
  
  .btn-success:disabled {
    color: #fff !important;
    background-color: #198754 !important;
    border-color: #198754 !important;
  }
  
  .btn-danger {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
  }
  
  .btn-danger:hover {
    color: #fff !important;
    background-color: #bb2d3b !important;
    border-color: #b02a37 !important;
  }
  
  .btn-danger:focus {
    color: #fff !important;
    background-color: #bb2d3b !important;
    border-color: #b02a37 !important;
    box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5) !important;
  }
  
  .btn-danger:active {
    color: #fff !important;
    background-color: #b02a37 !important;
    border-color: #a52834 !important;
  }
  
  .btn-danger:disabled {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
  }
  
  .btn-warning {
    color: #000 !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
  }
  
  .btn-warning:hover {
    color: #000 !important;
    background-color: #ffca2c !important;
    border-color: #ffc720 !important;
  }
  
  .btn-warning:focus {
    color: #000 !important;
    background-color: #ffca2c !important;
    border-color: #ffc720 !important;
    box-shadow: 0 0 0 0.25rem rgba(217, 164, 6, 0.5) !important;
  }
  
  .btn-warning:active {
    color: #000 !important;
    background-color: #ffcd39 !important;
    border-color: #ffc720 !important;
  }
  
  .btn-warning:disabled {
    color: #000 !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
  }
  
  .btn-info {
    color: #000 !important;
    background-color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
  }
  
  .btn-info:hover {
    color: #000 !important;
    background-color: #3dd5f3 !important;
    border-color: #25cff2 !important;
  }
  
  .btn-info:focus {
    color: #000 !important;
    background-color: #3dd5f3 !important;
    border-color: #25cff2 !important;
    box-shadow: 0 0 0 0.25rem rgba(11, 172, 204, 0.5) !important;
  }
  
  .btn-info:active {
    color: #000 !important;
    background-color: #25cff2 !important;
    border-color: #1bc5eb !important;
  }
  
  .btn-info:disabled {
    color: #000 !important;
    background-color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
  }
  
  .btn-light {
    color: #000 !important;
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
  }
  
  .btn-light:hover {
    color: #000 !important;
    background-color: #f9fafb !important;
    border-color: #f9fafb !important;
  }
  
  .btn-light:focus {
    color: #000 !important;
    background-color: #f9fafb !important;
    border-color: #f9fafb !important;
    box-shadow: 0 0 0 0.25rem rgba(211, 212, 213, 0.5) !important;
  }
  
  .btn-light:active {
    color: #000 !important;
    background-color: #f9fafb !important;
    border-color: #f9fafb !important;
  }
  
  .btn-light:disabled {
    color: #000 !important;
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
  }
  
  .btn-dark {
    color: #fff !important;
    background-color: #212529 !important;
    border-color: #212529 !important;
  }
  
  .btn-dark:hover {
    color: #fff !important;
    background-color: #424649 !important;
    border-color: #373b3e !important;
  }
  
  .btn-dark:focus {
    color: #fff !important;
    background-color: #424649 !important;
    border-color: #373b3e !important;
    box-shadow: 0 0 0 0.25rem rgba(66, 70, 73, 0.5) !important;
  }
  
  .btn-dark:active {
    color: #fff !important;
    background-color: #373b3e !important;
    border-color: #2c3034 !important;
  }
  
  .btn-dark:disabled {
    color: #fff !important;
    background-color: #212529 !important;
    border-color: #212529 !important;
  }
  
  .btn-outline-primary {
    color: #0d6efd !important;
    border-color: #0d6efd !important;
  }
  
  .btn-outline-primary:hover {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
  }
  
  .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5) !important;
  }
  
  .btn-outline-primary:active {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
  }
  
  .btn-outline-primary:disabled {
    color: #0d6efd !important;
    background-color: transparent !important;
  }
  
  .btn-outline-secondary {
    color: #6c757d !important;
    border-color: #6c757d !important;
  }
  
  .btn-outline-secondary:hover {
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
  }
  
  .btn-outline-secondary:focus {
    box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.5) !important;
  }
  
  .btn-outline-secondary:active {
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
  }
  
  .btn-outline-secondary:disabled {
    color: #6c757d !important;
    background-color: transparent !important;
  }
  
  .btn-outline-success {
    color: #198754 !important;
    border-color: #198754 !important;
  }
  
  .btn-outline-success:hover {
    color: #fff !important;
    background-color: #198754 !important;
    border-color: #198754 !important;
  }
  
  .btn-outline-success:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.5) !important;
  }
  
  .btn-outline-success:active {
    color: #fff !important;
    background-color: #198754 !important;
    border-color: #198754 !important;
  }
  
  .btn-outline-success:disabled {
    color: #198754 !important;
    background-color: transparent !important;
  }
  
  .btn-outline-danger {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
  }
  
  .btn-outline-danger:hover {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
  }
  
  .btn-outline-danger:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.5) !important;
  }
  
  .btn-outline-danger:active {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
  }
  
  .btn-outline-danger:disabled {
    color: #dc3545 !important;
    background-color: transparent !important;
  }
  
  .btn-outline-warning {
    color: #ffc107 !important;
    border-color: #ffc107 !important;
  }
  
  .btn-outline-warning:hover {
    color: #000 !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
  }
  
  .btn-outline-warning:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5) !important;
  }
  
  .btn-outline-warning:active {
    color: #000 !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
  }
  
  .btn-outline-warning:disabled {
    color: #ffc107 !important;
    background-color: transparent !important;
  }
  
  .btn-outline-info {
    color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
  }
  
  .btn-outline-info:hover {
    color: #000 !important;
    background-color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
  }
  
  .btn-outline-info:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.5) !important;
  }
  
  .btn-outline-info:active {
    color: #000 !important;
    background-color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
  }
  
  .btn-outline-info:disabled {
    color: #0dcaf0 !important;
    background-color: transparent !important;
  }
  
  .btn-outline-light {
    color: #f8f9fa !important;
    border-color: #f8f9fa !important;
  }
  
  .btn-outline-light:hover {
    color: #000 !important;
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
  }
  
  .btn-outline-light:focus {
    box-shadow: 0 0 0 0.25rem rgba(248, 249, 250, 0.5) !important;
  }
  
  .btn-outline-light:active {
    color: #000 !important;
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
  }
  
  .btn-outline-light:disabled {
    color: #f8f9fa !important;
    background-color: transparent !important;
  }
  
  .btn-outline-dark {
    color: #212529 !important;
    border-color: #212529 !important;
  }
  
  .btn-outline-dark:hover {
    color: #fff !important;
    background-color: #212529 !important;
    border-color: #212529 !important;
  }
  
  .btn-outline-dark:focus {
    box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0.5) !important;
  }
  
  .btn-outline-dark:active {
    color: #fff !important;
    background-color: #212529 !important;
    border-color: #212529 !important;
  }
  
  .btn-outline-dark:disabled {
    color: #212529 !important;
    background-color: transparent !important;
  }
  
  .btn-sm {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.875rem !important;
    border-radius: 0.25rem !important;
  }
  
  .btn-lg {
    padding: 0.5rem 1rem !important;
    font-size: 1.25rem !important;
    border-radius: 0.5rem !important;
  }
  
  /* Spinner responsive improvements */
  .spinner-border {
    display: inline-block !important;
    width: 2rem !important;
    height: 2rem !important;
    vertical-align: text-bottom !important;
    border: 0.25em solid currentcolor !important;
    border-right-color: transparent !important;
    border-radius: 50% !important;
    animation: spinner-border 0.75s linear infinite !important;
  }
  
  .spinner-border-sm {
    width: 1rem !important;
    height: 1rem !important;
    border-width: 0.125em !important;
  }
  
  .spinner-grow {
    display: inline-block !important;
    width: 2rem !important;
    height: 2rem !important;
    vertical-align: text-bottom !important;
    background-color: currentcolor !important;
    border-radius: 50% !important;
    opacity: 0 !important;
    animation: spinner-grow 0.75s linear infinite !important;
  }
  
  .spinner-grow-sm {
    width: 1rem !important;
    height: 1rem !important;
  }
  
  @keyframes spinner-border {
    to {
      transform: rotate(360deg) !important;
    }
  }
  
  @keyframes spinner-grow {
    0% {
      transform: scale(0) !important;
    }
    50% {
      opacity: 1 !important;
      transform: none !important;
    }
  }
  
  /* Alert responsive improvements */
  .alert {
    position: relative !important;
    padding: 0.75rem 1.25rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid transparent !important;
    border-radius: 0.375rem !important;
  }
  
  .alert-heading {
    color: inherit !important;
  }
  
  .alert-link {
    font-weight: 700 !important;
  }
  
  .alert-dismissible {
    padding-right: 3rem !important;
  }
  
  .alert-dismissible .btn-close {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 2 !important;
    padding: 0.75rem 1.25rem !important;
  }
  
  .alert-primary {
    color: #084298 !important;
    background-color: #cff4fc !important;
    border-color: #b6effb !important;
  }
  
  .alert-primary .alert-link {
    color: #06357a !important;
  }
  
  .alert-secondary {
    color: #41464b !important;
    background-color: #e2e3e5 !important;
    border-color: #d3d6d8 !important;
  }
  
  .alert-secondary .alert-link {
    color: #34383c !important;
  }
  
  .alert-success {
    color: #0f5132 !important;
    background-color: #d1e7dd !important;
    border-color: #badbcc !important;
  }
  
  .alert-success .alert-link {
    color: #0c4128 !important;
  }
  
  .alert-danger {
    color: #842029 !important;
    background-color: #f8d7da !important;
    border-color: #f5c2c7 !important;
  }
  
  .alert-danger .alert-link {
    color: #6a1a21 !important;
  }
  
  .alert-warning {
    color: #664d03 !important;
    background-color: #fff3cd !important;
    border-color: #ffecb5 !important;
  }
  
  .alert-warning .alert-link {
    color: #523e02 !important;
  }
  
  .alert-info {
    color: #055160 !important;
    background-color: #cff4fc !important;
    border-color: #b6effb !important;
  }
  
  .alert-info .alert-link {
    color: #04414d !important;
  }
  
  .alert-light {
    color: #636464 !important;
    background-color: #fefefe !important;
    border-color: #fdfdfe !important;
  }
  
  .alert-light .alert-link {
    color: #4f5050 !important;
  }
  
  .alert-dark {
    color: #141619 !important;
    background-color: #d3d3d4 !important;
    border-color: #bcbebf !important;
  }
  
  .alert-dark .alert-link {
    color: #101214 !important;
  }
  
  /* Close button responsive improvements */
  .btn-close {
    box-sizing: content-box !important;
    width: 1em !important;
    height: 1em !important;
    padding: 0.25em 0.25em !important;
    color: #000 !important;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='m.5 3.5 6 6 6-6-1.5-1.5-4.5 4.5-4.5-4.5L.5 3.5z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
    border: 0 !important;
    border-radius: 0.375rem !important;
    opacity: 0.5 !important;
  }
  
  .btn-close:hover {
    color: #000 !important;
    text-decoration: none !important;
    opacity: 0.75 !important;
  }
  
  .btn-close:focus {
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
    opacity: 1 !important;
  }
  
  .btn-close:disabled,
  .btn-close.disabled {
    pointer-events: none !important;
    user-select: none !important;
    opacity: 0.25 !important;
  }
  
  .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
  }
  
  /* Visibility responsive improvements */
  .visible {
    visibility: visible !important;
  }
  
  .invisible {
    visibility: hidden !important;
  }
  
  /* Screen reader responsive improvements */
  .visually-hidden,
  .visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  
  .visually-hidden-focusable:active,
  .visually-hidden-focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
  }
  
  /* Stretched link responsive improvements */
  .stretched-link::after {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    content: "" !important;
  }
  
  /* Text truncation responsive improvements */
  .text-truncate {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  
  /* Clearfix responsive improvements */
  .clearfix::after {
    display: block !important;
    clear: both !important;
    content: "" !important;
  }
  
  /* Color and background responsive improvements */
  .text-primary {
    color: #0d6efd !important;
  }
  
  .text-secondary {
    color: #6c757d !important;
  }
  
  .text-success {
    color: #198754 !important;
  }
  
  .text-danger {
    color: #dc3545 !important;
  }
  
  .text-warning {
    color: #ffc107 !important;
  }
  
  .text-info {
    color: #0dcaf0 !important;
  }
  
  .text-light {
    color: #f8f9fa !important;
  }
  
  .text-dark {
    color: #212529 !important;
  }
  
  .text-body {
    color: #212529 !important;
  }
  
  .text-muted {
    color: #6c757d !important;
  }
  
  .text-black-50 {
    color: rgba(0, 0, 0, 0.5) !important;
  }
  
  .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
  }
  
  .text-reset {
    color: inherit !important;
  }
  
  .bg-primary {
    background-color: #0d6efd !important;
  }
  
  .bg-secondary {
    background-color: #6c757d !important;
  }
  
  .bg-success {
    background-color: #198754 !important;
  }
  
  .bg-danger {
    background-color: #dc3545 !important;
  }
  
  .bg-warning {
    background-color: #ffc107 !important;
  }
  
  .bg-info {
    background-color: #0dcaf0 !important;
  }
  
  .bg-light {
    background-color: #f8f9fa !important;
  }
  
  .bg-dark {
    background-color: #212529 !important;
  }
  
  .bg-body {
    background-color: #fff !important;
  }
  
  .bg-white {
    background-color: #fff !important;
  }
  
  .bg-transparent {
    background-color: transparent !important;
  }
  
  .bg-gradient {
    background-image: var(--bs-gradient) !important;
  }
  
  .user-select-all {
    user-select: all !important;
  }
  
  .user-select-auto {
    user-select: auto !important;
  }
  
  .user-select-none {
    user-select: none !important;
  }
  
  .pe-none {
    pointer-events: none !important;
  }
  
  .pe-auto {
    pointer-events: auto !important;
  }
  
  .rounded {
    border-radius: 0.375rem !important;
  }
  
  .rounded-0 {
    border-radius: 0 !important;
  }
  
  .rounded-1 {
    border-radius: 0.25rem !important;
  }
  
  .rounded-2 {
    border-radius: 0.5rem !important;
  }
  
  .rounded-3 {
    border-radius: 1rem !important;
  }
  
  .rounded-circle {
    border-radius: 50% !important;
  }
  
  .rounded-pill {
    border-radius: 50rem !important;
  }
  
  .rounded-top {
    border-top-left-radius: 0.375rem !important;
    border-top-right-radius: 0.375rem !important;
  }
  
  .rounded-end {
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
  }
  
  .rounded-bottom {
    border-bottom-right-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
  }
  
  .rounded-start {
    border-bottom-left-radius: 0.375rem !important;
    border-top-left-radius: 0.375rem !important;
  }
  
  /* Shadow responsive improvements */
  .shadow-none {
    box-shadow: none !important;
  }
  
  .shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  }
  
  .shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }
  
  .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
  }
  
  /* Focus responsive improvements */
  .focus-ring-primary {
    --bs-focus-ring-color: rgba(13, 110, 253, 0.25) !important;
  }
  
  .focus-ring-secondary {
    --bs-focus-ring-color: rgba(108, 117, 125, 0.25) !important;
  }
  
  .focus-ring-success {
    --bs-focus-ring-color: rgba(25, 135, 84, 0.25) !important;
  }
  
  .focus-ring-danger {
    --bs-focus-ring-color: rgba(220, 53, 69, 0.25) !important;
  }
  
  .focus-ring-warning {
    --bs-focus-ring-color: rgba(255, 193, 7, 0.25) !important;
  }
  
  .focus-ring-info {
    --bs-focus-ring-color: rgba(13, 202, 240, 0.25) !important;
  }
  
  .focus-ring-light {
    --bs-focus-ring-color: rgba(248, 249, 250, 0.25) !important;
  }
  
  .focus-ring-dark {
    --bs-focus-ring-color: rgba(33, 37, 41, 0.25) !important;
  }
  
  .focus-ring {
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem var(--bs-focus-ring-color) !important;
  }
  
  /* Ratio responsive improvements */
  .ratio {
    position: relative !important;
    width: 100% !important;
  }
  
  .ratio::before {
    display: block !important;
    padding-top: var(--bs-aspect-ratio) !important;
    content: "" !important;
  }
  
  .ratio > * {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .ratio-1x1 {
    --bs-aspect-ratio: 100% !important;
  }
  
  .ratio-4x3 {
    --bs-aspect-ratio: 75% !important;
  }
  
  .ratio-16x9 {
    --bs-aspect-ratio: 56.25% !important;
  }
  
  .ratio-21x9 {
    --bs-aspect-ratio: 42.8571428571% !important;
  }
  
  /* Fixed top responsive improvements */
  .fixed-top {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1030 !important;
  }
  
  .fixed-bottom {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1030 !important;
  }
  
  .sticky-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 1020 !important;
  }
  
  .sticky-bottom {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 1020 !important;
  }
  
  /* Transition responsive improvements */
  .transition {
    transition: all 0.15s ease-in-out !important;
  }
  
  .transition-fast {
    transition: all 0.1s ease-in-out !important;
  }
  
  .transition-slow {
    transition: all 0.3s ease-in-out !important;
  }
  
  .transition-none {
    transition: none !important;
  }
  
  /* Transform responsive improvements */
  .transform {
    transform: translateZ(0) !important;
  }
  
  .transform-gpu {
    transform: translate3d(0, 0, 0) !important;
  }
  
  .transform-none {
    transform: none !important;
  }
  
  /* Backface visibility responsive improvements */
  .backface-hidden {
    backface-visibility: hidden !important;
  }
  
  .backface-visible {
    backface-visibility: visible !important;
  }
  
  /* Perspective responsive improvements */
  .perspective-none {
    perspective: none !important;
  }
  
  .perspective-1000 {
    perspective: 1000px !important;
  }
  
  .perspective-1500 {
    perspective: 1500px !important;
  }
  
  .perspective-2000 {
    perspective: 2000px !important;
  }
  
  /* Transform origin responsive improvements */
  .transform-origin-center {
    transform-origin: center !important;
  }
  
  .transform-origin-top {
    transform-origin: top !important;
  }
  
  .transform-origin-bottom {
    transform-origin: bottom !important;
  }
  
  .transform-origin-left {
    transform-origin: left !important;
  }
  
  .transform-origin-right {
    transform-origin: right !important;
  }
  
  .transform-origin-top-left {
    transform-origin: top left !important;
  }
  
  .transform-origin-top-right {
    transform-origin: top right !important;
  }
  
  .transform-origin-bottom-left {
    transform-origin: bottom left !important;
  }
  
  .transform-origin-bottom-right {
    transform-origin: bottom right !important;
  }
  
  /* Transform style responsive improvements */
  .transform-style-flat {
    transform-style: flat !important;
  }
  
  .transform-style-preserve-3d {
    transform-style: preserve-3d !important;
  }
  
  /* Transform 3D responsive improvements */
  .transform-3d {
    transform-style: preserve-3d !important;
  }
  
  .transform-3d-none {
    transform-style: flat !important;
  }
  
  /* Transform scale responsive improvements */
  .scale-0 {
    transform: scale(0) !important;
  }
  
  .scale-50 {
    transform: scale(0.5) !important;
  }
  
  .scale-75 {
    transform: scale(0.75) !important;
  }
  
  .scale-90 {
    transform: scale(0.9) !important;
  }
  
  .scale-95 {
    transform: scale(0.95) !important;
  }
  
  .scale-100 {
    transform: scale(1) !important;
  }
  
  .scale-105 {
    transform: scale(1.05) !important;
  }
  
  .scale-110 {
    transform: scale(1.1) !important;
  }
  
  .scale-125 {
    transform: scale(1.25) !important;
  }
  
  .scale-150 {
    transform: scale(1.5) !important;
  }
  
  /* Transform rotate responsive improvements */
  .rotate-0 {
    transform: rotate(0deg) !important;
  }
  
  .rotate-1 {
    transform: rotate(1deg) !important;
  }
  
  .rotate-2 {
    transform: rotate(2deg) !important;
  }
  
  .rotate-3 {
    transform: rotate(3deg) !important;
  }
  
  .rotate-6 {
    transform: rotate(6deg) !important;
  }
  
  .rotate-12 {
    transform: rotate(12deg) !important;
  }
  
  .rotate-45 {
    transform: rotate(45deg) !important;
  }
  
  .rotate-90 {
    transform: rotate(90deg) !important;
  }
  
  .rotate-180 {
    transform: rotate(180deg) !important;
  }
  
  /* Transform translate responsive improvements */
  .translate-x-0 {
    transform: translateX(0) !important;
  }
  
  .translate-x-1 {
    transform: translateX(0.25rem) !important;
  }
  
  .translate-x-2 {
    transform: translateX(0.5rem) !important;
  }
  
  .translate-x-3 {
    transform: translateX(0.75rem) !important;
  }
  
  .translate-x-4 {
    transform: translateX(1rem) !important;
  }
  
  .translate-x-5 {
    transform: translateX(1.25rem) !important;
  }
  
  .translate-x-6 {
    transform: translateX(1.5rem) !important;
  }
  
  .translate-x-8 {
    transform: translateX(2rem) !important;
  }
  
  .translate-x-10 {
    transform: translateX(2.5rem) !important;
  }
  
  .translate-x-12 {
    transform: translateX(3rem) !important;
  }
  
  .translate-x-16 {
    transform: translateX(4rem) !important;
  }
  
  .translate-x-20 {
    transform: translateX(5rem) !important;
  }
  
  .translate-x-24 {
    transform: translateX(6rem) !important;
  }
  
  .translate-x-32 {
    transform: translateX(8rem) !important;
  }
  
  .translate-x-40 {
    transform: translateX(10rem) !important;
  }
  
  .translate-x-48 {
    transform: translateX(12rem) !important;
  }
  
  .translate-x-56 {
    transform: translateX(14rem) !important;
  }
  
  .translate-x-64 {
    transform: translateX(16rem) !important;
  }
  
  .translate-x-px {
    transform: translateX(1px) !important;
  }
  
  .translate-x-0\.5 {
    transform: translateX(0.125rem) !important;
  }
  
  .translate-x-1\.5 {
    transform: translateX(0.375rem) !important;
  }
  
  .translate-x-2\.5 {
    transform: translateX(0.625rem) !important;
  }
  
  .translate-x-3\.5 {
    transform: translateX(0.875rem) !important;
  }
  
  .translate-x-1\/2 {
    transform: translateX(50%) !important;
  }
  
  .translate-x-full {
    transform: translateX(100%) !important;
  }
  
  .translate-x-\[-50\%\] {
    transform: translateX(-50%) !important;
  }
  
  .translate-x-\[-100\%\] {
    transform: translateX(-100%) !important;
  }
  
  .translate-y-0 {
    transform: translateY(0) !important;
  }
  
  .translate-y-1 {
    transform: translateY(0.25rem) !important;
  }
  
  .translate-y-2 {
    transform: translateY(0.5rem) !important;
  }
  
  .translate-y-3 {
    transform: translateY(0.75rem) !important;
  }
  
  .translate-y-4 {
    transform: translateY(1rem) !important;
  }
  
  .translate-y-5 {
    transform: translateY(1.25rem) !important;
  }
  
  .translate-y-6 {
    transform: translateY(1.5rem) !important;
  }
  
  .translate-y-8 {
    transform: translateY(2rem) !important;
  }
  
  .translate-y-10 {
    transform: translateY(2.5rem) !important;
  }
  
  .translate-y-12 {
    transform: translateY(3rem) !important;
  }
  
  .translate-y-16 {
    transform: translateY(4rem) !important;
  }
  
  .translate-y-20 {
    transform: translateY(5rem) !important;
  }
  
  .translate-y-24 {
    transform: translateY(6rem) !important;
  }
  
  .translate-y-32 {
    transform: translateY(8rem) !important;
  }
  
  .translate-y-40 {
    transform: translateY(10rem) !important;
  }
  
  .translate-y-48 {
    transform: translateY(12rem) !important;
  }
  
  .translate-y-56 {
    transform: translateY(14rem) !important;
  }
  
  .translate-y-64 {
    transform: translateY(16rem) !important;
  }
  
  .translate-y-px {
    transform: translateY(1px) !important;
  }
  
  .translate-y-0\.5 {
    transform: translateY(0.125rem) !important;
  }
  
  .translate-y-1\.5 {
    transform: translateY(0.375rem) !important;
  }
  
  .translate-y-2\.5 {
    transform: translateY(0.625rem) !important;
  }
  
  .translate-y-3\.5 {
    transform: translateY(0.875rem) !important;
  }
  
  .translate-y-1\/2 {
    transform: translateY(50%) !important;
  }
  
  .translate-y-full {
    transform: translateY(100%) !important;
  }
  
  .translate-y-\[-50\%\] {
    transform: translateY(-50%) !important;
  }
  
  .translate-y-\[-100\%\] {
    transform: translateY(-100%) !important;
  }
  
  /* Animation responsive improvements */
  .animate-none {
    animation: none !important;
  }
  
  .animate-spin {
    animation: spin 1s linear infinite !important;
  }
  
  .animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite !important;
  }
  
  .animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
  }
  
  .animate-bounce {
    animation: bounce 1s infinite !important;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg) !important;
    }
  }
  
  @keyframes ping {
    75%, 100% {
      transform: scale(2) !important;
      opacity: 0 !important;
    }
  }
  
  @keyframes pulse {
    50% {
      opacity: 0.5 !important;
    }
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateY(-25%) !important;
      animation-timing-function: cubic-bezier(0.8, 0, 1, 1) !important;
    }
    50% {
      transform: translateY(0) !important;
      animation-timing-function: cubic-bezier(0, 0, 0.2, 1) !important;
    }
  }
  
  /* Animation delay responsive improvements */
  .animate-delay-75 {
    animation-delay: 75ms !important;
  }
  
  .animate-delay-100 {
    animation-delay: 100ms !important;
  }
  
  .animate-delay-150 {
    animation-delay: 150ms !important;
  }
  
  .animate-delay-200 {
    animation-delay: 200ms !important;
  }
  
  .animate-delay-300 {
    animation-delay: 300ms !important;
  }
  
  .animate-delay-500 {
    animation-delay: 500ms !important;
  }
  
  .animate-delay-700 {
    animation-delay: 700ms !important;
  }
  
  .animate-delay-1000 {
    animation-delay: 1000ms !important;
  }
  
  /* Animation duration responsive improvements */
  .animate-duration-75 {
    animation-duration: 75ms !important;
  }
  
  .animate-duration-100 {
    animation-duration: 100ms !important;
  }
  
  .animate-duration-150 {
    animation-duration: 150ms !important;
  }
  
  .animate-duration-200 {
    animation-duration: 200ms !important;
  }
  
  .animate-duration-300 {
    animation-duration: 300ms !important;
  }
  
  .animate-duration-500 {
    animation-duration: 500ms !important;
  }
  
  .animate-duration-700 {
    animation-duration: 700ms !important;
  }
  
  .animate-duration-1000 {
    animation-duration: 1000ms !important;
  }
  
  /* Animation iteration count responsive improvements */
  .animate-once {
    animation-iteration-count: 1 !important;
  }
  
  .animate-twice {
    animation-iteration-count: 2 !important;
  }
  
  .animate-thrice {
    animation-iteration-count: 3 !important;
  }
  
  .animate-infinite {
    animation-iteration-count: infinite !important;
  }
  
  /* Animation fill mode responsive improvements */
  .animate-fill-none {
    animation-fill-mode: none !important;
  }
  
  .animate-fill-forwards {
    animation-fill-mode: forwards !important;
  }
  
  .animate-fill-backwards {
    animation-fill-mode: backwards !important;
  }
  
  .animate-fill-both {
    animation-fill-mode: both !important;
  }
  
  /* Animation direction responsive improvements */
  .animate-normal {
    animation-direction: normal !important;
  }
  
  .animate-reverse {
    animation-direction: reverse !important;
  }
  
  .animate-alternate {
    animation-direction: alternate !important;
  }
  
  .animate-alternate-reverse {
    animation-direction: alternate-reverse !important;
  }
  
  /* Animation play state responsive improvements */
  .animate-play {
    animation-play-state: running !important;
  }
  
  .animate-pause {
    animation-play-state: paused !important;
  }
  
  /* Animation timing function responsive improvements */
  .animate-linear {
    animation-timing-function: linear !important;
  }
  
  .animate-ease {
    animation-timing-function: ease !important;
  }
  
  .animate-ease-in {
    animation-timing-function: ease-in !important;
  }
  
  .animate-ease-out {
    animation-timing-function: ease-out !important;
  }
  
  .animate-ease-in-out {
    animation-timing-function: ease-in-out !important;
  }
  
  .animate-ease-in-sine {
    animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0) !important;
  }
  
  .animate-ease-out-sine {
    animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1) !important;
  }
  
  .animate-ease-in-out-sine {
    animation-timing-function: cubic-bezier(0.37, 0, 0.63, 1) !important;
  }
  
  .animate-ease-in-quad {
    animation-timing-function: cubic-bezier(0.11, 0, 0.5, 0) !important;
  }
  
  .animate-ease-out-quad {
    animation-timing-function: cubic-bezier(0.5, 1, 0.89, 1) !important;
  }
  
  .animate-ease-in-out-quad {
    animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1) !important;
  }
  
  .animate-ease-in-cubic {
    animation-timing-function: cubic-bezier(0.32, 0, 0.67, 0) !important;
  }
  
  .animate-ease-out-cubic {
    animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1) !important;
  }
  
  .animate-ease-in-out-cubic {
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1) !important;
  }
  
  .animate-ease-in-quart {
    animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0) !important;
  }
  
  .animate-ease-out-quart {
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important;
  }
  
  .animate-ease-in-out-quart {
    animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1) !important;
  }
  
  .animate-ease-in-quint {
    animation-timing-function: cubic-bezier(0.64, 0, 0.78, 0) !important;
  }
  
  .animate-ease-out-quint {
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
  
  .animate-ease-in-out-quint {
    animation-timing-function: cubic-bezier(0.83, 0, 0.17, 1) !important;
  }
  
  .animate-ease-in-expo {
    animation-timing-function: cubic-bezier(0.7, 0, 0.84, 0) !important;
  }
  
  .animate-ease-out-expo {
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  
  .animate-ease-in-out-expo {
    animation-timing-function: cubic-bezier(0.87, 0, 0.13, 1) !important;
  }
  
  .animate-ease-in-circ {
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45) !important;
  }
  
  .animate-ease-out-circ {
    animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1) !important;
  }
  
  .animate-ease-in-out-circ {
    animation-timing-function: cubic-bezier(0.85, 0, 0.15, 1) !important;
  }
  
  .animate-ease-in-back {
    animation-timing-function: cubic-bezier(0.36, 0, 0.66, -0.56) !important;
  }
  
  .animate-ease-out-back {
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  }
  
  .animate-ease-in-out-back {
    animation-timing-function: cubic-bezier(0.68, -0.6, 0.32, 1.6) !important;
  }
  
  /* Filter responsive improvements */
  .filter-none {
    filter: none !important;
  }
  
  .filter-blur {
    filter: blur(8px) !important;
  }
  
  .filter-brightness {
    filter: brightness(1.5) !important;
  }
  
  .filter-contrast {
    filter: contrast(1.5) !important;
  }
  
  .filter-drop-shadow {
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06)) !important;
  }
  
  .filter-grayscale {
    filter: grayscale(100%) !important;
  }
  
  .filter-hue-rotate {
    filter: hue-rotate(90deg) !important;
  }
  
  .filter-invert {
    filter: invert(100%) !important;
  }
  
  .filter-saturate {
    filter: saturate(1.5) !important;
  }
  
  .filter-sepia {
    filter: sepia(100%) !important;
  }
  
  /* Backdrop filter responsive improvements */
  .backdrop-filter-none {
    backdrop-filter: none !important;
  }
  
  .backdrop-filter-blur {
    backdrop-filter: blur(8px) !important;
  }
  
  .backdrop-filter-brightness {
    backdrop-filter: brightness(1.5) !important;
  }
  
  .backdrop-filter-contrast {
    backdrop-filter: contrast(1.5) !important;
  }
  
  .backdrop-filter-drop-shadow {
    backdrop-filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06)) !important;
  }
  
  .backdrop-filter-grayscale {
    backdrop-filter: grayscale(100%) !important;
  }
  
  .backdrop-filter-hue-rotate {
    backdrop-filter: hue-rotate(90deg) !important;
  }
  
  .backdrop-filter-invert {
    backdrop-filter: invert(100%) !important;
  }
  
  .backdrop-filter-saturate {
    backdrop-filter: saturate(1.5) !important;
  }
  
  .backdrop-filter-sepia {
    backdrop-filter: sepia(100%) !important;
  }
  
  /* Mix blend mode responsive improvements */
  .mix-blend-normal {
    mix-blend-mode: normal !important;
  }
  
  .mix-blend-multiply {
    mix-blend-mode: multiply !important;
  }
  
  .mix-blend-screen {
    mix-blend-mode: screen !important;
  }
  
  .mix-blend-overlay {
    mix-blend-mode: overlay !important;
  }
  
  .mix-blend-darken {
    mix-blend-mode: darken !important;
  }
  
  .mix-blend-lighten {
    mix-blend-mode: lighten !important;
  }
  
  .mix-blend-color-dodge {
    mix-blend-mode: color-dodge !important;
  }
  
  .mix-blend-color-burn {
    mix-blend-mode: color-burn !important;
  }
  
  .mix-blend-hard-light {
    mix-blend-mode: hard-light !important;
  }
  
  .mix-blend-soft-light {
    mix-blend-mode: soft-light !important;
  }
  
  .mix-blend-difference {
    mix-blend-mode: difference !important;
  }
  
  .mix-blend-exclusion {
    mix-blend-mode: exclusion !important;
  }
  
  .mix-blend-hue {
    mix-blend-mode: hue !important;
  }
  
  .mix-blend-saturation {
    mix-blend-mode: saturation !important;
  }
  
  .mix-blend-color {
    mix-blend-mode: color !important;
  }
  
  .mix-blend-luminosity {
    mix-blend-mode: luminosity !important;
  }
  
  /* Isolation responsive improvements */
  .isolation-auto {
    isolation: auto !important;
  }
  
  .isolation-isolate {
    isolation: isolate !important;
  }
  
  /* Object fit responsive improvements */
  .object-contain {
    object-fit: contain !important;
  }
  
  .object-cover {
    object-fit: cover !important;
  }
  
  .object-fill {
    object-fit: fill !important;
  }
  
  .object-none {
    object-fit: none !important;
  }
  
  .object-scale-down {
    object-fit: scale-down !important;
  }
  
  /* Object position responsive improvements */
  .object-bottom {
    object-position: bottom !important;
  }
  
  .object-center {
    object-position: center !important;
  }
  
  .object-left {
    object-position: left !important;
  }
  
  .object-left-bottom {
    object-position: left bottom !important;
  }
  
  .object-left-top {
    object-position: left top !important;
  }
  
  .object-right {
    object-position: right !important;
  }
  
  .object-right-bottom {
    object-position: right bottom !important;
  }
  
  .object-right-top {
    object-position: right top !important;
  }
  
  .object-top {
    object-position: top !important;
  }
  
  /* Overflow responsive improvements */
  .overflow-auto {
    overflow: auto !important;
  }
  
  .overflow-hidden {
    overflow: hidden !important;
  }
  
  .overflow-clip {
    overflow: clip !important;
  }
  
  .overflow-visible {
    overflow: visible !important;
  }
  
  .overflow-scroll {
    overflow: scroll !important;
  }
  
  .overflow-x-auto {
    overflow-x: auto !important;
  }
  
  .overflow-y-auto {
    overflow-y: auto !important;
  }
  
  .overflow-x-hidden {
    overflow-x: hidden !important;
  }
  
  .overflow-y-hidden {
    overflow-y: hidden !important;
  }
  
  .overflow-x-clip {
    overflow-x: clip !important;
  }
  
  .overflow-y-clip {
    overflow-y: clip !important;
  }
  
  .overflow-x-visible {
    overflow-x: visible !important;
  }
  
  .overflow-y-visible {
    overflow-y: visible !important;
  }
  
  .overflow-x-scroll {
    overflow-x: scroll !important;
  }
  
  .overflow-y-scroll {
    overflow-y: scroll !important;
  }
  
  /* Overscroll responsive improvements */
  .overscroll-auto {
    overscroll-behavior: auto !important;
  }
  
  .overscroll-contain {
    overscroll-behavior: contain !important;
  }
  
  .overscroll-none {
    overscroll-behavior: none !important;
  }
  
  .overscroll-y-auto {
    overscroll-behavior-y: auto !important;
  }
  
  .overscroll-y-contain {
    overscroll-behavior-y: contain !important;
  }
  
  .overscroll-y-none {
    overscroll-behavior-y: none !important;
  }
  
  .overscroll-x-auto {
    overscroll-behavior-x: auto !important;
  }
  
  .overscroll-x-contain {
    overscroll-behavior-x: contain !important;
  }
  
  .overscroll-x-none {
    overscroll-behavior-x: none !important;
  }
  
  /* Cursor responsive improvements */
  .cursor-auto {
    cursor: auto !important;
  }
  
  .cursor-default {
    cursor: default !important;
  }
  
  .cursor-pointer {
    cursor: pointer !important;
  }
  
  .cursor-wait {
    cursor: wait !important;
  }
  
  .cursor-text {
    cursor: text !important;
  }
  
  .cursor-move {
    cursor: move !important;
  }
  
  .cursor-help {
    cursor: help !important;
  }
  
  .cursor-not-allowed {
    cursor: not-allowed !important;
  }
  
  .cursor-none {
    cursor: none !important;
  }
  
  .cursor-context-menu {
    cursor: context-menu !important;
  }
  
  .cursor-progress {
    cursor: progress !important;
  }
  
  .cursor-cell {
    cursor: cell !important;
  }
  
  .cursor-crosshair {
    cursor: crosshair !important;
  }
  
  .cursor-vertical-text {
    cursor: vertical-text !important;
  }
  
  .cursor-alias {
    cursor: alias !important;
  }
  
  .cursor-copy {
    cursor: copy !important;
  }
  
  .cursor-no-drop {
    cursor: no-drop !important;
  }
  
  .cursor-grab {
    cursor: grab !important;
  }
  
  .cursor-grabbing {
    cursor: grabbing !important;
  }
  
  .cursor-all-scroll {
    cursor: all-scroll !important;
  }
  
  .cursor-col-resize {
    cursor: col-resize !important;
  }
  
  .cursor-row-resize {
    cursor: row-resize !important;
  }
  
  .cursor-n-resize {
    cursor: n-resize !important;
  }
  
  .cursor-e-resize {
    cursor: e-resize !important;
  }
  
  .cursor-s-resize {
    cursor: s-resize !important;
  }
  
  .cursor-w-resize {
    cursor: w-resize !important;
  }
  
  .cursor-ne-resize {
    cursor: ne-resize !important;
  }
  
  .cursor-nw-resize {
    cursor: nw-resize !important;
  }
  
  .cursor-se-resize {
    cursor: se-resize !important;
  }
  
  .cursor-sw-resize {
    cursor: sw-resize !important;
  }
  
  .cursor-ew-resize {
    cursor: ew-resize !important;
  }
  
  .cursor-ns-resize {
    cursor: ns-resize !important;
  }
  
  .cursor-nesw-resize {
    cursor: nesw-resize !important;
  }
  
  .cursor-nwse-resize {
    cursor: nwse-resize !important;
  }
  
  .cursor-zoom-in {
    cursor: zoom-in !important;
  }
  
  .cursor-zoom-out {
    cursor: zoom-out !important;
  }
}

/* Dark Mode Support */
[data-theme="dark"] .shift-card {
  background: var(--neutral-800) !important;
  border-color: var(--neutral-700) !important;
  color: var(--neutral-100) !important;
}

[data-theme="dark"] .shift-card-header {
  background: linear-gradient(135deg, var(--neutral-700), var(--neutral-600)) !important;
  border-color: var(--neutral-600) !important;
}

[data-theme="dark"] .countdown-timer {
  background: linear-gradient(135deg, var(--neutral-700), var(--neutral-600)) !important;
  border-color: var(--neutral-600) !important;
}

[data-theme="dark"] .countdown-display {
  color: var(--neutral-100) !important;
}

/* Animation for shift pickup */
@keyframes shiftPickup {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.shift-picked {
  animation: shiftPickup 0.6s ease-in-out;
}

/* Pulse animation for countdown */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.countdown-pulse {
  animation: pulse 2s infinite;
}

/* Hover effects for shift cards */
.shift-card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shift-card-hover:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Status Indicators */
.status-indicator {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  display: inline-block !important;
  margin-right: 8px !important;
  animation: pulse 2s infinite !important;
}

.status-indicator.success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2) !important;
}

.status-indicator.important {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2) !important;
}

.status-indicator.info {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2) !important;
}

.status-indicator.chill {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2) !important;
}

.status-indicator.default {
  background: linear-gradient(135deg, #6b7280, #4b5563) !important;
  box-shadow: 0 0 0 4px rgba(107, 114, 128, 0.2) !important;
}

/* Time Remaining Display */
.time-remaining {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  padding: 4px 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  backdrop-filter: blur(10px) !important;
}

.time-remaining.success {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #059669 !important;
}

.time-remaining.important {
  background: rgba(245, 158, 11, 0.1) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: #d97706 !important;
}

.time-remaining.info {
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  color: #2563eb !important;
}

/* Status Progress Bar */
.status-progress {
  height: 6px !important;
  background: var(--neutral-200) !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.progress-bar {
  height: 100% !important;
  border-radius: 3px !important;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.progress-bar.success {
  background: linear-gradient(90deg, #10b981, #059669) !important;
}

.progress-bar.important {
  background: linear-gradient(90deg, #f59e0b, #d97706) !important;
}

.progress-bar.info {
  background: linear-gradient(90deg, #3b82f6, #2563eb) !important;
}

.progress-bar.chill {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed) !important;
}

.progress-bar.default {
  background: linear-gradient(90deg, #6b7280, #4b5563) !important;
}

/* Animated progress bar for in-progress shifts */
.progress-bar.important::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
  animation: progressShimmer 2s infinite !important;
}

@keyframes progressShimmer {
  0% {
    transform: translateX(-100%) !important;
  }
  100% {
    transform: translateX(100%) !important;
  }
}

/* Status Messages */
.status-message {
  margin-top: 8px !important;
}

.status-message .text-sm {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

/* Enhanced status badges for ongoing shifts */
.status-badge.important {
  animation: pulse 2s infinite !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3) !important;
}

/* Special styling for ongoing shifts */
.shift-card:has(.status-indicator.important) {
  border-left: 4px solid #f59e0b !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(217, 119, 6, 0.05)) !important;
}

/* Completed shifts styling */
.shift-card:has(.status-indicator.success) {
  border-left: 4px solid #10b981 !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05)) !important;
}

/* Scheduled shifts styling */
.shift-card:has(.status-indicator.info) {
  border-left: 4px solid #3b82f6 !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(37, 99, 235, 0.05)) !important;
}

/* Responsive adjustments for status indicators */
@media (max-width: 768px) {
  .status-indicator {
    width: 10px !important;
    height: 10px !important;
  }
  
  .time-remaining {
    font-size: 10px !important;
    padding: 3px 8px !important;
  }
  
  .status-progress {
    height: 4px !important;
  }
}

/* Admin Dashboard Specific Styles */
.bg-gradient-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

.bg-gradient-success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}

.bg-gradient-info {
  background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
}

.bg-gradient-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

.bg-gradient-warning-50 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(217, 119, 6, 0.05)) !important;
}

.bg-white-20 {
  background: rgba(255, 255, 255, 0.2) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Enhanced ongoing shift cards */
.ongoing-shift-card {
  border-left: 4px solid #f59e0b !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(217, 119, 6, 0.05)) !important;
  transition: all 0.3s ease !important;
}

.ongoing-shift-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15) !important;
}

/* Employee avatar badges */
.employee-avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: white !important;
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border: 2px solid white !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Enhanced progress bars in table */
.table .progress {
  background: rgba(0, 0, 0, 0.1) !important;
  border-radius: 3px !important;
}

.table .progress-bar {
  border-radius: 3px !important;
  transition: width 0.3s ease !important;
}

/* Dashboard stats cards hover effects */
.card.bg-gradient-primary:hover,
.card.bg-gradient-success:hover,
.card.bg-gradient-info:hover,
.card.bg-gradient-warning:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
}

/* Enhanced modal styling */
.modal-content {
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
  border-radius: 12px 12px 0 0 !important;
}

/* Clock records table styling */
.table-sm th {
  background: #f8fafc !important;
  border-bottom: 2px solid #e2e8f0 !important;
  font-weight: 600 !important;
  color: #475569 !important;
}

.table-sm td {
  border-bottom: 1px solid #e2e8f0 !important;
  vertical-align: middle !important;
}

/* Enhanced filter controls */
.form-select:focus,
.form-control:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
}

/* Loading states */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%) !important;
  background-size: 200% 100% !important;
  animation: loading 1.5s infinite !important;
}

@keyframes loading {
  0% {
    background-position: 200% 0 !important;
  }
  100% {
    background-position: -200% 0 !important;
  }
}

/* Real-time update indicator */
.real-time-indicator {
  position: relative !important;
}

.real-time-indicator::after {
  content: '' !important;
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  width: 8px !important;
  height: 8px !important;
  background: #10b981 !important;
  border-radius: 50% !important;
  animation: pulse 2s infinite !important;
}
