
.copyField {
  display: flex;
}

.copyField .formControl {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  flex: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  border-right: 1px solid #006fcf;
}

.copyField .sideBtn {
  padding: 0 0.9375rem;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: normal;
  text-align: center;
  text-decoration: none;
  border: 1px solid #006fcf;
  border-radius: 0 0.25rem 0.25rem 0;
  border-left: none;
  min-width: 4.1875rem;
  background-color: #006fcf;
  color: #fff;
}

.copyField .sideBtn:hover {
  color: #fff;
  background: #0061b6;
}

.copyField .sideBtn:active {
  color: #fff;
  background: #00549c;
}

.copyField .sideBtn .dlsIconSuccess,
.copyField .sideBtn .dlsIconWarning,
.copyField .sideBtn [data-dls-icon=success],
.copyField .sideBtn [data-dls-icon=warning] {
  display: none;
}

.copyField.success .formControl,
.copyField.success .sideBtn {
  border-color: #008767 !important;
}

.copyField.success .sideBtn {
  background-color: #008767;
  color: #fff;
}

.copyField.success .sideBtn span:not(.dlsIconSuccess),
.copyField.success .sideBtn [data-dls-icon=warning] {
  display: none;
}

.copyField.success .dlsIconSuccess {
  display: block;
}

.copyField.success [data-dls-icon=success] {
  display: flex;
}

.copyField.warning .formControl,
.copyField.warning .sideBtn {
  border-color: #b42c01;
}

.copyField.warning .sideBtn {
  background-color: #b42c01;
  color: #fff;
}

.copyField.warning .sideBtn span:not(.dlsIconWarning),
.copyField.warning .sideBtn [data-dls-icon=success] {
  display: none;
}

.copyField.warning .dlsIconWarning {
  display: block;
}

.copyField.warning [data-dls-icon=warning] {
  display: flex;
}

.copyFieldSecondary .formControl,
.copyFieldSecondary .sideBtn {
  border-color: #8e9092;
}

.copyFieldSecondary .sideBtn {
  background-color: #fff;
  color: #006fcf;
}

.copyFieldSecondary .sideBtn:hover {
  color: #006fcf;
  background: #f2f2f2;
}

.copyFieldSecondary .sideBtn:active {
  color: #004683;
  background: #e6e6e6;
}

.copyFieldSecondary.success .sideBtn {
  background-color: #fff;
  color: #008767;
}

.copyFieldSecondary.warning .sideBtn {
  background-color: #fff;
  color: #b42c01;
}

.copyField:not(.success, .warning).focus:focus,
.copyField:not(.success, .warning).focus .formControl,
.copyField:not(.success, .warning).focus .sideBtn {
  border-color: #006fcf;
}