body {
  overflow-x: hidden;

  a:focus {
    box-shadow: none;
  }
}

/** Admin App Styles. */
#acfw_admin_app,
.acfw-admin-app {
  margin: 70px 25px 0;

  .page-header {
    .acfw-logo {
      margin-bottom: 40px;
    }

    .page-header-title-row {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 10px;
    }

    .page-header-actions {
      display: flex;
      align-items: center;
    }

    h1 {
      font-size: 26px;
      line-height: 31px;
      font-weight: bold;
      margin: 0;
    }

    p {
      font-size: 16px;
      line-height: 19px;
      margin: 0;
    }
  }

  .settings-content {
    max-width: 1250px;
    background: #fafafa;
    border: 1px solid #d5d5d5;
  }

  .content-column {
    position: relative;
    padding: 16px;
    min-height: 80vh;
    background: #fff;

    &:before {
      content: "";
      position: absolute;
      left: -1px;
      top: 0;
      display: block;
      width: 1px;
      height: 100%;
      background: #d5d5d5;
    }
  }

  .acfw-loader {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
  }

  /** Ant Design Styles */
  .ant-select-selection-search-input {
    box-shadow: none;
  }
}

/** Modal */
.acfw-modal {
  .ant-modal-header {
    border-bottom: 0;
  }
  .ant-modal-title {
    font-size: 1.25rem;
  }
  .ant-modal-body {
    padding: 16px 24px;
    .ant-modal-confirm-body {
      padding-top: 10px;
    }
  }
  .ant-btn {
    border-radius: 5px;
  }
  .ant-btn-primary {
    background: #1f69a1;
  }
  .ant-modal-footer {
    border-top: 0;
    padding: 16px;
  }
}

#acfw_admin_app,
#toplevel_page_acfw-admin,
.acfw-admin-app {
  button.buttonlink {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    outline: 0 !important;
  }
}

#toplevel_page_acfw-admin,
.acfw-admin-app {
  button.buttonlink {
    padding: 5px 12px;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    color: #b4b9be;

    &:hover {
      color: #00b9eb;
    }
  }

  li.current {
    button.buttonlink {
      color: #ffffff;
    }
  }
}

.ant-message {
  z-index: 100000;
}

.acfw-activate-license-notice {
  h4.acfw-activate-license-notice {
    margin: 1.1em;
  }
}

.ant-select-dropdown {
  z-index: 10500;
}

#license-placeholder .license-form .ant-form .ant-row {
  width: auto !important;
}
#license-placeholder .license-form .ant-form-item {
  width: calc(50% - 99px);
}
