@import '../../../../../themes/core/colors';
@import '../../../../../themes/core/typography';

.dialog-title {
  display: flex;
  justify-content: space-between;

  h3.title {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
  }
}

.flex-container-header {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  border-radius: 4px;
  line-height: 16px;

  > div {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    text-align: left;
    padding: 10px 25px;
    color: black(0.6);
  }

  .first {
    flex: 0 1 40%;
  }
  .second {
    flex: 0 1 30%;
  }
  .third {
    flex: 0 1 30%;
  }
}

.flex-container {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 22px;
  border-radius: 4px;
  border: 1px solid #ddd;
  min-height: 48px;
  margin-bottom: 10px;

  > div {
    font-family: Open Sans;
    font-style: normal;
    text-align: left;
    padding: 10px 25px;
    color: $default-color;
  }

  .first {
    display: flex;
    flex: 0 1 40%;
    align-items: center;
    font-weight: 600;
  }
  .second {
    flex: 0 1 30%;
    font-weight: 400;
  }
  .third {
    display: flex;
    flex: 0 1 30%;
    align-items: center;
    font-weight: 600;
    font-size: 0.75rem;

    &.text-red,
    &.text-green,
    &.text-yellow {
      font-size: 0.75rem;

      .mat-icon, .material-icons-outlined {
        margin-right: 1rem;
      }
    }
    &.text-red {
      color: $error;
    }
    &.text-yellow {
      color: $risk-yellow-dark;
    }
    &.text-green {
      color: $risk-green-dark;
    }
  }
}

.label-red,
.label-yellow,
.label-green {
  font-family: Open Sans;
  font-style: normal;
  font-weight: 600;
  display: flex;
  text-align: center;
  margin-right: 1rem;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 1px;
}

.label-red {
  background-color: $secondary;
  color: white;
}

.label-yellow {
  background-color: $risk-yellow;
  color: black(0.87);
}

.label-green {
  background-color: $risk-green;
  color: white;
}
