/**
 * All of the CSS for admin-specific functionality
 */

 .editor-styles-wrapper .wp-block.ai-loading {
	animation: animate 1.5s linear infinite;
}

@keyframes animate {
	0% {
		opacity: 0.7;
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 0.7;
	}
}

.toplevel_page_ai-text-enhancer-settings {
  --color-primary: #9725c9;

  #wpcontent {
    padding: 0 !important;
  }

  .wrap {
    margin: 0;
    padding: 0;
    overflow-x: auto!important;

    .aite-notice-container {
      h1 {
        display: none;
      }

      .notice {
        margin-left: 30px;
        margin-right: 30px;
      }
    }

    .aite_settings_intro {
      background: linear-gradient(-45deg, rgb(30, 14, 41), rgb(9, 9, 9));
      color: #fff;
      padding: 30px;
      margin-bottom: 30px;
      display: flex;
      gap: 50px;

      .content-text {
        flex-basis: 50%;

        h1 {
          color: #9725c9;
          background: linear-gradient(-107deg, #7d0e49 0, #6381f0 100%);
          background-clip: text;
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          font-size: 37px;
          font-weight: 800;

          span {
            display: inline-block;
            padding: 0 10px;
            border-radius: 4px;
            background: red;
            color: #fff;
            -webkit-text-fill-color: white;
          }
        }

        .aite_p_big {
          font-size: 1.2rem;
        }

        h2 {
          color: #fff;
          font-size: 27px;
          font-weight: 800;
        }
      }

      .content-video {
        flex-basis: 50%;
        padding-top: 30px;

        video {
          max-width: 100%;
          box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        }
      }
    }

    .aite-options-form {
      margin: 0!important;
      border: 0!important;
      background-color: #f0f0f1;
      box-shadow: none;
      padding: 50px 30px;
      padding-bottom: 120px;

      .button {
        font-size: 15px !important;
        letter-spacing: .4px !important;
        border-radius: 6px !important;
        font-weight: 500 !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 0 24px !important;
        column-gap: 8px;
        margin: 0 !important;
      }

      input[type=text],
      input[type=email],
      select {
        background-color: #fff !important;
        border: 1px solid #CAD8EC !important;
        box-shadow: 0px 2px 2px rgba(182, 181, 204, 0.25) !important;
        height: 40px;
        width: 100%;
        padding: 0 16px !important;

        &:focus {
          border-color: var(--color-primary) !important;
          outline: 0;
          box-shadow: 0 0 0 1px var(--color-primary) !important;
        }
      }

      .aite-slider {
        display: flex;
        align-items: center;

        .range-value {
          padding: 0 10px;
          margin: 0;
        }

        input[type="range"] {
          width: 50%;
        }
      }

      .aite-options-wrapper {
        max-width: 1280px;
        display: flex;
        flex-direction: row;
        column-gap: 48px;

        .inside {
          margin: 0!important;
          padding: 0!important;
          width: 100%;
          min-width: 640px;
          display: flex;
          flex-direction: column;
          row-gap: 50px;

          .panel {
            background: #fff;
            box-shadow: 0px 2px 1px rgba(39, 45, 77, 0.05), 0px 2px 8px rgba(187, 187, 187, 0.20);
            border-radius: 6px;

            .panel-header {
              height: 56px;
              padding: 0 30px !important;
              border-bottom: 1px solid #CAD8EC;
              display: flex;
              align-items: center;
              justify-content: space-between;

              h3 {
                font-weight: 500;
                font-size: 14px;
                letter-spacing: .6px;
                text-transform: uppercase;
                color: #708AA4;
                line-height: 1;
                padding: 0!important;
              }
            }

            .panel-content {
              padding: 0;
              display: flex;
              flex-direction: column;
              row-gap: 0;

              .row {
                padding: 30px !important;
                border-bottom: 1px solid #CAD8EC;

                h2 {
                  margin-top: 0;
                }

                p {
                  margin: 0;
                }

                &.row-wordai h2 {
                  background-image: url(../images/logo_wordai-128x128.png);
                  background-repeat: no-repeat;
                  background-position: top left;
                  background-size: 40px;
                  padding-left: 50px;
                  height: 40px;
                  line-height: 40px;
                }

                &.row-chatgpt h2 {
                  background-image: url(../images/logo_chatgpt-128x128.png);
                  background-repeat: no-repeat;
                  background-position: top left;
                  background-size: 40px;
                  padding-left: 50px;
                  height: 40px;
                  line-height: 40px;
                }

                &.last-row {
                  border-bottom: none;
                }

                &.panel-footer {
                  border-top: 1px solid #CAD8EC;
                }
              }
            }
          }
        }

        .upgrade-sidebar {
          width: 290px;
          height: fit-content;
          background: linear-gradient(176.44deg,#0f5858 2.92%,#10585c 23.02%,#145469 42.98%,#0d3458 71.92%,#062645 99.66%);
          border-radius: 5px;
        }
      }
    }
  }
}

