/* BastionGuard Community 1.10.14 — edit forms (topic and reply), deliberately last. */
.bsg-aurora-page--edit {
  --bsg-edit-surface: #ffffff;
  --bsg-edit-panel: #ffffff;
  --bsg-edit-control: #ffffff;
  --bsg-edit-border: rgba(8,107,235,0.52);
  --bsg-edit-text: #121f32;
  --bsg-edit-muted: #4d5d73;
  --bsg-edit-accent: #086beb;
}
body.bbpress .bsg-aurora-page--edit .bsg-forum-content,
body.bbpress .bsg-aurora-page--edit #bbpress-forums,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-wrapper,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-topic-form.bbp-edit-ui-ready,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-reply-form.bbp-edit-ui-ready {
  color: var(--bsg-edit-text) !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums {
  padding: 0 !important;
  border: 0 !important;
  max-width: 100% !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 14px !important;
  text-align: left !important;
  min-width: 0;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready > form,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-iv-panel,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready fieldset.bbp-form {
  background: var(--bsg-edit-surface) !important;
  border: 1px solid var(--bsg-edit-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 35px rgba(10,45,90,0.048) !important;
  color: var(--bsg-edit-text) !important;
  min-width: 0 !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-iv-panel {
  margin: 0 !important;
  overflow: visible !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-iv-panel__head {
  background: linear-gradient(95deg, #086beb, #ffffff) !important;
  border-bottom: 1px solid var(--bsg-edit-border) !important;
  border-radius: 13px 13px 0 0 !important;
  padding: 17px 22px !important;
  color: #ffffff !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-iv-panel__head h2,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready fieldset.bbp-form > legend {
  color: #121f32 !important;
  font-size: clamp(18px,2vw,22px) !important;
  font-weight: 750 !important;
  letter-spacing: .01em !important;
  margin: 0 !important;
  text-shadow: none !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-iv-panel__body,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-field-content {
  background: var(--bsg-edit-surface) !important;
  color: var(--bsg-edit-text) !important;
  padding: clamp(16px,2.2vw,26px) !important;
  border-radius: 0 0 13px 13px !important;
  overflow: visible !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready fieldset.bbp-form {
  padding: 20px !important;
  margin: 0 !important;
  overflow: visible !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready fieldset.bbp-form > legend {
  float: none !important;
  display: block !important;
  width: auto !important;
  padding: 8px 10px !important;
  background: transparent !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-edit-mode-context,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-template-notice,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready fieldset.bbp-form fieldset.bbp-form {
  display: block !important;
  padding: 13px 16px !important;
  margin: 0 0 20px !important;
  background: #eaf4ff !important;
  color: var(--bsg-edit-text) !important;
  border: 1px solid #cfe0f7 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-edit-mode-context__label,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-edit-mode-context__title,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-template-notice li,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready label,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready p,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready legend {
  color: var(--bsg-edit-text) !important;
  opacity: 1 !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready label {
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: .02em !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready :is(input[type=text],input[type=email],input[type=url],input[type=number],textarea,select),
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-the-content-wrapper textarea {
  background: var(--bsg-edit-control) !important;
  color: #121f32 !important;
  border: 1px solid rgba(8,107,235,0.6) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  max-width: 100% !important;
  width: 100% !important;
  min-height: 43px !important;
  padding: 10px 12px !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready :is(input,textarea,select):focus {
  border-color: var(--bsg-edit-accent) !important;
  outline: 2px solid rgba(8,107,235,0.2) !important;
  outline-offset: 1px !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready select option {
  background: #ffffff !important;
  color: #121f32 !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-the-content-wrapper,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .sceditor-container,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .sceditor-toolbar {
  background-color: #ffffff !important;
}
/* Keep SCEditor toolbar dropdowns outside the form/editor borders. */
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready :is(.bbp-the-content-wrapper,.sceditor-container,.bbp-field-content) {
  overflow: visible !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 18px 0 5px !important;
  background: transparent !important;
  border: 0 !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-actions :is(#bbp_topic_submit,#bbp_reply_submit,.bsg-edit-cancel) {
  display: inline-flex !important;
  min-height: 43px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border-radius: 9px !important;
  padding: 10px 21px !important;
  text-decoration: none !important;
  font-weight: 750 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  width: auto !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-actions :is(#bbp_topic_submit,#bbp_reply_submit) {
  border: 1px solid rgba(8,107,235,0.6) !important;
  background: #0c73f0 !important;
  color: #ffffff !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-actions .bsg-edit-cancel {
  border: 1px solid rgba(8,107,235,0.6) !important;
  background: #ffffff !important;
  color: #121f32 !important;
}
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-actions .bsg-edit-cancel:hover,
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-actions .bsg-edit-cancel:focus-visible {
  border-color: rgba(8,107,235,0.6) !important;
  color: #ffffff !important;
  background: #086beb !important;
}
@media(max-width:650px){
  body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready fieldset.bbp-form {padding: 12px !important;}
  body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-iv-panel__body,
  body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-field-content {padding: 14px !important;}
  body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-actions :is(#bbp_topic_submit,#bbp_reply_submit,.bsg-edit-cancel) {flex: 1 1 120px !important;}
}

/* The topic panel or reply fieldset provides the frame; do not draw a second one on the form. */
body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready > form {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}


/* 1.11.18 — Edit forms: light controls, readable context bar, resizable editor. */
html body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready :is(input[type=text],input[type=email],input[type=url],input[type=number],input[type=search],select),
html body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-the-content-wrapper textarea {
  background-color: #ffffff !important;
  color: #121f32 !important;
  -webkit-text-fill-color: #121f32 !important;
  border: 1px solid #cfe0f7 !important;
}
html body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready :is(input,select,textarea):focus {
  border-color: #086beb !important;
  box-shadow: 0 0 0 3px rgba(8,107,235,.14) !important;
}
html body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-edit-mode-context {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 12px !important;
}
html body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-edit-mode-context__label {
  color: #3f5a7d !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  letter-spacing: .06em !important;
}
html body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-edit-mode-context__title {
  color: #121f32 !important;
  font-weight: 700 !important;
}
html body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .bbp-edit-mode-context__badge {
  background: #086beb !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 2px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
html body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .sceditor-container textarea,
html body.bbpress .bsg-aurora-page--edit #bbpress-forums .bbp-edit-ui-ready .sceditor-container iframe {
  min-height: 150px !important;
}
/* Bigger, easier resize handle (mouse and touch) + height buttons */
html body.bbpress main.bsg-aurora-page .sceditor-grip {
  display: block !important;
  height: 14px !important;
  cursor: ns-resize !important;
  touch-action: none !important;
  background: #eaf4ff !important;
  border-top: 1px solid #cfe0f7 !important;
  position: relative;
}
html body.bbpress main.bsg-aurora-page .sceditor-grip::after {
  content: "";
  position: absolute; left: 50%; top: 5px; width: 44px; height: 3px; margin-left: -22px;
  border-radius: 3px; background: #086beb; opacity: .55;
}
