@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2"),
    url("../fonts/Montserrat-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2"),
    url("../fonts/Montserrat-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"),
    url("../fonts/Montserrat-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* -------- All Fetchub styles are now page-scoped only -------- */
body.toplevel_page_fetchub {
  overflow-x: hidden;
}
body.toplevel_page_fetchub .wrap.fetchub-settings {
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  letter-spacing: -0.0125em;
  color: #303030;
  padding: 16px;
  margin: 0 auto;
  overflow-x: hidden;
}
body.toplevel_page_fetchub .select2-dropdown {
  border: 1px solid #cbcbcc;
}
body.toplevel_page_fetchub .select2-container--default .select2-selection--multiple {
  border-radius: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #e8e8e8;
  background-color: #ffffffe0;
}
body.toplevel_page_fetchub .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #f6f7f7;
  border: 1px solid #cbcbcc;
}
body.toplevel_page_fetchub .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #394eff;
}
body.toplevel_page_fetchub .select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #f0f0f1;
  color: #919191;
}
body.toplevel_page_fetchub .select2-container--default .select2-selection--multiple {
  width: auto;
  min-width: 200px;
  min-height: 10px;
  height: auto !important;
  display: flex;
}
body.toplevel_page_fetchub .select2-container--default .select2-selection--multiple .select2-search__field {
  margin-top: 0;
  margin-bottom: 0;
}
body.toplevel_page_fetchub input.modern-file-upload {
  font: inherit;
  color: #444;
}
body.toplevel_page_fetchub input.modern-file-upload::file-selector-button {
  background-color: #ffffff;
  color: #394eff;
  box-shadow: inset 0 0 0 1px #4e5ffe;
  border: 0;
  padding: 0.5em 1em;
  margin-right: 0.5em;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 1em;
  transition: background-color 0.2s;
}
body.toplevel_page_fetchub input.modern-file-upload::file-selector-button:hover {
  background-color: #f1f2ff;
}
body.toplevel_page_fetchub input.modern-file-upload::file-selector-button:focus {
  outline: 2px solid #f1f2ff;
  outline-offset: 2px;
}
body.toplevel_page_fetchub input[type=email] {
  min-height: 35px;
}
body.toplevel_page_fetchub textarea.widefat {
  border-radius: 7px;
  width: 290px;
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub #wpbody-content {
    display: unset;
    justify-content: unset;
  }
}
body.toplevel_page_fetchub h1,
body.toplevel_page_fetchub h2,
body.toplevel_page_fetchub h3,
body.toplevel_page_fetchub h4,
body.toplevel_page_fetchub h5 {
  font-weight: 500;
  color: #202020;
}
body.toplevel_page_fetchub a {
  color: #666;
  text-decoration: none;
}
body.toplevel_page_fetchub a:hover {
  color: #2162a1;
  text-decoration: none;
}
body.toplevel_page_fetchub h1.fetchub-title {
  margin: 0 0 0 5px;
  text-align: center;
}
body.toplevel_page_fetchub .toggle-switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 24px;
}
body.toplevel_page_fetchub .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
body.toplevel_page_fetchub .toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff36;
  transition: 0.4s;
  border-radius: 24px;
}
body.toplevel_page_fetchub .toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 4px;
  background-color: white;
  transition: all 0.4s ease;
  border-radius: 50%;
}
body.toplevel_page_fetchub .toggle-switch input:checked + .slider {
  background-color: #ffffff78;
}
body.toplevel_page_fetchub .toggle-switch input:checked + .slider:before {
  transform: translateX(20px);
}
body.toplevel_page_fetchub .toggle-adv-switch {
  position: relative;
  display: inline-block;
  width: 41px;
  height: 21px;
}
body.toplevel_page_fetchub .toggle-adv-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
body.toplevel_page_fetchub .toggle-adv-switch .slider-adv {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #aeb3e0;
  transition: 0.4s;
  border-radius: 24px;
}
body.toplevel_page_fetchub .toggle-adv-switch .slider-adv:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: all 0.4s ease;
  border-radius: 50%;
}
body.toplevel_page_fetchub .toggle-adv-switch input:checked + .slider-adv {
  background-color: #394eff;
}
body.toplevel_page_fetchub .toggle-adv-switch input:checked + .slider-adv:before {
  transform: translateX(20px);
}
body.toplevel_page_fetchub input[type="checkbox"]:checked {
  background: #394eff;
  border: none;
}
body.toplevel_page_fetchub input[type="checkbox"]:checked::before {
  filter: brightness(0) saturate(0%) invert(100%) sepia(0%) saturate(500%)
    hue-rotate(0deg);
  margin: -0.1rem 0 0 -0.14rem;
  height: 1.3rem;
  width: 1.2rem;
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub input[type="checkbox"]:checked::before {
    filter: brightness(0) saturate(0%) invert(100%) sepia(0%) saturate(500%)
      hue-rotate(0deg);
    margin: -0.1rem 0 0 -0.14rem;
    height: 1.2rem;
    width: 1.2rem;
  }
}
@media screen and (max-width: 600px) {
  html.wp-toolbar {
    overflow: hidden;
  }
}
body.toplevel_page_fetchub .conf {
  padding: 15px 25px;
  border-radius: 8px;
  background: linear-gradient(-45deg, #4240d0, #550f5e, #01029c, #465aff);
  background-size: 400% 400%;
  animation: gradient 8s 
  linear(0.7 69%, 1 100%) infinite;
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub .conf {
    padding: 20px;
  }
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
body.toplevel_page_fetchub th.ai-model-text {
  color: #fff;
  font-weight: 500;
  font-size:15px;
}
body.toplevel_page_fetchub h2.ai-model-text {
  color: #fff;
}
body.toplevel_page_fetchub select.look-back {
  border-radius: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #cbcbcc;
  background-color: #ffffffe0;
}
body.toplevel_page_fetchub select.look-back {
  border: 1px solid #cbcbcc;
}
body.toplevel_page_fetchub input.regular-text,
body.toplevel_page_fetchub input[type="text"],
body.toplevel_page_fetchub input[type="number"],
body.toplevel_page_fetchub select[name^="feed_max_posts"],
body.toplevel_page_fetchub select[name^="feed_ai_model"],
body.toplevel_page_fetchub select[name^="feed_language"],
body.toplevel_page_fetchub select[name^="feed_type"] {
  border-radius: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #e8e8e8;
  background-color: #ffffffe0;
}
@media screen and (max-width: 767px) {
body.toplevel_page_fetchub input.rss-feed-url {
  width: 320px !important;
  max-width: 400px;
  }
}
body.toplevel_page_fetchub input[type="checkbox"] {
  border-radius: 3px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #cbcbcc;
  background-color: #ffffffe0;
  box-shadow: none;
}
body.toplevel_page_fetchub input[type="checkbox"]:focus {
  border-color: #cbcbcc;
  box-shadow: none;
  outline: none;
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub input[type="checkbox"],
  body.toplevel_page_fetchub input[type="radio"] {
    height: 1rem;
    width: 1rem;
  }
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub input[type="radio"]:checked:before {
    margin: 0.27rem;
  }
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub p.header-buttons {
    text-align: center;
  }
}
body.toplevel_page_fetchub button.button.fetchub-show-adv,
body.toplevel_page_fetchub button.button.fetchub-fetch-feed,
body.toplevel_page_fetchub button.button.fetchub-stop-feed,
body.toplevel_page_fetchub button.button.remove-feed-row,
body.toplevel_page_fetchub button.button.duplicate-feed-row {
  border-radius: 50%;
  width: 33px;
  height: 33px;
  border: unset;
  color: #202020;
  font-size: 15px;
}
body.toplevel_page_fetchub button.button.fetchub-show-adv:hover,
body.toplevel_page_fetchub button.button.fetchub-fetch-feed:hover,
body.toplevel_page_fetchub button.button.fetchub-stop-feed:hover,
body.toplevel_page_fetchub button.button.duplicate-feed-row:hover {
  color: #000;
  font-weight: 600;
  scale: 1.1;
}
body.toplevel_page_fetchub button.button.fetchub-show-adv:focus,
body.toplevel_page_fetchub button.button.fetchub-stop-feed:focus,
body.toplevel_page_fetchub button.button.fetchub-fetch-feed:focus,
body.toplevel_page_fetchub button.button.duplicate-feed-row:focus {
  outline: none;
  box-shadow: none;
  color: #794eff;
  font-weight: 600;
}
body.toplevel_page_fetchub button.button.remove-feed-row:hover {
  color: #eb002c;
  font-weight: 600;
  box-shadow: inset 0 0 0 2px #eb002c;
  scale: 1.1;
}
body.toplevel_page_fetchub button.button.remove-feed-row:focus {
  outline: none;
  box-shadow: none;
}
body.toplevel_page_fetchub .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary[disabled] {
    color: #3a4fff !important;
    background: #e8e8e8!important;
    box-shadow: inset 0 0 0 1px #ffffff!important;
}
body.toplevel_page_fetchub .tooltip-btn {
  position: relative;
  cursor: pointer;
}
body.toplevel_page_fetchub .tooltip-btn .tooltip-text {
  visibility: hidden;
  background-color: #2b2b2d;
  color: #fff;
  text-align: center;
  padding: 3px;
  border-radius: 4px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  white-space: normal;
  max-width: 170px;
  width: 159px;
  word-wrap: break-word;
  font-size: 11px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 999;
  line-height: 1.5em;
}
body.toplevel_page_fetchub .tooltip-btn:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
body.toplevel_page_fetchub .info-tooltip {
  position: relative;
  cursor: pointer;
}
body.toplevel_page_fetchub .info-tooltip .info-tooltip-text {
  visibility: hidden;
  background-color: #2b2b2d;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 4px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 999;
}
body.toplevel_page_fetchub .info-tooltip:hover .info-tooltip-text {
  visibility: visible;
  opacity: 1;
}
body.toplevel_page_fetchub .info-ai-tooltip {
  position: relative;
  cursor: pointer;
  color: #fff;
}
body.toplevel_page_fetchub .info-ai-tooltip .info-ai-tooltip-text {
  visibility: hidden;
  background-color: #fff;
  color: #2b2b2d;
  text-align: center;
  padding: 5px 10px;
  border-radius: 4px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  white-space: normal;
  font-size: 12px;
  width: 185px;
  word-wrap: break-word;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 999;
}
body.toplevel_page_fetchub .info-ai-tooltip:hover .info-ai-tooltip-text {
  visibility: visible;
  opacity: 1;
}
body.toplevel_page_fetchub .info-sl-tooltip {
  position: relative;
  cursor: pointer;
}
body.toplevel_page_fetchub .info-sl-tooltip .info-sl-tooltip-text {
  visibility: hidden;
  background-color: #2b2b2d;
  color: #fff;
  text-align: center;
  padding: 7px;
  border-radius: 4px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  white-space: normal;
  width: 250px;
  word-wrap: break-word;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 999;
}
body.toplevel_page_fetchub .info-sl-tooltip:hover .info-sl-tooltip-text {
  visibility: visible;
  opacity: 1;
}
body.toplevel_page_fetchub .info-tooltip svg {
  filter: brightness(0) saturate(20%) invert(35%) sepia(0%) saturate(500%)
    hue-rotate(-150deg);
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub .info-tooltip .info-tooltip-text {
    bottom: -160%;
  }
}
body.toplevel_page_fetchub table#fetchub-feeds-table {
  border: none;
  padding: 10px 10px 25px 10px;
  border-radius: 8px;
  box-shadow: none;
}
body.toplevel_page_fetchub .widefat thead tr th {
  color: #202020;
}
body.toplevel_page_fetchub .widefat thead th {
  border-bottom: 1px solid #2b2b2d1a;
}
body.toplevel_page_fetchub textarea {
  border: none;
  padding: 10px;
  border-radius: 10px;
  height: 120px;
  box-shadow: 0 0 0 1px #4040421a;
  background: #ffffffe0;
}
body.toplevel_page_fetchub td.fetchub-adv-inner {
  background: rgb(245, 247, 247);
  background: linear-gradient(
    0deg,
    rgba(245, 247, 247, 1) 20%,
    rgb(233 238 255) 40%,
    rgba(245, 247, 247, 1) 45%,
    rgba(245, 247, 247, 1) 55%,
    rgb(227 243 255) 65%,
    rgba(245, 247, 247, 1) 80%
  );
  padding: 0 20px 15px 20px !important;
  border-radius: 6px;
}
body.toplevel_page_fetchub h2.feed-conf-text {
  margin: 30px 0 0 20px;
}
body.toplevel_page_fetchub p.feed-conf-desc {
  margin-left: 20px;
}
body.toplevel_page_fetchub button#fetchub-fetch-all-btn {
  background: #2b2b2d;
  border: none;
  border-radius: 50px;
  padding: 5px 20px;
  font-weight: 500;
}
body.toplevel_page_fetchub button#fetchub-fetch-all-btn:focus {
  outline: none;
  box-shadow: none;
}
body.toplevel_page_fetchub button#fetchub-fetch-all-btn:hover {
  background: #414041;
}
body.toplevel_page_fetchub button#fetchub-stop-all-btn {
  background: #fff;
  border-radius: 50px;
  padding: 5px 20px;
  color: #394eff;
  border: none;
  font-weight: 500;
}
body.toplevel_page_fetchub button#fetchub-stop-all-btn:hover {
  background: #e8e8e8;
  color: #202020;
  box-shadow: inset 0 0 0 1px #ffffff;
}
body.toplevel_page_fetchub button#fetchub-stop-all-btn:focus {
  outline: none;
  box-shadow: none;
  color: #202020;
}
body.toplevel_page_fetchub button#add-feed-row {
  background: #fff;
  border-radius: 50px;
  padding: 5px 20px;
  color: #394eff;
  border: none;
  font-weight: 500;
  margin-top: 5px;
}
body.toplevel_page_fetchub button#add-feed-row:hover {
  background: #e8e8e8;
  color: #202020;
  box-shadow: inset 0 0 0 1px #ffffff;
}
body.toplevel_page_fetchub button#add-feed-row:focus {
  outline: none;
  box-shadow: none;
  color: #202020;
}
body.toplevel_page_fetchub .footer-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: space-between;
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub .footer-buttons {
    justify-content: center;
  }
}
body.toplevel_page_fetchub input.smart-logic-checkbox,
body.toplevel_page_fetchub input.smart-block-words,
body.toplevel_page_fetchub select.language-footer-select {
  margin-left: 5px;
  border: none;
}
body.toplevel_page_fetchub input#fetchub_submit {
  background: #394eff;
  border: none;
  border-radius: 50px;
  padding: 5px 20px;
  font-weight: 600;
}
body.toplevel_page_fetchub input#fetchub_submit:focus {
  outline: none;
  box-shadow: none;
}
body.toplevel_page_fetchub input#fetchub_submit:hover {
  background: #4e5ffe;
}
body.toplevel_page_fetchub input#fetchub_submit-red {
  background: #ff0041;
  border: none;
  border-radius: 50px;
  padding: 5px 20px;
  font-weight: 500;
}
body.toplevel_page_fetchub input#fetchub_submit-red:focus {
  outline: none;
  box-shadow: none;
}
body.toplevel_page_fetchub input#fetchub_submit-red:hover {
  background: #f1003c;
}
body.toplevel_page_fetchub .button.button-secondary {
  background: #fff;
  border-radius: 50px!important;
  padding: 5px 20px;
  color: #414041;
  border: none;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px #e8e8e8;
}
body.toplevel_page_fetchub .button.button-secondary:hover {
  background: #414041;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff;
}
body.toplevel_page_fetchub .button.button-secondary:focus {
  outline: none;
  box-shadow: none;
}
body.toplevel_page_fetchub input#submit {
  background: #394eff;
  border: none;
  border-radius: 50px;
  padding: 5px 20px;
  font-weight: 500;
  color: #fff;
}
body.toplevel_page_fetchub input#submit:focus {
  outline: none;
  box-shadow: none;
}
body.toplevel_page_fetchub input#submit:hover {
  background: #4e5ffe;
}
body.toplevel_page_fetchub .adv-footer-options {
  background: linear-gradient(-45deg, #4240d0, #550f5e, #01029c, #465aff);
  background-size: 400% 400%;
  animation: gradient 10s
    linear(
      0 0%,
      0 2.27%,
      0.02 4.53%,
      0.04 6.8%,
      0.06 9.07%,
      0.1 11.33%,
      0.14 13.6%,
      0.25 18.15%,
      0.39 22.7%,
      0.56 27.25%,
      0.77 31.8%,
      1 36.35%,
      0.89 40.9%,
      0.85 43.18%,
      0.81 45.45%,
      0.79 47.72%,
      0.77 50%,
      0.75 52.27%,
      0.75 54.55%,
      0.75 56.82%,
      0.77 59.1%,
      0.79 61.38%,
      0.81 63.65%,
      0.85 65.93%,
      0.89 68.2%,
      1 72.7%,
      0.97 74.98%,
      0.95 77.25%,
      0.94 79.53%,
      0.94 81.8%,
      0.94 84.08%,
      0.95 86.35%,
      0.97 88.63%,
      1 90.9%,
      0.99 93.18%,
      0.98 95.45%,
      0.99 97.73%,
      1 100%
    )
    infinite;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  color: white;
}
body.toplevel_page_fetchub .fetchub-responsive-table {
  width: 100%;
  border-radius: 8px;
}
body.toplevel_page_fetchub .fetchub-responsive-table table {
  width: 100%;
}
body.toplevel_page_fetchub .fetchub-responsive-table th,
body.toplevel_page_fetchub .fetchub-responsive-table td {
  padding: 10px;
  text-align: left;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub .fetchub-responsive-table {
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub button.button.fetchub-show-adv,
  body.toplevel_page_fetchub button.button.fetchub-fetch-feed,
  body.toplevel_page_fetchub button.button.fetchub-stop-feed,
  body.toplevel_page_fetchub button.button.remove-feed-row,
  body.toplevel_page_fetchub button.button.duplicate-feed-row {
    width: 42px;
  }
}
body.toplevel_page_fetchub img {
  width: 15px;
}
body.toplevel_page_fetchub td.status-checkbox {
  padding-top: 16px;
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub td.status-checkbox {
    padding-top: 20px;
  }
}
body.toplevel_page_fetchub .select2-container--default .select2-selection--multiple {
  width: 200px;
}
body.toplevel_page_fetchub .ai-settings-container {
  display: flex;
  gap: 20px;
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub .ai-settings-container {
    flex-wrap: wrap;
    width: 550px;
  }
}
body.toplevel_page_fetchub .ai-settings-left {
  width: 55%;
}
body.toplevel_page_fetchub .ai-settings-right {
  width: 45%;
}
body.toplevel_page_fetchub div#general_advanced_container {
  color: #fff;
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub div#general_advanced_container {
    width: 320px;
  }
}
body.toplevel_page_fetchub th.gcpt,
body.toplevel_page_fetchub th.gcpc,
body.toplevel_page_fetchub th.skip-patterns {
  color: #fff;
  width: 210px;
  font-size: 15px;
}
@media screen and (max-width: 767px) {
  body.toplevel_page_fetchub th.gcpt,
  body.toplevel_page_fetchub th.gcpc,
  body.toplevel_page_fetchub th.skip-patterns {
    color: #fff;
    width: 100%;
    margin: 5px 0;
  }
}
body.toplevel_page_fetchub .notice {
    border-radius: 4px;
    background: #ececec;
    border: 1px solid #ddd;
    border-left-color: #ffa03a;
    border-left-width: 4px;
    box-shadow: none;
}
body.toplevel_page_fetchub .notice.notice-success {
    border-radius: 4px;
    background: #ececec;
    border: 1px solid #ddd;
    border-left-color: #3a4fff;
    border-left-width: 4px;
    box-shadow: none;
}
body.toplevel_page_fetchub .notice.notice-success.is-dismissible {
    border-radius: 4px;
    background: #ececec;
    border: 1px solid #ddd;
    border-left-color: #394eff;
    border-left-width: 4px;
    box-shadow: none;
}
body.toplevel_page_fetchub .notice.notice-error.is-dismissible {
    border-radius: 4px;
    background: #ececec;
    border: 1px solid #ddd;
    border-left-color: #ff0041;
    border-left-width: 4px;
    box-shadow: none;
}
body.toplevel_page_fetchub .import-json {
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  justify-content: space-between;
}
body.toplevel_page_fetchub .export-json {
  border: 1px solid #fff;
  padding: 20px;
  border-radius: 10px;
  background: #e8e8e8;
}
body.toplevel_page_fetchub .revoke-token {
  background: #f9f2f2;
  padding: 30px 20px;
  border: 1px solid #ffb7ca;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* POST-LIST PAGE (edit.php): label pill only */
body.edit-php .column-fetchub_feed_label .fetchub-label-pill {
  display: inline-block;
  background: #394eff;
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}

body.toplevel_page_fetchub .advanced-first {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

/* Logs */
body.toplevel_page_fetchub .fetchub-logs-list {
  max-height: 450px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 10px;
  background: #ececec;
}

body.toplevel_page_fetchub .fetchub-log-entry {
  margin-bottom: 10px;
}

body.toplevel_page_fetchub .fetchub-log-entry details {
  border: 1px solid #ddd;
  border-radius: 7px;
}

body.toplevel_page_fetchub .fetchub-log-entry details summary {
  padding: 8px;
  font-weight: bold;
  cursor: pointer;
}

body.toplevel_page_fetchub .fetchub-log-entry pre {
  margin: 0;
  padding: 8px;
  max-height: 200px;
  overflow-y: auto;
}
body.toplevel_page_fetchub .fetchub-no-logs {
  max-height: 450px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 10px;
  background: #ececec;
  border: 1px solid #ddd;
}
body.toplevel_page_fetchub .fetchub-logs-header {
    margin: 30px 0 0 20px;
}
body.toplevel_page_fetchub .fetchub-log-toggle {
    margin: 10px 0 10px 0;
}
body.toplevel_page_fetchub .toggle-adv-switch {
  position: relative;
  display: inline-block;
  width: 41px;
  height: 21px;
}

body.toplevel_page_fetchub .toggle-adv-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

body.toplevel_page_fetchub .slider-logs {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

body.toplevel_page_fetchub .slider-logs:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: all 0.4s ease;
  border-radius: 50%;
}

body.toplevel_page_fetchub .toggle-adv-switch input:checked + .slider-logs {
  background-color: #394eff;
}

body.toplevel_page_fetchub .toggle-adv-switch input:checked + .slider-logs:before {
  transform: translateX(20px);
}
body.toplevel_page_fetchub p.fetchub-logs-desc {
  margin-left: 20px;
}
body.toplevel_page_fetchub code {
    border-radius: 4px;
    background: #ddd;
}
body.toplevel_page_fetchub #fetchub-cron-table-wrap, #fetchub-cron-table {
    max-height: 450px;
    overflow-y: auto;
    border-radius: 10px;
    background: #ececec!important;
}
body.toplevel_page_fetchub #fetchub-cron-table th {
    background: #e4e4e4 !important;
    text-wrap-mode: nowrap;
}
body.toplevel_page_fetchub #fetchub-cron-refresh.button.button-primary, #fetchub-logs-refresh.button.button-primary {
  background: #394eff;
  border: none;
  border-radius: 50px;
  padding: 5px 20px;
  font-weight: 500;
  color: #ffffff;
}
body.toplevel_page_fetchub #fetchub-cron-refresh.button.button-primary:focus, #fetchub-logs-refresh.button.button-primary:focus {
  outline: none;
  box-shadow: none;
}
body.toplevel_page_fetchub #fetchub-cron-refresh.button.button-primary:hover, #fetchub-logs-refresh.button.button-primary:hovet {
  background: #4e5ffe;
}
body.toplevel_page_fetchub .button.button-small {
    background: #fff;
    border-radius: 50px !important;
    padding: 3px 18px;
    color: #414041;
    border: none;
    font-weight: 500;
    box-shadow: inset 0 0 0 1px #e8e8e8;
    font-size: 12px;
}
body.toplevel_page_fetchub .button.button-small:hover {
  background: #414041;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff;
}
body.toplevel_page_fetchub .button.button-small:focus {
  outline: none;
  box-shadow: none;
}
@media screen and (max-width: 767px) {
    body.toplevel_page_fetchub .cron-buttons,
    body.toplevel_page_fetchub .fetchub-log-toggle {
        flex-wrap: nowrap !important;
        gap: 4px !important;
        justify-content: space-evenly;
    }
}
@media (max-width: 767px) {
    body.toplevel_page_fetchub .cron-buttons,
    body.toplevel_page_fetchub .fetchub-log-toggle {
    zoom: 0.85; 
  }
}
body.toplevel_page_fetchub .button-group {
    display: inline-flex;
    flex-direction: row;
    gap: 8px;
}
body.toplevel_page_fetchub .fj-cron-table-wrap {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: auto;
}
body.toplevel_page_fetchub #fetchub-cron-table .fj-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff; /* match admin bg */
}
body.toplevel_page_fetchub input.fj-min {
    font-size: 13px;
    width: 50px;
    min-height: 30px;
}
body.toplevel_page_fetchub td.actions {
    text-align: right;
}
body.toplevel_page_fetchub td.job, 
body.toplevel_page_fetchub td.nexttext, td.scheduletext {
    text-wrap-mode: nowrap;
}
body.toplevel_page_fetchub td.argument {
    max-width: 320px;
}
body.toplevel_page_fetchub th.actions-head {
    border-top-right-radius: 6px;
}
body.toplevel_page_fetchub th.checkbox-head {
    border-top-left-radius: 6px;
}
body.toplevel_page_fetchub table.widefat {
    border: 1px solid #ddd;
}
@media (max-width: 767px) {
body.toplevel_page_fetchub td.recurring {
    text-wrap-mode: nowrap;
    }
}

