//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;
  }
}

.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;
    }
  }
}
