/*
IBM Confidential
694970X, 69497O0
© Copyright IBM Corp. 2022, 2024
*/


@use "../../global/config" as *;
@use '@carbon/themes/scss/tokens' as theme;

.#{$prefix}--bmrg-modal-confirm-edit {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.#{$prefix}--bmrg-modal-confirm-edit__title {
  align-self: flex-start;
  color: theme.$text-primary;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}

.#{$prefix}--bmrg-modal-confirm-edit__section {
  background-color: theme.$layer-accent-01;
  border-radius: var(--cds-border-radius, 0);
  color: theme.$text-primary;
  width: 100%;
}

.#{$prefix}--bmrg-modal-confirm-edit__content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0.6rem;
  align-items: center;
}

.#{$prefix}--bmrg-modal-confirm-edit__button {
  background: none;
  border: none;
}

.#{$prefix}--bmrg-modal-confirm-edit__icon {
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
  height: 1rem;
  flex: 1;
  &:active {
    transform: scale(0.9);
  }
  path {
    fill: theme.$text-primary;
  }
}

.#{$prefix}--bmrg-modal-confirm-array {
  flex: 8;
  margin: 0.65rem;
}

.#{$prefix}--bmrg-modal-confirm-array__content {
  background-color: theme.$layer-accent-01;
  height: 100%;
  line-height: 1.1;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

.#{$prefix}--bmrg-modal-confirm-array__csv {
  flex: auto;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.1;
  text-align: start;
  width: 100%;
  word-wrap: break-word;
}

.#{$prefix}--bmrg-modal-confirm-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0.65rem;
  width: 100%;
}

.#{$prefix}--bmrg-modal-confirm-details__item {
  display: flex;
  justify-content: space-between;
  max-height: 4rem;
  overflow: hidden;
}

.#{$prefix}--bmrg-modal-confirm-details__name {
  align-self: flex-start;
  display: flex;
  flex-basis: 25%;
  font-size: 0.875rem;
  line-height: 1.1;
  margin-bottom: 0.6875rem;
}

.#{$prefix}--bmrg-modal-confirm-details__value {
  align-self: flex-start;
  display: flex;
  flex-basis: 70%;
  flex-wrap: wrap;
  line-height: 1.1;
  margin-bottom: 0.5em;
}
