/* SIMA PATCH v51 - Jadwal shift select search + scroll */
.sima-schedule-shift-select {
  min-width: 88px;
}

.sima-schedule-shift-select .ant-select-selector {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  padding-inline: 4px !important;
}

.sima-schedule-shift-select .ant-select-selection-item,
.sima-schedule-shift-select .ant-select-selection-placeholder {
  color: inherit !important;
  text-align: center;
  font-weight: 500;
}

.sima-schedule-shift-select .ant-select-arrow {
  color: inherit !important;
  opacity: .85;
}

.sima-schedule-shift-dropdown {
  z-index: 2200 !important;
  min-width: 360px !important;
  max-width: 520px !important;
}

.sima-schedule-shift-dropdown .ant-select-item-option-content {
  white-space: normal !important;
  line-height: 1.35;
}

.sima-schedule-shift-dropdown .ant-select-item {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.sima-schedule-shift-dropdown .ant-select-item-option-selected {
  font-weight: 600;
}


/* SIMA PATCH v62 - Schedule import processing/result output */
.sima-schedule-import-status {
  width: 100%;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.45;
}
.sima-schedule-import-status.loading {
  border-color: #91caff;
  background: #e6f4ff;
  color: #0958d9;
}
.sima-schedule-import-status.loading > div {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 4px 8px;
}
.sima-schedule-import-status.loading span {
  grid-column: 2;
  color: #5b6b82;
}
.sima-schedule-import-status.success {
  border-color: #b7eb8f;
  background: #f6ffed;
  color: #135200;
}
.sima-schedule-import-status.error {
  border-color: #ffccc7;
  background: #fff2f0;
  color: #a8071a;
}
.sima-schedule-import-status.error ul {
  margin: 2px 0 0;
  padding-left: 20px;
  max-height: 150px;
  overflow: auto;
}
.sima-schedule-import-status.error li + li {
  margin-top: 3px;
}
.sima-schedule-import-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  color: #3f5f35;
}
.sima-schedule-import-status small {
  color: #5b6b82;
}
@media (max-width: 640px) {
  .sima-schedule-import-summary {
    grid-template-columns: 1fr;
  }
}
