/* ============================================================
   SMOOTH JAZZ CONNECT — SCHEDULE CONTROLS
   File: /css/schedule-controls.css
   Version: 1.3.8
   Compatible with:
   - /js/dashboard.js v3.3.111
   - /js/schedule-picker.js v3.3.111
============================================================ */

/* ============================================================
   SCHEDULE PANEL
============================================================ */

#postSchedulePanel {
  position: relative;
  width: 100%;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(73, 180, 238, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(
      145deg,
      rgba(4, 14, 38, 0.92),
      rgba(8, 28, 67, 0.86)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

#postSchedulePanel[hidden] {
  display: none !important;
}

#postSchedulePanel .form-field {
  display: grid;
  gap: 10px;
}

#postScheduleDateLabel {
  color: #f4f9ff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* Hidden value field used by dashboard.js and schedule-picker.js. */
#postScheduleDate[type="hidden"] {
  display: none !important;
}

/* ============================================================
   PICKER ROOT + TRIGGER
============================================================ */

.sjc-schedule-picker-shell {
  position: relative;
  width: 100%;
}

.sjc-schedule-picker-trigger {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 13px 16px !important;
  border: 1px solid rgba(71, 190, 242, 0.42) !important;
  border-radius: 17px !important;
  background:
    linear-gradient(
      135deg,
      rgba(3, 14, 38, 0.98),
      rgba(8, 31, 72, 0.98)
    ) !important;
  color: #f7fbff !important;
  font: inherit !important;
  text-align: left !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 28px rgba(0, 0, 0, 0.22) !important;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease !important;
}

.sjc-schedule-picker-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(87, 221, 255, 0.82) !important;
  box-shadow:
    0 0 0 4px rgba(57, 205, 255, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.28) !important;
}

.sjc-schedule-picker-trigger[aria-expanded="true"],
.sjc-schedule-picker-trigger.has-value {
  border-color: rgba(91, 225, 255, 0.92) !important;
  background:
    linear-gradient(
      135deg,
      rgba(5, 22, 52, 0.99),
      rgba(8, 44, 92, 0.99)
    ) !important;
  box-shadow:
    0 0 0 4px rgba(58, 204, 255, 0.14),
    0 16px 36px rgba(0, 0, 0, 0.3) !important;
}

.sjc-schedule-picker-trigger:focus-visible {
  outline: none !important;
  border-color: #74e7ff !important;
  box-shadow:
    0 0 0 4px rgba(66, 211, 255, 0.24),
    0 16px 36px rgba(0, 0, 0, 0.3) !important;
}

.sjc-schedule-picker-trigger-icon,
.sjc-schedule-picker-trigger-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #55ddff;
  font-size: 1.25rem;
  line-height: 1;
}

.sjc-schedule-picker-trigger-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.sjc-schedule-picker-trigger-copy strong {
  overflow: hidden;
  color: #f7fbff;
  font-size: 0.98rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sjc-schedule-picker-trigger-copy span {
  overflow: hidden;
  color: rgba(198, 220, 245, 0.72);
  font-size: 0.83rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================
   PICKER DIALOG
============================================================ */

.sjc-schedule-picker {
  position: absolute;
  z-index: 9999;
  top: calc(100% + 12px);
  left: 0;
  width: min(740px, calc(100vw - 48px));
  padding: 20px;
  border: 1px solid rgba(76, 210, 255, 0.36);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(3, 11, 31, 0.995),
      rgba(7, 27, 68, 0.995)
    );
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-sizing: border-box;
}

.sjc-schedule-picker[hidden] {
  display: none !important;
}

.sjc-schedule-picker-header,
.sjc-schedule-calendar-toolbar,
.sjc-schedule-picker-footer,
.sjc-schedule-picker-footer-actions {
  display: flex;
  align-items: center;
}

.sjc-schedule-picker-header {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.sjc-schedule-picker-header h3,
.sjc-schedule-time h4 {
  margin: 4px 0 0;
  color: #f7fbff;
}

.sjc-schedule-picker-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(220px, 0.8fr);
  gap: 18px;
}

/* ============================================================
   CALENDAR
============================================================ */

.sjc-schedule-calendar,
.sjc-schedule-time {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(76, 164, 224, 0.2);
  border-radius: 19px;
  background: rgba(7, 21, 51, 0.8);
  box-sizing: border-box;
}

.sjc-schedule-calendar-toolbar {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sjc-schedule-calendar-toolbar strong {
  color: #f7fbff;
  font-size: 1rem;
  font-weight: 850;
  text-align: center;
}

.sjc-schedule-icon-button {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(78, 181, 239, 0.34);
  border-radius: 13px;
  background: rgba(12, 45, 99, 0.94);
  color: #e7f8ff;
  font: inherit;
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.sjc-schedule-icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 223, 255, 0.75);
  background: rgba(19, 67, 138, 0.98);
}

.sjc-schedule-icon-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(57, 207, 255, 0.2);
}

