.wallet-editor {
  .ant-form {
    .ant-form-item {
      margin-bottom: 24px;
    }

    .ant-form-item-label {
      > label {
        font-weight: 500;
        color: #262626;
      }
    }
  }

  .display-settings {
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;

    &-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      font-weight: 500;
      color: #262626;
    }

    &-items {
      .display-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f0f0f0;

        &:last-child {
          border-bottom: none;
        }

        .display-toggle {
          cursor: pointer;
          color: #1890ff;
          font-size: 16px;

          &:hover {
            color: #40a9ff;
          }
        }
      }
    }
  }

  .upload-area {
    border: 2px dashed #d9d9d9;
    border-radius: 6px;
    padding: 32px;
    text-align: center;
    background-color: #fafafa;
    cursor: pointer;
    transition: border-color 0.3s;

    &:hover {
      border-color: #1890ff;
    }

    .upload-placeholder {
      color: #999;
      font-size: 14px;
      line-height: 1.4;
    }
  }

  .ant-select {
    width: 100%;
  }

  .ant-radio-group {
    display: flex;
    gap: 16px;
  }

  .ant-input,
  .ant-select-selector,
  .ant-picker {
    border-radius: 6px;
  }

  .ant-form-item-required {
    &::before {
      color: #ff4d4f !important;
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .wallet-editor {
    .display-settings {
      padding: 12px;
    }

    .upload-area {
      padding: 24px;
    }

    .ant-radio-group {
      flex-direction: column;
      gap: 8px;
    }
  }
}

.pisell-wallet-editor_preview-modal {

  .pisell-lowcode-modal-content {
    background-color: transparent !important;
    box-shadow: none !important;
  }

  .pisell-lowcode-modal-body {
    padding: 0 !important;
  }

  .pisell-lowcode-modal-close {
    display: none;
  }
}