.pisell2-ecocup-add-customer-modal {
  .pisell-lowcode-modal-content,
  .ant-modal-content,
  .pisell-lowcode-drawer-content,
  .ant-drawer-content {
    max-height: 100%;
  }

  .pisell-lowcode-modal-body,
  .ant-modal-body,
  .pisell-lowcode-drawer-body,
  .ant-drawer-body {
    min-height: 0;
  }

  .pisell-lowcode-modal-footer,
  .ant-modal-footer,
  .pisell-lowcode-drawer-footer,
  .ant-drawer-footer {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  &-content {
    padding: 24px 0;

    .pisell2-ecocup-add-customer-modal-content-name-wrap {
      display: flex;
      flex-direction: row;
      gap: 16px;
    }
  }

  &-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 12px;

    > button {
      flex: 0 0 auto;
      width: auto;
      min-width: 120px;
    }
  }

  &--phone,
  &--mobile {
    .pisell-lowcode-drawer-content,
    .ant-drawer-content {
      border-radius: 20px 20px 0 0;
      overflow: hidden;
    }

    .pisell-lowcode-drawer-body,
    .ant-drawer-body {
      overflow-y: auto;
    }

    .pisell2-ecocup-add-customer-modal-content {
      padding: 16px 0 8px;

      .pisell2-ecocup-add-customer-modal-content-name-wrap {
        flex-direction: column;
        gap: 0;
      }
    }

    .pisell2-ecocup-add-customer-modal-footer {
      gap: 12px;
      padding-bottom: env(safe-area-inset-bottom);

      > button {
        flex: 1;
        min-width: 0;
      }
    }
  }
}