body.toplevel_page_fetchub a.button.button-secondary.fj-filter:active {
  background: #2b2b2d;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff;
  transform: translateY(1px);
}

body.toplevel_page_fetchub a.button.button-secondary.fj-filter.is-active,
body.toplevel_page_fetchub a.button.button-secondary.fj-filter[aria-pressed="true"] {
  background: #2b2b2d;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px #2b2b2d;
}

body.toplevel_page_fetchub a.button.button-secondary.fj-filter.is-active:hover,
body.toplevel_page_fetchub a.button.button-secondary.fj-filter[aria-pressed="true"]:hover {
  background: #2b2b2d;
  color: #ffffff;
}

body.toplevel_page_fetchub a.button.button-secondary.fj-filter:focus-visible {
  outline: 2px solid #2b2b2d;
  outline-offset: 2px;
}
body.toplevel_page_fetchub .fetchub-cron-health-list {
    background: #ececec;
    border-radius: 10px;
    padding: 10px;
    line-height: 1.8em;
}
body.toplevel_page_fetchub dd, 
body.toplevel_page_fetchub li {
    margin-bottom: 0;
}
body.toplevel_page_fetchub .fetchub-responsive-table {
    position: relative;
    max-height: 670px;
    overflow: hidden;
}

@media (max-width: 767px) {
body.toplevel_page_fetchub .fetchub-responsive-table {
    max-height: 780px;
    overflow: hidden;
    }
}

