.bar {
  height: 30px;
  background-color: #17212b;
  text-align: right;
  line-height: 30px;
  color: white;
  position: relative;
  border-radius: 8px;
  padding-right: 10px;
}

.bar-label-right {
  position: absolute;
  right: 0;
  color: #000;
  background: rgba(255, 255, 255, 0.7);
  padding: 0 5px;
}

.title-percentage {
  justify-self: center;
}

.rank-label,
.bar-label,
.interval,
.title-percentage {
  font-family: "IBM Plex Sans", sans-serif;
}

.percentage-label {
  color: #fff;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.percentage-label.outside {
  margin-left: 0.5rem;
  position: absolute;
  left: calc(100% + 0.5rem);
  transform: translateX(0);
  color: black;
}

.votes-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.interval {
  grid-template-columns: 165px auto !important;
  position: relative;
}

.title-polling {
  border-bottom: 1px solid #ededed;
  background: #17212b;
  border-top-right-radius: 1rem;
  border-top-left-radius: 1rem;
  padding: 16px 24px 16px 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 24px;
}

.title-polling p {
  margin: 0 !important;
  font-family: "IBM Plex Sans", sans-serif;
}

.subtitle-polling {
  color: #fff;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

#subcategory-dropdown {
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  background: #fff;
  padding: 5px;
  font-size: 14px;
  overflow: hidden;
  color: #000;
  text-overflow: ellipsis;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

#polling-results,
.interval {
  height: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

.rank-label,
.bar-label {
  font-weight: 700;
}

.bar-label {
  overflow: hidden;
  color: #000;
  text-overflow: ellipsis;
  font-size: 14px;
  font-style: normal;
  line-height: normal;
}

.rank-label {
  color: #000;
  font-size: 16px;
  font-style: normal;
  line-height: normal;
}

.blurred {
  filter: blur(5px);
  position: relative;
}

@media (min-width: 1025px) {
  .polling-bar {
    display: grid;
    grid-template-columns: auto 170px 1fr auto;
    align-items: center;
    margin-bottom: 16px;
    gap: 1rem;
    position: relative;
  }

  .polling-container {
    position: relative;
    width: 492px;
    border: transparent 1px solid;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    position: relative;
  }

  .interval-percentage {
    display: grid;
    align-items: center;
    justify-items: end;
    margin-bottom: 10px;
    padding-right: 0.8rem;
    position: relative;
    width: 100%;
    margin-left: 10px;
  }

  #subcategory-dropdown {
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    background: #fff;
    padding: 5px;
    font-size: 14px;
    overflow: hidden;
    color: #000;
    text-overflow: ellipsis;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .title-polling-top {
    color: #fff;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-bottom: 8px;
  }

  .vote-other-category {
    text-decoration: none;
    display: flex;
    height: 48px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    background: #fcd067;
    width: 492px;
    margin-top: 16px;
    border-color: transparent;
    color: #000;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
  }
  .vote-other-category:visited {
    color: unset;
  }
  .lock-message {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
    width: 406px;
    color: black;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }
  .low-percentage {
    position: absolute;
    align-content: center;
    height: 100%;
    left: 4rem;
    color: black;
  }
  .very-low-percentage {
    left: 3rem;
  }
  .title-percentage,
  .interval {
    color: #000;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
}

@media (max-width: 1024px) {
  .lock-message {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
    width: 311px;
    color: black;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }
  .vote-other-category {
    text-decoration: none;
    display: flex;
    height: 48px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    background: #fcd067;
    width: 100%;
    margin-top: 16px;
    border-color: transparent;
    color: #000;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
  }

  .title-polling-top {
    color: #fff;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-bottom: 8px;
  }

  #subcategory-dropdown {
    width: 110px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    background: #fff;
    padding: 5px;
    font-size: 14px;
    overflow: hidden;
    color: #000;
    text-overflow: ellipsis;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .interval-percentage {
    display: grid;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    gap: 12px;
    width: 100%;
    margin-left: 10px;
  }

  .polling-container {
    position: relative;
    width: 100%;
    border: transparent 1px solid;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  }

  .title-percentage-label {
    display: none;
  }

  .nominee-style {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 2rem;
  }

  .polling-bar {
    display: flex;
    flex-direction: row;
  }

  .rank-label {
    align-content: center;
    padding-bottom: 2rem;
  }

  .bar-label {
    order: 0;
  }

  .bar {
    order: 1;
    width: 100%;
  }

  .votes-label {
    text-align: left;
  }
  .container-polling-result {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  .vote-other-category {
    align-self: center;
    display: flex;
  }
  .low-percentage {
    position: absolute;
    align-content: center;
    height: 100%;
    left: 5rem;
    color: black;
  }
  .very-low-percentage {
    left: 3rem;
  }
  .title-percentage,
  .interval {
    color: #000;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    justify-self: right;
    padding-right: 1rem;
  }
  .vote-other-category:visited {
    color: unset;
  }
}

.default-state {
  height: 240px !important;
}

.container-polling-result.winner .polling-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 452px;
  height: 554px;
  border-radius: 16px;
  padding: 20px;
  position: relative;
  background-color: #B69C5D;
  margin-top: 50px;
}
.container-polling-result.winner .polling-container .badge {
  top: -70px;
  display: block;
  position: absolute;
}
.container-polling-result.winner .polling-container .winner-result {
  width: 100%;
}
.container-polling-result.winner .polling-container .winner-result .content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3vh;
}
.container-polling-result.winner .polling-container .winner-result .content .inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5vh;
  border-radius: 16px;
  width: 100%;
  height: 409px;
  background-color: #fff;
  padding-bottom: 2vh;
}
.container-polling-result.winner .polling-container .winner-result .content .inner img {
  width: 200px;
  height: 200px;
  margin-top: 10vh;
  object-fit: scale-down;
  border-radius: 8px;
  box-shadow: 0px 5px 9px 0px #00000014;
}
.container-polling-result.winner .polling-container .winner-result .content .inner p {
  font-size: 24px;
  font-weight: 700;
  line-height: 32.69px;
  text-align: center;
  text-wrap: balance;
}
.container-polling-result.winner .polling-container .winner-result .content .category p {
  font-size: 16px;
  font-weight: 700;
  line-height: 21.79px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.container-polling-result.winner .polling-container .winner-result .content .category p:first-child {
  font-size: 25px;
  font-weight: 900;
  text-shadow: 1px 2px 3px rgba(11, 11, 11, 0.23);
  --webkit-text-shadow: 1px 2px 3px rgba(11, 11, 11, 0.23);
  -moz-text-shadow: 1px 2px 3px rgba(11, 11, 11, 0.23);

}

@media (max-width: 1024px) {
  .container-polling-result.winner .polling-container {
    width: 100%;
    margin-top: 10vh;
  }
  .container-polling-result.winner .polling-container .winner-result .content .category p:first-child {
    font-size: 18px;
    line-height: 24.52px;
  }
  .container-polling-result.winner .polling-container .winner-result .content .category p {
    font-size: 14px;
    line-height: 19.07px;
  }
}