@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
/*
-----------------------------------------
CSP STYLE 
-----------------------------------------
*/
.aae-csp {
  /*
  -------------------------------------
  COLOR PLATES
  -------------------------------------

  */
  --white: #ffffff;
  --off-white: #E1E4EA;
  --deep-navy: #181B25;
  --cool-gray: #525866;
  --steel-gray: #717784;
  --vibrant-mint: #4ADE80;
  --theme-bg: #FC6848;
  font-family: "Inter", sans-serif;
  padding: 58px 47px;
}
@media (max-width: 991px) {
  .aae-csp {
    padding: 15px 0;
    padding-inline-end: 10px;
  }
}
.aae-csp * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.3s ease-in-out;
}
.aae-csp p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--deep-navy);
}
.aae-csp a {
  color: var(--deep-navy);
}
.aae-csp .priority-value {
  text-align: center;
  font-weight: 600;
  color: var(--theme-bg);
  border: 1px solid var(--off-white);
  padding: 5px 15px;
}
.aae-csp .priority-value:focus {
  border-color: var(--vibrant-mint);
  outline: 0;
  box-shadow: none;
}
.aae-csp .CodeMirror-gutter-wrapper {
  left: -38px !important;
}
.aae-csp .select2-selection {
  border-color: var(--off-white);
}
.aae-csp .select2-selection:focus {
  border-color: var(--vibrant-mint) !important;
}
.aae-csp .select2-container--default .select2-selection--multiple.select2-selection--clearable {
  padding-right: 25px;
  max-height: 170px;
  overflow-y: scroll;
  padding-bottom: 10px;
}

.aae-csp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 15px;
}
.aae-csp-top__start {
  display: flex;
  align-items: center;
  gap: 20px;
}
.aae-csp-top__backward-btn {
  border: 1px solid var(--steel-gray);
  height: 46px;
  width: 46px;
  border-radius: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.aae-csp-top__backward-btn svg {
  position: relative;
  z-index: 2;
}
.aae-csp-top__backward-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0);
  height: 100%;
  width: 100%;
  background-color: var(--theme-bg);
  transition: 0.3s ease;
  border-radius: 75px;
}
.aae-csp-top__backward-btn:hover {
  border-color: transparent;
}
.aae-csp-top__backward-btn:hover svg path {
  fill: var(--white);
}
.aae-csp-top__backward-btn:hover::before {
  transform: scale(1);
}
.aae-csp-top__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  color: var(--deep-navy);
  margin-bottom: 4px;
}
.aae-csp-top__text {
  font-weight: 400;
}
.aae-csp-top__end {
  display: flex;
  gap: 6px;
}
.aae-csp-top__tools-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--off-white);
  box-shadow: 0 1px 4px rgba(10, 13, 20, 0.03);
  border-radius: 10px;
  text-decoration: none;
  gap: 5px;
  cursor: pointer;
}
.aae-csp-top__tools-btn:hover {
  color: rgb(252, 104, 72);
  background-color: rgb(254, 225, 218);
  border-color: rgba(252, 104, 72, 0.2);
}
.aae-csp-top__tools-btn:hover svg path {
  stroke: var(--theme-bg);
}

.aae-csp-main {
  display: grid;
  grid-template-columns: 436px 1fr;
  gap: 24px;
}
@media (max-width: 1200px) {
  .aae-csp-main {
    grid-template-columns: 1fr;
  }
}
.aae-csp-main select {
  width: 100%;
  border: 1px solid var(--off-white);
  height: 43px;
  margin-bottom: 3px;
  border-radius: 8px;
}
.aae-csp-main select:focus {
  border: 1px solid var(--vibrant-mint);
  outline: 0;
  box-shadow: none;
}
.aae-csp-main .aae-csp-aside__label {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--deep-navy);
  display: block;
  margin-bottom: 10px;
}
.aae-csp-main .aae-csp-aside__input {
  border: 1px solid var(--off-white);
  height: 43px;
  margin-bottom: 3px;
}
.aae-csp-main .aae-csp-aside__input:focus {
  border: 1px solid var(--vibrant-mint);
  outline: 0;
  box-shadow: none;
}
.aae-csp-main .aae-csp-aside__help-text {
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: var(--cool-gray);
  margin-top: 14px;
  display: block;
}

.aae-csp-widget {
  background-color: var(--white);
  padding: 24px;
  border-radius: 8px;
}
.aae-csp-widget:not(:last-child) {
  margin-bottom: 20px;
}

.aae-csp-active__status {
  display: inline-block;
  padding: 6px 21px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 16px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  color: var(--vibrant-mint);
  text-transform: capitalize;
  margin-bottom: 8px;
}
.aae-csp-active__status.inactive {
  background-color: rgb(254, 225, 218);
  color: rgb(252, 104, 72);
}
.aae-csp-active__status.inactive span::before {
  background-color: rgb(252, 104, 72);
}
.aae-csp-active__status span {
  position: relative;
}
.aae-csp-active__status span::before {
  position: absolute;
  content: "";
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  width: 4px;
  background-color: var(--vibrant-mint);
  border-radius: 75px;
}
.aae-csp-active__label {
  font-weight: 500;
}
.aae-csp-active__input-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.aae-csp-active__title-group {
  display: flex;
  flex-direction: column;
}

