/* CAMPUSONE_COURSE_EDITOR_OVERLAY_V2 */
body.co-editor-v2-open { overflow: hidden !important; }
.co-editor-v2-overlay {
  position: fixed; inset: 0; z-index: 30000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(13, 29, 36, .58);
  backdrop-filter: blur(3px);
}
.co-editor-v2-modal {
  width: min(1120px, 96vw); max-height: 92vh;
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid #d6e0e4; border-radius: 16px;
  box-shadow: 0 30px 90px rgba(10, 28, 35, .32);
}
.co-editor-v2-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; border-bottom: 1px solid #e2e8eb; background: #fff;
}
.co-editor-v2-head > div { min-width: 0; display: grid; gap: 3px; }
.co-editor-v2-head span { font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: .12em; color: #0c7a56; }
.co-editor-v2-head strong { font-size: 21px; line-height: 1.2; color: #1c3039; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-editor-v2-close {
  width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center;
  border: 1px solid #d7e1e5; border-radius: 10px; background: #fff;
  color: #30464f; font-size: 26px; line-height: 1; cursor: pointer;
}
.co-editor-v2-close:hover { background: #f2f7f5; color: #08714f; }
.co-editor-v2-body { position: relative; overflow: auto; padding: 20px; background: #f7f9fa; }
.co-editor-v2-loading { padding: 56px 20px; text-align: center; color: #6e7f87; font-weight: 700; }
.co-editor-v2-error { margin-bottom: 14px; padding: 12px 14px; border: 1px solid #efb6b6; border-radius: 9px; background: #fff4f4; color: #9b2424; }
.co-editor-v2-content { background: #fff; border: 1px solid #dce4e7; border-radius: 12px; padding: 18px; }
.co-editor-v2-content form { margin: 0; }
.co-editor-v2-content .field { margin-bottom: 16px; }
.co-editor-v2-content .field > label { display: block; margin-bottom: 6px; font-weight: 700; color: #243941; }
.co-editor-v2-content input:not([type=checkbox]):not([type=radio]),
.co-editor-v2-content select,
.co-editor-v2-content textarea {
  width: 100%; max-width: 100%; box-sizing: border-box;
}
.co-editor-v2-content textarea { min-height: 110px; }
.co-editor-v2-content .form-actions,
.co-editor-v2-content .co-form-actions {
  display: flex; justify-content: flex-end; align-items: center; gap: 10px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid #e5eaec;
}
.co-editor-v2-content .form-actions .button,
.co-editor-v2-content .co-form-actions .button,
.co-editor-v2-content button.button {
  background: #16865f !important; border-color: #16865f !important; color: #fff !important;
}
.co-editor-v2-content .form-actions a.secondary,
.co-editor-v2-content .co-form-actions a.secondary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 38px;
  padding: 8px 14px; border: 1px solid #d5dfe3; border-radius: 8px; background: #fff; color: #243941 !important; text-decoration: none;
}
.co-editor-v2-overlay.is-busy .co-editor-v2-content { opacity: .62; pointer-events: none; }
@media (max-width: 760px) {
  .co-editor-v2-overlay { padding: 0; align-items: stretch; }
  .co-editor-v2-modal { width: 100%; max-height: 100vh; border-radius: 0; }
  .co-editor-v2-body { padding: 12px; }
  .co-editor-v2-content { padding: 14px; border-radius: 10px; }
}