.sjc-schedule-weekdays,
.sjc-schedule-day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.sjc-schedule-weekdays {
  margin-bottom: 7px;
}

.sjc-schedule-weekdays span {
  color: rgba(172, 201, 232, 0.74);
  font-size: 0.69rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.sjc-schedule-day {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #edf6ff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease,
    color 140ms ease;
}

.sjc-schedule-day:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(71, 215, 255, 0.5);
  background: rgba(34, 141, 204, 0.2);
}

.sjc-schedule-day.is-outside-month {
  color: rgba(151, 179, 211, 0.4);
}

.sjc-schedule-day.is-today {
  border-color: rgba(255, 205, 83, 0.62);
}

.sjc-schedule-day.is-selected {
  border-color: rgba(150, 241, 255, 1);
  background:
    linear-gradient(
      135deg,
      #21c5ee,
      #75e8ff
    );
  color: #031522;
  box-shadow:
    0 9px 22px rgba(25, 190, 237, 0.34);
}

.sjc-schedule-day:disabled {
  color: rgba(144, 167, 194, 0.22);
  cursor: not-allowed;
  transform: none;
}

.sjc-schedule-day:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 213, 255, 0.22);
}

/* ============================================================
   TIME CONTROLS
============================================================ */

.sjc-schedule-time {
  display: grid;
  align-content: start;
  gap: 18px;
}

.sjc-schedule-time-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sjc-schedule-time-fields label {
  display: grid;
  gap: 7px;
  color: rgba(195, 218, 243, 0.8);
  font-size: 0.74rem;
  font-weight: 850;
}

.sjc-schedule-time-fields select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid rgba(70, 176, 235, 0.36);
  border-radius: 13px;
  background:
    linear-gradient(
      145deg,
      #040f29,
      #071a3e
    );
  color: #f7fbff;
  color-scheme: dark;
  font: inherit;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.sjc-schedule-time-fields select:hover {
  border-color: rgba(82, 213, 255, 0.66);
}

.sjc-schedule-time-fields select:focus {
  outline: none;
  border-color: rgba(95, 225, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(55, 205, 255, 0.15);
}

.sjc-schedule-selection-preview {
  min-height: 70px;
  padding: 14px;
  border: 1px solid rgba(67, 205, 255, 0.26);
  border-radius: 15px;
  background: rgba(23, 112, 169, 0.13);
  color: #e0f8ff;
  line-height: 1.55;
  box-sizing: border-box;
}

/* ============================================================
   PICKER FOOTER BUTTONS
============================================================ */

.sjc-schedule-picker-footer {
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.sjc-schedule-picker-footer-actions {
  gap: 10px;
}

.sjc-schedule-secondary-button,
.sjc-schedule-primary-button {
  -webkit-appearance: none;
  appearance: none;
  min-height: 46px;
  margin: 0;
  padding: 0 17px;
  border-radius: 13px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.sjc-schedule-secondary-button {
  border: 1px solid rgba(78, 179, 237, 0.34);
  background: rgba(12, 45, 99, 0.94);
  color: #eaf6ff;
}

.sjc-schedule-primary-button {
  border: 1px solid rgba(135, 238, 255, 0.9);
  background:
    linear-gradient(
      135deg,
      #1fc4ed,
      #76e8ff
    );
  color: #031522;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 26px rgba(25, 190, 237, 0.28);
}

.sjc-schedule-secondary-button:hover,
.sjc-schedule-primary-button:hover {
  transform: translateY(-1px);
}

.sjc-schedule-secondary-button:focus-visible,
.sjc-schedule-primary-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(58, 210, 255, 0.2);
}

/* ============================================================
   FINAL SCHEDULE ACTIONS
============================================================ */

#schedulePanelActions,
.dashboard-schedule-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: 16px !important;
}

button#cancelScheduleButton,
button#confirmScheduleButton {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-width: 154px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border-radius: 15px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease !important;
}

button#cancelScheduleButton {
  border: 1px solid rgba(255, 111, 138, 0.5) !important;
  background:
    linear-gradient(
      135deg,
      #6e203e 0%,
      #45172f 100%
    ) !important;
  color: #ffe4eb !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.28) !important;
}

