.nq-withdraw-dialog.el-dialog {
  width: 520px !important;
  max-width: 94vw;
  border-radius: 0 !important;
  overflow: hidden;
}

.nq-withdraw-dialog .el-dialog__header,
.nq-withdraw-dialog .el-dialog__footer {
  display: none;
}

.nq-withdraw-dialog .el-dialog__body {
  padding: 0 !important;
}

.nq-withdraw {
  --nq-w-accent: #165dff;
  background: #fff;
}

.nq-withdraw__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #165dff 100%);
  color: #fff;
}

.nq-withdraw__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}

.nq-withdraw__subtitle {
  margin: 0;
  font-size: 12px;
  opacity: 0.85;
}

.nq-withdraw__avail {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.nq-withdraw__avail strong {
  font-size: 18px;
  font-weight: 700;
  margin-left: 4px;
}

.nq-withdraw__close {
  width: 32px;
  height: 32px;
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
}

.nq-withdraw__body {
  padding: 20px 22px 8px;
}

.nq-withdraw__body .el-form-item__label {
  font-size: 13px;
  color: #606266;
  padding-bottom: 6px;
}

.nq-withdraw__body .el-input__inner,
.nq-withdraw__body .el-select .el-input__inner {
  height: 40px;
  border-radius: 0;
  background: #f2f3f5;
  border-color: transparent;
}

.nq-withdraw__amount-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 2px solid #e8ecf4;
}

.nq-withdraw__amount-row:focus-within {
  border-color: var(--nq-w-accent);
}

.nq-withdraw__amount-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #f5f7fa;
  font-size: 16px;
  font-weight: 600;
  color: #262626;
  border-right: 1px solid #e8ecf4;
}

.nq-withdraw__amount-row .el-input__inner {
  border: 0 !important;
  background: transparent !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.nq-withdraw__all-btn {
  color: var(--nq-w-accent) !important;
  font-weight: 600;
}

.nq-withdraw__rules {
  margin: 0 22px 16px;
  padding: 14px 16px;
  background: #f5f7fa;
  border-left: 3px solid var(--nq-w-accent);
}

.nq-withdraw__rules-title {
  font-size: 13px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 8px;
}

.nq-withdraw__rules-item {
  font-size: 12px;
  line-height: 1.65;
  color: #909399;
}

.nq-withdraw__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid #eef0f4;
  background: #fafafa;
}

.nq-withdraw__submit {
  min-width: 120px;
  height: 40px !important;
  border-radius: 0 !important;
  background: var(--nq-w-accent) !important;
  border-color: var(--nq-w-accent) !important;
  font-weight: 600 !important;
}

.nq-withdraw__cancel {
  height: 40px !important;
  border-radius: 0 !important;
}
