/* СКГА 5.3.9.58.67 — исправление контраста шаблона и окна импорта расписания */
/* Кнопка в шапке расписания, в тёмной и светлой темах */
.sm-wrap .sm-actions a.secondary[href*="schedule-admin.php"][href*="template"],
.sm-wrap .sm-head a.secondary[href*="schedule-admin.php"][href*="template"] {
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  padding:10px 15px !important;min-height:38px !important;
  border-radius:9px !important;text-decoration:none !important;
  background:#292c32 !important;border:1px solid #4b5058 !important;
  color:#f6f6f7 !important;opacity:1 !important; font-weight:650 !important;
  text-shadow:none !important;box-shadow:none !important;
}
.sm-wrap .sm-actions a.secondary[href*="template"]:hover,
.sm-wrap .sm-head a.secondary[href*="template"]:hover {
  background:#383b42 !important;border-color:#70757e !important;color:#fff !important;
}
html:not([data-theme="dark"]) .sm-wrap .sm-actions a.secondary[href*="template"],
html:not([data-theme="dark"]) .sm-wrap .sm-head a.secondary[href*="template"] {
  background:#fafafa !important;color:#25282f !important;border-color:#c7cbd1 !important;
}
html:not([data-theme="dark"]) .sm-wrap .sm-actions a.secondary[href*="template"]:hover,
html:not([data-theme="dark"]) .sm-wrap .sm-head a.secondary[href*="template"]:hover {
  background:#eeeeef !important;color:#141619 !important;
}
/* Окно импорта расписания: текст выделения файла не должен исчезать на белом фоне. */
.sui-modal .sui-drop {
  background:#282b31 !important;border:2px dashed #626872 !important;
  color:#f5f6f8 !important; opacity:1 !important;
}
.sui-modal .sui-drop #suiFileName,
.sui-modal .sui-drop strong,
.sui-modal #suiFileName {
  display:block !important;color:#fff !important;opacity:1 !important;
  font-size:15px !important;font-weight:700 !important;text-shadow:none !important;
}
.sui-modal .sui-drop #suiFileMeta,
.sui-modal .sui-drop small,
.sui-modal #suiFileMeta {display:block !important;color:#c5cbd4 !important;opacity:1 !important;}
.sui-modal .sui-stage a.secondary[href*="template"] {
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  min-height:38px !important;padding:9px 14px !important;border-radius:9px !important;
  background:#30343b !important;color:#fff !important;opacity:1 !important;
  border:1px solid #575d66 !important;text-decoration:none !important;font-weight:650 !important;
  text-shadow:none !important;white-space:nowrap !important;
}
.sui-modal .sui-stage a.secondary[href*="template"]:hover {
  background:#41464e !important;color:#fff !important;border-color:#7f858d !important;
}
.sui-modal .sui-note {background:#282b31 !important;color:#eceef2 !important;border:1px solid #484d55 !important;}
.sui-modal .sui-note p {color:#bfc6cf !important;}
.sui-modal .sui-upload-icon {color:#f5b5b5 !important;}
@media(max-width:540px){.sui-modal .sui-stage {gap:12px !important;flex-wrap:wrap !important;}}