.aae-csp-visibility {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.aae-csp-visibility__visibility-pages {
  margin-top: 10px;
}

.aae-csp-editor {
  background-color: var(--white);
  padding: 24px;
  border-radius: 8px;
}
.aae-csp-editor__field-group {
  margin-bottom: 24px;
}
.aae-csp-editor select {
  width: 161px;
}
.aae-csp-editor .code-editor-wrapper {
  height: 528px;
  width: 100%;
  border: 1px solid #E2E8F0;
  background: rgba(248, 250, 252, 0.3137254902);
}
@media (max-width: 1200px) {
  .aae-csp-editor .code-editor-wrapper {
    height: 300px;
  }
}
.aae-csp-editor .code-editor-wrapper:focus {
  border-color: var(--vibrant-mint);
  box-shadow: none;
  outline-width: 0;
}
@media (max-width: 1200px) {
  .aae-csp-editor .CodeMirror {
    height: 300px;
  }
}
.aae-csp-editor__mode {
  display: inline-flex;
  gap: 8px;
  margin-inline-end: 10px;
}
.aae-csp-editor-top__text {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
  color: var(--deep-navy);
  flex-wrap: wrap;
}
.aae-csp-editor-top__text span {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: var(--cool-gray);
}
.aae-csp-editor__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 15px;
}
.aae-csp-editor__wordcount {
  display: flex;
  gap: 5px;
}
.aae-csp-editor__wordcount li {
  font-size: 12px;
  color: var(--cool-gray);
}
.aae-csp-editor__insertBtn {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel-gray);
  background: #F5F7FA;
  border-radius: 8px;
  padding: 9px 21px;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
}
.aae-csp-editor__insertBtn:hover {
  color: rgb(252, 104, 72);
  background-color: rgb(254, 225, 218);
  border-color: rgba(252, 104, 72, 0.2);
}
.aae-csp-editor__insertBtn:hover svg path {
  stroke: rgb(252, 104, 72);
}

.aae-csp-editor-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 15px;
}
.aae-csp-editor-top__end {
  display: flex;
  align-items: center;
  gap: 6px;
}

.aae-csp-priority-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.priority-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 3px;
  outline: none;
  margin-top: 10px;
  background-color: #F1F5F9;
}
.priority-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--theme-bg);
  cursor: pointer;
  box-shadow: none;
}

.notification {
  right: 3.5% !important;
  background-color: #4ade80 !important;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px !important;
  padding: 10px 15px !important;
  font-size: 12px !important;
}

.animation-addon_page_wcf-code-snippet .is-dismissible {
  width: 14.5%;
  margin-top: 10px;
  border-color: #E1E4EA;
  border-left-color: rgb(74, 222, 128);
  padding: 6px 15px;
  position: absolute !important;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  transition: unset !important;
}

.wcf-admin-page-content .is-dismissible {
  transform: unset !important;
}

/*
----------------------------------
CHECK BUTTON STYLE
----------------------------------
*/
.checkbox-wrapper-6 .tgl {
  display: none;
}

.checkbox-wrapper-6 .tgl + .tgl-btn {
  outline: 0;
  display: block;
  width: 36px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.checkbox-wrapper-6 .tgl + .tgl-btn:after,
.checkbox-wrapper-6 .tgl + .tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 16px;
  height: 16px;
}

.checkbox-wrapper-6 .tgl + .tgl-btn:after {
  left: 0;
}

.checkbox-wrapper-6 .tgl + .tgl-btn:before {
  display: none;
}

.checkbox-wrapper-6 .tgl:checked + .tgl-btn:after {
  left: 50%;
}

.checkbox-wrapper-6 .tgl-light + .tgl-btn {
  background: rgb(254, 225, 218);
  border-radius: 2em;
  padding: 2px;
  transition: all 0.4s ease;
}

.checkbox-wrapper-6 .tgl-light + .tgl-btn:after {
  border-radius: 50%;
  background: var(--white);
  transition: all 0.2s ease;
}

.checkbox-wrapper-6 .tgl-light:checked + .tgl-btn {
  background: var(--vibrant-mint);
}

#php-version-notice {
  color: var(--theme-bg);
  font-weight: 600;
  font-style: italic;
  text-transform: lowercase;
}
#php-version-notice strong {
  color: var(--vibrant-mint);
}

.wcf-code-loading {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
  cursor: pointer;
}

.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 6px solid #ddd;
  border-top: 6px solid #f6502c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  background: unset;
  visibility: visible;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}