.nut-actionsheet {
  text-align: center;

  &.nut-popup {
    min-height: 10%;
    background-color: $actionsheet-background-color;
  }

  .nut-popup-title {
    border-bottom: scale-px(1px) solid $actionsheet-border-color;
  }

  &-list {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: $actionsheet-border-radius;
  }

  &-cancel,
  &-item {
    display: block;
    padding: scale-px(10px);
    text-align: $actionsheet-item-text-align;
    line-height: $actionsheet-item-line-height;
    font-size: $font-size-base;
    color: $actionsheet-item-color;
    cursor: pointer;
    &-name {
      text-align: $actionsheet-item-text-align;
      line-height: $actionsheet-item-line-height;
      font-size: $font-size-base;
      color: $actionsheet-item-color;
    }
    &-description {
      display: block;
      font-size: $font-size-s;
      color: $color-text;
      text-align: $actionsheet-item-text-align;
      line-height: $actionsheet-item-line-height;
    }

    &-danger {
      color: $actionsheet-item-danger;
    }

    &-disabled {
      color: $color-text-disabled !important;
      cursor: not-allowed;
    }
  }

  &-cancel {
    margin-top: scale-px(5px);
    border-top: scale-px(1px) solid $actionsheet-border-color;
    border-radius: $actionsheet-border-radius;
  }

  &-safe-area {
    display: block;
    width: 100%;
    /* #ifndef dynamic*/
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    /* #endif */
  }
}
