
.payment-transfer-drawer {
  :deep(.el-drawer) {
    display: flex;
    flex-direction: column;
  }

  :deep(.el-drawer__header) {
    margin-bottom: 0;
    padding: 16px 20px;
  }

  :deep(.el-drawer__body) {
    flex: 1;
    overflow: hidden;
    padding: 0;
    position: relative;
  }
}

.drawer-content {
  position: relative;
  min-height: 100%;
  padding: 24px 32px 0 32px;
  background: #fff;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding-bottom: 64px;
}

.el-form {
  margin-bottom: 0;
}

.el-form-item {
  margin-bottom: 24px;
}

.el-input,
.el-select {
  width: 100%;
}

.btn.crm-cursor {
  display: block;
  width: 30%;
  margin-left: 40%;
  text-align: center;
  background: #368fec;
  color: #fff;
  border-radius: 2px;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
}

.btn.crm-cursor[disabled],
.btn.crm-cursor.is-disabled {
  background: #a1a1a1;
  color: #fff;
  cursor: not-allowed;
}

.el-form .el-form-item__label {
  font-weight: 400;
  color: #222;
  font-size: 15px;
}

.el-form .el-form-item__content {
  font-size: 15px;
}

.el-form .el-input__inner,
.el-form .el-select .el-input__inner {
  height: 40px;
  font-size: 15px;
}

.el-form .el-select .el-input__inner {
  padding-right: 30px;
}

.el-form .el-select .el-input__icon {
  right: 10px;
}

.el-form .el-form-item.is-required .el-form-item__label:before {
  color: #eb3f57;
  margin-right: 4px;
}

.el-form .el-form-item__error {
  font-size: 13px;
  color: #eb3f57;
  margin-top: 2px;
}

.el-form .el-button {
  width: auto;
  min-width: 120px;
  font-size: 16px;
  border-radius: 2px;
  margin-top: 24px;
}

.el-form .el-button + .el-button {
  margin-left: 0;
  margin-top: 12px;
}

// 结果区块样式
.el-form[style*="margin-top: 20px"] {
  margin-top: 32px !important;
  background: #f7f8fa;
  border-radius: 4px;
  padding: 24px 24px 8px 24px;
}

.el-form[style*="margin-top: 20px"] .el-form-item {
  margin-bottom: 12px;
}

.el-form[style*="margin-top: 20px"] .el-form-item__label {
  color: #888;
  font-size: 14px;
}

.el-form[style*="margin-top: 20px"] .el-form-item__content {
  color: #222;
  font-size: 16px;
}

/* 只针对代付页面的按钮做样式调整 */
.payment-form {
  /* 让按钮容器右对齐 */
  .el-form-item[style*='text-align: right'],
  .button-container {
    text-align: right !important;
  }

  /* 让按钮宽度自适应 */
  .el-button {
    width: auto !important;
    min-width: 120px;
    margin-top: 0;
  }
}

.payment-form .button-container {
  text-align: right;
  background: #fff;
  padding: 24px 0 0 0;
  max-width: 420px;
  margin-left: auto;
  margin-right: 0;
}

.payment-form .button-container .el-button + .el-button {
  margin-left: 24px;
}

/* 只美化调单信息或文件区块 */
.dispute-submit-container {
  padding: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dispute-form {
  background: #fff;
  border-radius: 10px;
  padding: 32px 32px 20px 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  width: 420px;
  max-width: 100%;
}

.dispute-form .el-form-item {
  margin-bottom: 22px;
}

.dispute-form .el-form-item__label {
  font-size: 15px;
  color: #222;
}

.dispute-form .el-form-item__content {
  font-size: 15px;
}

.dispute-form .el-input__inner,
.dispute-form .el-select .el-input__inner {
  height: 40px;
  font-size: 15px;
}

.dispute-form .el-select .el-input__inner {
  padding-right: 30px;
}

.dispute-form .el-select .el-input__icon {
  right: 10px;
}

.dispute-form .el-form-item__error {
  font-size: 13px;
  color: #eb3f57;
  margin-top: 2px;
}

.dispute-form .note {
  color: #aaa;
  font-size: 13px;
  margin-left: 4px;
}

.dispute-form .add-btn-container {
  margin: 18px 0 24px 0;
}

.dispute-form .el-button {
  min-width: 120px;
  height: 40px;
  font-size: 15px;
  border-radius: 6px;
}

.dispute-form .el-button + .el-button {
  margin-left: 16px;
}

.dispute-form .section-divider {
  margin: 24px 0 12px 0;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.dispute-form .subsection-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #368fec;
}

.dispute-form .form-tip {
  color: #aaa;
  font-size: 13px;
  margin-bottom: 10px;
}

.dispute-form .info-item,
.dispute-form .file-item {
  background: #fafbfc;
  border-radius: 6px;
  padding: 16px 48px 10px 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  position: relative;
}

.dispute-form .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  float: none;
  margin: 0;
  z-index: 2;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 0;
  font-size: 18px;
  border: 1px solid #e5e6eb;
  transition: color 0.2s, background 0.2s;
}

.dispute-form .remove-btn:hover {
  color: #888;
  background: #f5f5f5;
}

.dispute-form .upload-preview {
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.dispute-form .preview-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e5e6eb;
  margin-right: 10px;
}

.dispute-form .preview-actions {
  display: flex;
  flex-direction: column;
}
