.ea4v-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.ea4v-1-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.ea4v-2-cols > div,
.ea4v-1-col > div {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.ea4v-2-cols .file-config {
  padding-top: 61px;
}

@media (min-width: 1025px) {
  .ea4v-texteditor-popup .ts-popup-root {
    background-color: #0000001f;
    position: fixed !important;
  }

  .ea4v-texteditor-popup .ts-field-popup-container {
    width: 1200px;
    max-width: 90vw;
  }
  .ea4v-texteditor-popup .ts-popup-content-wrapper {
    height: 550px;
    max-height: 90vh;
    max-height: 90dvh;
  }
}
@media (max-width: 850px) {
  .ea4v-2-cols {
    grid-template-columns: 1fr;
  }
  .ea4v-2-cols .file-config {
    padding-top: 0px;
  }
}

@media (max-width: 768px) {
  .toolbar-container {
    display: block !important;
  }
  .mce-container,
  .mce-container *,
  .mce-widget,
  .mce-widget *,
  .mce-reset {
    white-space: wrap;
  }
  .ts-form-group .mce-container,
  .ts-form-group .mce-container-body {
    height: 88px !important;
  }
  .ts-form-group .mce-btn {
    margin-top: 5px;
  }
}

a.ea4v-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #232323;
}
a.ea4v-inline-btn svg {
  width: 20px;
}

.ts-file-list {
  cursor: pointer;
}

div#_toolbar-content {
  position: sticky !important;
  top: 0 !important;
  z-index: 99;
  /* padding-top: 85px; */
  background: white;
  margin-bottom: 0 !important;
  padding: 12px 0 !important;
}

.ea4v-texteditor-popup .ts-popup-controller ul li:last-child {
  margin-left: unset !important;
}
.ea4v-texteditor-popup .ts-popup-controller ul li.first-btn {
  margin-left: auto;
}

.ts-filter-wrapper.flexify.ea4v-openai-content-settings > div {
  flex: 1;
  flex-wrap: wrap;
}

@media (max-width: 500px) {
  .ts-filter-wrapper.flexify.ea4v-openai-content-settings > div {
    flex-basis: 100%;
  }
  .ts-filter-wrapper.flexify.ea4v-openai-content-settings {
    gap: 13px;
  }
}

.ea4v-ai-generated-content {
  line-height: 1.5;
  font-size: 16px;
}

.ea4v-ai-subhead {
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  color: #4f4f4f;
  letter-spacing: -0.3px;
  border-bottom: 1px solid #0000001a;
  padding-bottom: 10px;
}

@media (max-width: 1024px) {
  .ea4v-texteditor-popup .ts-field-popup-container {
    max-width: 100vw !important;
  }
  .ea4v-texteditor-popup .ts-popup-content-wrapper {
    max-height: 100vh !important;
    max-height: 100dvh !important;
  }
}

.ts-form-group.ea4v-create-post-schedule {
  margin-bottom: 10px;
  width: 100%;
}
