/* Dashboard Schedule Centering Fix */

/* Ensure schedule section is centered */
.schedule-section {
  width: 100% !important;
  margin: 0 auto 30px auto !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column !important;
}

/* Container within schedule section */
.schedule-section .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

/* Section header centered */
.schedule-section .section-header {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
  padding: 0 !important;
  position: relative !important;
}

/* Edit button absolute positioned */
.schedule-section .edit-button {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* Schedule grid centered */
.schedule-grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Save button centered */
.save-schedule-btn {
  margin: 20px auto 0 auto !important;
  display: block !important;
}

/* Stats grid centering fix */
.stats-grid {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .schedule-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
  }
}

@media (max-width: 768px) {
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .schedule-grid {
    grid-template-columns: 1fr !important;
  }
  
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
  
  .schedule-section .container {
    padding: 0 10px !important;
  }
}