@import 'assets/scss/fonts.scss';
@import 'assets/scss/colors.scss';

.wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-background-white);
  border-left: 1px solid var(--color-light-gray);
  border-right: 1px solid var(--color-light-gray);
  border-bottom: 1px solid var(--color-light-gray);
  transition: height 0.4s ease;
}

.container {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 25px 0;
  height: 50px;
  z-index: 1;
  input {
    margin-right: -42px;
    margin-left: 30px;
    z-index: 10;
  }
}

.name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  width: 90%;
}

.topic {
  display: flex;
  align-items: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arrowDownIcon {
  width: 15px;
  display: flex;
  align-items: center;
  margin: 0px 40px;
}

.arrowDownIconOpen {
  transition: 300ms ease;
  margin-bottom: 0;
  transform: rotate(90deg);
}

.arrowDownIconClose {
  transition: 300ms ease;
  margin-bottom: 0;
  transform: rotate(0deg);
}

.componentName {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 12px;
  @include font-base;
  color: var(--color-text-gray);
  cursor: pointer;
}

.info {
  display: flex;
  align-items: center;
  margin-right: 42px;
}

.infoComponent {
  color: var(--color-text-gray);
  &:hover {
    text-decoration: underline;
    color: var(--color-airy-blue);
    cursor: pointer;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.serviceName {
  margin-left: 10%;
  @include font-s;
  color: var(--color-text-gray);
  animation: fadeIn ease 0.6s;
}

.schemaRegistry {
  width: 25%;
  display: flex;
  justify-content: center;
}

.icons {
  width: 20px;
  height: 20px;
}

.installedNotConfigured {
  fill: var(--color-not-configured-orange);
}

.disabledHealthy {
  fill: var(--color-disable-status-config);
}

.unhealthy {
  fill: var(--color-red-alert);
}

.blankSpace {
  width: 60px;
}

.delete {
  button {
    width: 60px;
    height: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-left: -20px;
  }
  svg {
    margin-top: 8px;
    height: 18px;
    fill: var(--color-text-gray);
  }
  &:hover {
    svg {
      fill: var(--color-airy-blue);
    }
    cursor: pointer;
  }
}

.enableModalContainerWrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.enableModalContainer {
  @include font-l;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}

.enableModalContainer div {
  @include font-xl;
}

.popUpSubtitle {
  color: var(--color-text-contrast);
  text-align: center;
  width: 80%;
}

.enableModalContainer p {
  @include font-l;
  margin-bottom: 30px;
}

.runningHealthy {
  fill: var(--color-soft-green);
}

.chevron {
  width: 14px;
  margin: 6px 16px 4px 30px;
  fill: var(--color-text-gray);
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}

.chevronRotated {
  transform: rotate(180deg);
}
