/* Weekly Shift Plan: the foreground always contrasts with its cell background. */
body.theme-pro #app-screen #page-shift-form .shift-weekly-table tbody td {
  color: #f7fbff !important;
  -webkit-text-fill-color: #f7fbff !important;
  opacity: 1 !important;
}

body.theme-pro #app-screen #page-shift-form .shift-weekly-table tbody td .shift-cell-truncate {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.42) !important;
}

/* Regular shifts: dark control, bright readable text. */
body.theme-pro #app-screen #page-shift-form .shift-weekly-table select[data-role="day"],
body.theme-pro #app-screen #page-shift-form .shift-weekly-table select[data-role="fullweek"] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #25344d !important;
  border: 2px solid #72819a !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

/* Leave statuses: light control, dark text—the inverse of regular shifts. */
body.theme-pro #app-screen #page-shift-form .shift-weekly-table td.shift-leave-cell,
body.theme-pro #app-screen #page-shift-form .shift-weekly-table td.shift-leave-cell select.shift-leave-select {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  opacity: 1 !important;
}

body.theme-pro #app-screen #page-shift-form .shift-weekly-table td.shift-leave-cell select.shift-leave-select {
  background: #fff4df !important;
  border: 2px solid #b66b20 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

body.theme-pro #app-screen #page-shift-form .shift-weekly-table td.shift-leave-ph select.shift-leave-select {
  background: #e6f3ff !important;
  border-color: #3979ad !important;
}

body.theme-pro #app-screen #page-shift-form .shift-weekly-table td.shift-leave-annual select.shift-leave-select {
  background: #e2f7ec !important;
  border-color: #27845b !important;
}

body.theme-pro #app-screen #page-shift-form .shift-weekly-table td.shift-leave-raporlu select.shift-leave-select {
  background: #ffe6ee !important;
  border-color: #af4968 !important;
}

body.theme-pro #app-screen #page-shift-form .shift-weekly-table select option {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  background: #ffffff !important;
}

/* Monthly detailed report: leave/PH cells use a light surface and black text. */
body.theme-pro #app-screen #page-shift-form .shift-monthly-table td.shift-noncore-cell,
body.theme-pro #app-screen #page-shift-form .shift-monthly-report-wrap td.shift-noncore-cell {
  color: #080b10 !important;
  -webkit-text-fill-color: #080b10 !important;
  background: #ffd6d6 !important;
  border: 2px solid #a83f46 !important;
  font-weight: 900 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Names, positions and regular shift values stay bright on the dark report rows. */
body.theme-pro #app-screen #page-shift-form .shift-monthly-table tbody td:not(.shift-noncore-cell) {
  color: #f7fbff !important;
  -webkit-text-fill-color: #f7fbff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.38) !important;
}
