.kms-form .kms-config-row {
  display: flex;
  margin-top: 20px;
  margin-bottom: 16px;
}

.kms-form .kms-title {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.kms-form input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.kms-form input[type="text"] {
  width: 300px;
  height: 40px;
  padding: 16px;
}

.kms-form input[type="text"].aws-key-arn {
  width: 700px;
}

.kms-form .kms-fields {
  margin-top: 20px;
}

.kms-form .field-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.kms-form .field-label {
  margin-bottom: 8px;
}

.kms-form .form-error {
  margin-top: 16px;
  color: #f44336;
}

.kms-form .kms-tabs {
  --border: 1px solid #9e9e9e;

  display: flex;
  flex-direction: row;
  width: fit-content;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 36px;
}

.kms-form .kms-tabs .kms-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 100ms ease-out;
}

.kms-form .kms-tabs > :not(:last-child) {
  border-right: var(--border);
}

.kms-form .kms-tabs .kms-tab::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #009688;

  transform-origin: left;
  transform: scaleX(0);
  transition: 100ms ease-out;
}

.kms-form .kms-tabs .kms-tab:hover {
  cursor: pointer;
}

.kms-form .kms-tabs .kms-tab:not(.active-tab):hover {
  background: #f5f5f5;
}

.kms-form .kms-tabs .kms-tab.active-tab::before {
  transform: initial;
}

.kms-form .kms-tabs .kms-tab.active-tab {
  background: #f1f8e9;
  color: #004d40;
}
