.popup {
  border: 1px solid $black;
  background-color: $white;

  * {
    box-sizing: border-box;
  }

  .popup-header,
  .popup-header-ng {
    position: relative;
    width: 100%;
    height: $popup-header-height;
    background: $neutral-400;
    border-bottom: 1px solid $neutral-600;
    padding: 8px;
  }

  .popup-header-ng {
    display: flex;
    align-items: center;
    padding: 5px;
  }

  .popup-content {
    position: absolute;
    top: $popup-header-height;
    right: 0;
    bottom: $popup-footer-height;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .popup-footer,
  .popup-footer-ng {
    position: absolute;
    width: 100%;
    height: $popup-footer-height;
    bottom: 0;
    background: $neutral-200;
    border-top: 1px solid $neutral-600;
    padding: 5px;
  }

  .popup-footer-ng {
    display: flex;
    align-items: center;
  }
}