button#confirmScheduleButton {
  border: 1px solid rgba(105, 229, 255, 0.78) !important;
  background:
    linear-gradient(
      135deg,
      #19bde9 0%,
      #39d2f8 50%,
      #6ce6ff 100%
    ) !important;
  color: #031522 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 12px 30px rgba(21, 191, 239, 0.3) !important;
}

button#cancelScheduleButton:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 139, 160, 0.9) !important;
  background:
    linear-gradient(
      135deg,
      #85294c 0%,
      #5b1c40 100%
    ) !important;
}

button#confirmScheduleButton:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(171, 245, 255, 1) !important;
  background:
    linear-gradient(
      135deg,
      #34cef4 0%,
      #72e8ff 100%
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 16px 36px rgba(21, 191, 239, 0.42) !important;
}

button#cancelScheduleButton:active,
button#confirmScheduleButton:active {
  transform: translateY(0) scale(0.98) !important;
}

button#cancelScheduleButton:focus-visible,
button#confirmScheduleButton:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 4px rgba(53, 207, 255, 0.24),
    0 14px 30px rgba(0, 0, 0, 0.3) !important;
}

button#cancelScheduleButton:disabled,
button#confirmScheduleButton:disabled {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================================
   LIGHT THEME
============================================================ */

html[data-theme="light"] #postSchedulePanel {
  border-color: rgba(64, 136, 205, 0.24);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(237, 247, 255, 0.98)
    );
}

html[data-theme="light"] #postScheduleDateLabel,
html[data-theme="light"] .sjc-schedule-picker-trigger-copy strong,
html[data-theme="light"] .sjc-schedule-picker-header h3,
html[data-theme="light"] .sjc-schedule-time h4,
html[data-theme="light"] .sjc-schedule-calendar-toolbar strong {
  color: #10213d;
}

html[data-theme="light"] .sjc-schedule-picker-trigger,
html[data-theme="light"] .sjc-schedule-picker,
html[data-theme="light"] .sjc-schedule-calendar,
html[data-theme="light"] .sjc-schedule-time {
  border-color: rgba(69, 139, 205, 0.24) !important;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.995),
      rgba(237, 247, 255, 0.995)
    ) !important;
}

html[data-theme="light"] .sjc-schedule-picker-trigger-copy span,
html[data-theme="light"] .sjc-schedule-weekdays span,
html[data-theme="light"] .sjc-schedule-time-fields label {
  color: rgba(31, 58, 93, 0.7);
}

html[data-theme="light"] .sjc-schedule-day {
  color: #173154;
}

html[data-theme="light"] .sjc-schedule-day.is-outside-month {
  color: rgba(37, 67, 103, 0.34);
}

html[data-theme="light"] .sjc-schedule-time-fields select {
  border-color: rgba(66, 137, 204, 0.24);
  background: #ffffff;
  color: #10213d;
  color-scheme: light;
}

html[data-theme="light"] .sjc-schedule-selection-preview {
  border-color: rgba(44, 155, 209, 0.22);
  background: rgba(54, 169, 225, 0.1);
  color: #173154;
}

html[data-theme="light"] button#cancelScheduleButton {
  border-color: rgba(196, 65, 91, 0.38) !important;
  background:
    linear-gradient(
      135deg,
      #fff1f5 0%,
      #ffdce5 100%
    ) !important;
  color: #8b2941 !important;
}

html[data-theme="light"] button#confirmScheduleButton {
  border-color: rgba(21, 164, 214, 0.48) !important;
  background:
    linear-gradient(
      135deg,
      #22c4ef 0%,
      #7be7ff 100%
    ) !important;
  color: #052034 !important;
}

/* ============================================================
   RESPONSIVE + FINAL COMPACT PICKER
   Version: 1.3.8
============================================================ */

#postSchedulePanel,
#postSchedulePanel .form-field,
#postSchedulePanel .sjc-schedule-picker-shell {
  position: relative;
  overflow: visible;
}