body.toplevel_page_fetchub .fetchub-responsive-table > .fetchub-table-scroll {
    max-height: inherit;
    overflow-x: hidden;
}

@media (max-width: 767px) {
body.toplevel_page_fetchub .fetchub-responsive-table > .fetchub-table-scroll {
    overflow-x: auto;
    }
}

body.toplevel_page_fetchub .fetchub-responsive-table > table,
body.toplevel_page_fetchub .fetchub-responsive-table > .wp-list-table {
    display: block;
    max-height: inherit;
    overflow: auto;
    width: 100%;
}

body.toplevel_page_fetchub .fetchub-responsive-table::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(to top, #fff 0%, rgba(255,255,255,0) 100%);
    z-index: 2;
    pointer-events: none;
}

body.toplevel_page_fetchub thead.feed-rows-header {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

@media (max-width: 767px) {
  body.toplevel_page_fetchub .fetchub-toggle-label {
    display: none !important;
  }
}

body.toplevel_page_fetchub input.fetchub-uninstall-item,
body.toplevel_page_fetchub input#fetchub-uninstall-all {
    margin-top: 3px;
}
body.toplevel_page_fetchub .fetchub-accordion {
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #ececec;
  overflow: clip;
}

body.toplevel_page_fetchub .fetchub-accordion[open] .fetchub-accordion__summary {
  border-bottom: 1px solid #ddd;
}

