//License Page.

#baf-product-license {
  h2:first-child {
    border-bottom: 1px solid #ccc;
    margin-bottom: 12px;
  }

  #loader {
    font-weight: bold;
    font-size: 16px;
    margin: 12px 0;

    .verify_error {
      color: tomato;
    }

    .verify_success {
      color: green;
    }
  }
}

// License Activation Meta Link.

.bwl_dn {
  display: none;
}

a.bwl_activation_link {
  font-weight: bold;
  color: green;
}

a.bwl_activation_meta_link {
  font-weight: bold;
  color: #ff0000;
}

// License Menu Tag.

span.baf-license-activation-tag {
  border-radius: 2px;
  position: relative;
  margin-left: 4px;
  padding: 0 3px;
  font-size: 9px;
  font-weight: bold;
  top: 0px;

  &.activated {
    background: #fff;
    color: green;
  }

  &.inactive {
    background: #fff;
    color: #ff0000;
  }
}

// License Form.

.license_form_container,
.license_info_container {
  background: #fff;
  padding: 24px;
  h3 {
    margin-top: 0;
    font-size: 24px;
  }
  h4 {
    margin-top: 0;
    font-size: 16px;
  }
}

.license_form_container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  h3 {
    color: green;
  }
  #purchase_code {
    width: 450px;
    max-width: 100%;
    height: 42px;
    line-height: 32px;
    padding: 0 12px;
  }
  input#verify {
    font-size: 16px;
    height: 42px;
    line-height: 32px;
  }

  &__youtube_link {
    font-weight: bold;
    a {
      text-decoration: none;

      .dashicons-youtube {
        color: red;
      }
    }
  }
}

.license_info_container {
  button#baf_remove_license {
    font-size: 16px;
    height: 42px;
    line-height: 36px;
    font-weight: bold;
    padding: 0 24px;
    background: tomato;
    border-color: tomato;
    &:hover {
      background: #ff0000;
    }
  }
  a.button {
    font-size: 16px;
    height: 42px;
    line-height: 40px;
    font-weight: bold;
    padding: 0 24px;
    background: green;
    &:hover {
      background: black;
    }
  }
}

// Purchase Info.

.plugin_purchase_info {
  font-size: 16px;

  li {
    line-height: 28px;
    display: flex;
    gap: 12px 0;

    strong {
      flex-basis: 120px;
    }

    .support-valid {
      background: green;
      color: #fff;
      margin-left: 6px;
      border-radius: 4px;
      padding: 0 10px;
      font-weight: bold;
      line-height: 24px;
    }

    .support-expired {
      background: red;
      color: #fff;
      margin-left: 6px;
      border-radius: 4px;
      padding: 0 10px;
      font-weight: bold;
      line-height: 24px;
    }
  }
}

// Offline line verfication.

.offline-msg {
  font-weight: bold;
  font-size: 16px;
  margin-top: 0;
}

#offline_verify_purchase {
  text-align: center;

  textarea {
    display: block;
  }

  #offline_verify {
    margin: 14px 0 0 0;
    width: 130px;
    height: 36px;
    font-size: 16px;
    line-height: 28px;
    font-weight: normal;
  }
}

// F.A.Q

.license_faq_container {
  background: #fff;
  padding: 12px;
  margin-top: 24px;
}

h3.license_faq_title {
  text-align: left;
  font-size: 20px;
}

ul.license_faqs {
  text-align: left;

  li {
    margin-bottom: 12px;
    .question {
      font-weight: bold;
      font-size: 16px;
      border-left: 6px solid blue;
      padding: 0 6px;
    }

    .answer {
      font-weight: normal;
      padding: 0 6px;
    }
  }
}