@media (min-width: 621px) {
  #postSchedulePanel .sjc-schedule-picker {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 12px);
    left: 50%;
    right: auto;
    width: min(560px, calc(100% - 24px));
    max-width: 560px;
    max-height: calc(100vh - 150px);
    margin: 0;
    padding: 14px;
    transform: translateX(-50%);
    transform-origin: top center;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 20px;
    box-sizing: border-box;
  }

  #postSchedulePanel .sjc-schedule-picker-header {
    gap: 10px;
    margin-bottom: 10px;
  }

  #postSchedulePanel .sjc-schedule-picker-header h3 {
    margin: 2px 0 0;
    font-size: 0.98rem;
    line-height: 1.2;
  }

  #postSchedulePanel .sjc-schedule-picker-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #postSchedulePanel .sjc-schedule-calendar,
  #postSchedulePanel .sjc-schedule-time {
    width: 100%;
    padding: 11px;
    border-radius: 15px;
    box-sizing: border-box;
  }

  #postSchedulePanel .sjc-schedule-calendar-toolbar {
    gap: 10px;
    margin-bottom: 7px;
  }

  #postSchedulePanel .sjc-schedule-calendar-toolbar strong {
    font-size: 0.92rem;
  }

  #postSchedulePanel .sjc-schedule-icon-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 10px;
    font-size: 1.1rem;
  }

  #postSchedulePanel .sjc-schedule-weekdays,
  #postSchedulePanel .sjc-schedule-day-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
  }

  #postSchedulePanel .sjc-schedule-weekdays {
    margin-bottom: 3px;
  }

  #postSchedulePanel .sjc-schedule-weekdays span {
    min-width: 0;
    font-size: 0.58rem;
  }

  #postSchedulePanel .sjc-schedule-day {
    width: 100%;
    min-width: 0;
    min-height: 30px;
    height: 30px;
    padding: 0;
    border-radius: 8px;
    font-size: 0.72rem;
    line-height: 1;
  }

  #postSchedulePanel .sjc-schedule-time {
    gap: 9px;
  }

  #postSchedulePanel .sjc-schedule-time h4 {
    margin: 2px 0 0;
    font-size: 0.88rem;
  }

  #postSchedulePanel .sjc-schedule-time-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  #postSchedulePanel .sjc-schedule-time-fields label {
    min-width: 0;
    gap: 4px;
    font-size: 0.62rem;
  }

  #postSchedulePanel .sjc-schedule-time-fields select {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 0 6px;
    border-radius: 9px;
    font-size: 0.76rem;
    box-sizing: border-box;
  }

  #postSchedulePanel .sjc-schedule-selection-preview {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.77rem;
    line-height: 1.3;
    box-sizing: border-box;
  }

  #postSchedulePanel .sjc-schedule-picker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }

  #postSchedulePanel .sjc-schedule-picker-footer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
  }

  #postSchedulePanel .sjc-schedule-secondary-button,
  #postSchedulePanel .sjc-schedule-primary-button {
    min-height: 36px;
    padding: 0 11px;
    border-radius: 10px;
    font-size: 0.76rem;
    white-space: nowrap;
  }
}

@media (min-width: 621px) and (max-width: 1180px) {
  #postSchedulePanel .sjc-schedule-picker {
    width: min(520px, calc(100% - 20px));
    max-width: 520px;
  }

  #postSchedulePanel .sjc-schedule-day {
    min-height: 29px;
    height: 29px;
  }
}

@media (max-width: 620px) {
  #postSchedulePanel {
    padding: 14px;
    border-radius: 17px;
  }

  #postSchedulePanel .sjc-schedule-picker {
    position: static;
    width: 100%;
    max-width: 100%;
    max-height: 82vh;
    margin-top: 12px;
    padding: 12px;
    transform: none;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 18px;
    box-sizing: border-box;
  }

  #postSchedulePanel .sjc-schedule-picker-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  #postSchedulePanel .sjc-schedule-calendar,
  #postSchedulePanel .sjc-schedule-time {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  #postSchedulePanel .sjc-schedule-weekdays,
  #postSchedulePanel .sjc-schedule-day-grid {
    gap: 3px;
  }

  #postSchedulePanel .sjc-schedule-day {
    min-width: 0;
    min-height: 30px;
    height: 30px;
    font-size: 0.72rem;
  }

  #postSchedulePanel .sjc-schedule-time-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  #postSchedulePanel .sjc-schedule-time-fields select {
    min-width: 0;
    min-height: 36px;
    padding: 0 5px;
    font-size: 0.74rem;
  }

  #postSchedulePanel .sjc-schedule-picker-footer,
  #postSchedulePanel .sjc-schedule-picker-footer-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  #postSchedulePanel .sjc-schedule-secondary-button,
  #postSchedulePanel .sjc-schedule-primary-button {
    width: 100%;
  }

  #schedulePanelActions,
  .dashboard-schedule-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  button#cancelScheduleButton,
  button#confirmScheduleButton {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 420px) {
  #postSchedulePanel .sjc-schedule-time-fields {
    grid-template-columns: 1fr;
  }

  #postSchedulePanel .sjc-schedule-day {
    min-height: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sjc-schedule-picker-trigger,
  .sjc-schedule-icon-button,
  .sjc-schedule-day,
  .sjc-schedule-secondary-button,
  .sjc-schedule-primary-button,
  button#cancelScheduleButton,
  button#confirmScheduleButton {
    transition: none !important;
  }
}