body.toplevel_page_fetchub .fetchub-accordion__summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

body.toplevel_page_fetchub .fetchub-accordion__summary:focus-visible {
    outline-style: none;
}

body.toplevel_page_fetchub .fetchub-accordion__summary::-webkit-details-marker {
  display: none;
}

body.toplevel_page_fetchub .fetchub-accordion__chev {
  transition: transform .2s ease;
  font-size: 18px;
  line-height: 1;
}

body.toplevel_page_fetchub .fetchub-accordion[open] .fetchub-accordion__chev {
  transform: rotate(180deg);
}

body.toplevel_page_fetchub .fetchub-accordion__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

body.toplevel_page_fetchub .fetchub-accordion__label-collapse {
  display: none;
}

body.toplevel_page_fetchub .fetchub-accordion[open] .fetchub-accordion__label-expand {
  display: none;
}

body.toplevel_page_fetchub .fetchub-accordion[open] .fetchub-accordion__label-collapse {
  display: inline;
}

body.toplevel_page_fetchub .fetchub-uninstall-content {
  padding: 12px;
}
body.toplevel_page_fetchub a.button.button-primary.button-hero {
    background: #394eff;
    border: none;
    border-radius: 50px;
    font-weight: 600; 
    padding: 0 30px;
}
body.toplevel_page_fetchub input#fetchub_cancel_pending {
    background: #ff0041;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    padding: 9px 40px;
}
@media (max-width: 767px) {
body.toplevel_page_fetchub input#fetchub_cancel_pending {
    padding: 3px 90px!important;
    }
}
@media (max-width: 767px) {
body.toplevel_page_fetchub .back-auth {
    gap: 0!important;
    }
}