@import "../../../styles/variables";

.license-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;

  .title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1em;
    margin-top: 20px;

    chef-icon {
      vertical-align: -4px;
    }
  }

  .alert {
    color: $chef-critical;
  }

  .subtitle {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .info {
    margin-left: 50px;
    margin-right: 50px;
  }

  .button {
    margin-top: 0.5em;
    text-align: center;
    width: 500px;
  }

  ul {
    list-style: none;
    padding: 0;

    li {
      display: flex;
      height: 48px;
      align-items: center;
      background-color: transparent;
      border: 1px solid $gray-pale;
      border-radius: $global-radius;
      margin-bottom: 1em;
      padding: .5em 1em;
      position: relative;
      font-size: .875em;
      transition: background-color .2s;

      &:hover {
        background-color: $chef-grey;
        cursor: pointer;
        transition: background-color .2s;
      }
    }
  }


  .footer {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    width: 100%;

    button:first-of-type {
      margin-right: 60px;
    }
  }

  label {
    display: block;
    margin: 3px 0px;
    font-size: 12px;
    font-weight: bold;
  }

  textarea {
    font-size: 14px;
    min-width: 600px;
    max-width: 600px;
    min-height: 100px;
    padding: 8px;
    border-radius: 4px;
    border-color: #7D868C47;
    resize: none;
  }

  textarea#licenseKey {
    width: 100%;
  }

  textarea,
  chef-error {
    font-size: 14px;
    display: block;
  }

  .spinner-container, .error-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
  }

  ::ng-deep chef-alert {
    width: 500px;
    margin-bottom: 16px;
    font-size: 13px;
    min-height: 50px;

    a.error-msg {
      color: $chef-white;
      text-decoration: underline;
    }
  }

  chef-button#dismiss-help {
    width: 210px;
  }

  chef-icon.icon-left {
    float: left;
    margin-left: 13px;
    font-size: 32px;
    color: #3864F2;
    cursor: pointer;
  }

  .full-width {
    width: 100%;
    display: flex;
  }

  .left-fixed {
    width: 32px;
    float: left;
    text-align: left;
  }

  .right-fixed {
    width: 32px;
    float: right;
  }

  .right-flexible {
    flex-grow: 1;
    text-align: center;
  }

  .note {
    font-style: italic;
    font-size: 12px;
    position: relative;
    top: 1.5rem;
    right: -11rem;
  }

  app-telemetry-checkbox {
    margin: 20px 50px 0;
  }

}
