@use '../../_global/styles/mixins' as *;
@use '../../_global/styles/vars' as *;

.election-result-list-badge {
  .badge-inner {
    padding: 6px 15px;
    background: var(--color-background);
    border-radius: 18px;
    margin-bottom: 8px;
  }
  p {
    font-family: "Korb", sans-serif;
    font-weight: bold;
    margin: 0;
    color: var(--color-text);
    span {
      padding-left: 5px;
      font-weight: normal;
    }
  }
  &.inverted {
    p {
      transition: 0.25s ease;
    }
    .badge-inner {
      transition: 0.25s ease;
      &:hover {
        p {
          color: var(--color-text);
        }
      }
    }
  }
  &.closable {
    cursor: pointer;
    .badge-inner {
      padding-left: 48px;
      position: relative;
      &:before {
        @include icon-schliessen;
        font-family: 'Icons', sans-serif;
        position: absolute;
        left: 15px;
        top: 50%;
        margin-top: -9px;
        color: var(--color-text);
        display: block;
        text-align: center;
        font-size: 18px;
        line-height: 1;
        transition: 0.25s ease;
      }
      &:hover:before {
      }
    }
  }
}
