
.live_pulse {
  animation: live_pulse 0.7s infinite;
  animation-direction: alternate;
  -webkit-animation-name: live_pulse;
  animation-name: live_pulse;
}

@-webkit-keyframes live_pulse {
  0% {
    -webkit-transform: scale(1);
  }

  100% {
    -webkit-transform: scale(1.5);
  }
}

@keyframes live_pulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.5);
  }
}

.toggle-link {
  text-decoration: none;
  color: #00af00;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.arrow {
  transition: transform 0.3s ease;
  width: 1em;
  height: 1em;
  display: inline-block;
}

.toggle-link.open .arrow {
  transform: rotate(0deg);
}

.toggle-link.closed .arrow {
  transform: rotate(180deg);
}

.card_party--list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  list-style: none !important;
}

.card_party--list-item {
  display: list-item;
  text-align: -webkit-match-parent;
  unicode-bidi: isolate;
  list-style: none !important;
  margin: 0px;
}

.card_party--resume {
  width: 130px;
  height: 180px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-content: center;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

.card_party--details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-content: center;
  flex-wrap: nowrap;
  border-radius: 0px;
}

.card_party--logo {
  width: 50px;
  height: 50px;
  background-color: #f7f8f7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card_party--name {
  font-size: 14px;
  text-align: center;
}

.card_party--percentage {
  font-weight: 700;
  font-size: 1.125rem;
}

.card_party--mandates {
  font-size: 1rem;
}

.card_party--list.horizontal {
  flex-direction: row;
  overflow-y: hidden;

  border-image-source: linear-gradient(to left, #eaf8ea, #000);
  border-image-slice: 10;
  border-inline-end: 8px solid;
}

.card_party--list.vertical {
  flex-direction: column;
  white-space: normal;
  overflow-y: auto;
  overflow-x: hidden;
  gap: 0px;
}

.card_party--list.vertical li {
  animation: slideIn 1s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.election__container-title {
  padding: 50px 0px 30px 0px;
  color: #00af00;
  font-size: 1.4117647059rem;
  line-height: 1.2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.election_container--live {
  width: 150px;
  height: 27px;
  background: #ee3239;
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  padding: 4px 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.card_party--resume {
  display: flex;
}

.card_party--details {
  display: none;
}

.card_party--list.vertical .card_party--resume {
  display: none !important;
}

.card_party--list.vertical .card_party--details {
  display: flex !important;
}

.card_party--list.horizontal .card_party--resume {
  display: flex !important;
}

.card_party--list.horizontal .card_party--details {
  display: none !important;
}

.card_party--details .party__progress {
  animation: bar-progress 1.25s ease-out;
  height: 8px;
  height: 1.2rem;
  margin: var(--partyprogress-m, 0.2941176471rem 0 0 0);
  width: var(--progress-value, 0);
}

.card_party--details.party__percentage {
  font-size: 1.125rem;
  font-weight: 700;
  margin-left: 0px !important;
}

.card_party--details.party__votes {
  font-size: 1rem;
  margin-left: 0px !important;
}

.card_party--details.party__votes {
  margin-left: 0px !important;
}

.horizontal li:nth-child(n + 9) {
  /*display: none;*/
}

@media (max-width: 639px) {
  .card_party--resume {
    width: 140px;
  }

  .election__container-title {
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }

  .horizontal li:nth-child(n + 7) {
    /*display: none;*/
  }

  .elections__footer {
    justify-content: end;
  }

  .js-party-list-resume.slick-slide {
    margin: 0 70px;
  }

  .js-party-list-resume.slick-list {
    margin: 0 -70px;
  }

  .election__resumebox--item {
    width: 100%;
  }
}

.progress-circle {
  transform: rotate(-90deg);
  transition: all 0.3s ease;
}

.bg-circle {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 4;
}

.progress-path {
  fill: none;
  stroke: #00af00;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dasharray 0.6s ease-in-out;
}

.election__resumebox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  justify-content: right;
}

.election__resumebox--item {
  border: 2px solid rgba(0, 150, 0, 0.25);
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  padding: 0px 10px;
  min-height: 80px;
  min-width: 32%;
}

.percentage-box {
  position: relative;
  overflow: hidden;
}

.fill-background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #00af00b8;
  transition: width 0.8s ease-in-out;
  z-index: 1;
}
.text-content {
  position: relative;
  z-index: 2;
  color: #333;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.election__submenu {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin: 10px 0px;
  font-size: 14px;
  cursor: pointer;
}

.election__submenu .active {
  padding: 10px;
  border-bottom: 3px solid #00af00;
}

.hidden__list {
  display: none;
}


/** ------------------------------------------------------------------------------------------------------------------------------------ */
    .location-selector {
            background: #eaf8ea;
            padding: 10px;
            border-radius: 8px;
        }

        .location-selector__title {
            font-size: 1rem;
            font-weight: bold;
            margin-bottom: 15px;
            color: #333;
        }

        .select-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-bottom: 10px;
        }

        .select-wrapper {
            display: flex;
            flex-direction: column;
        }

        .select-wrapper label {
            font-weight: bold;
            margin-bottom: 5px;
            color: #555;
            font-size: 0.9rem;
        }

        .select-wrapper select {
            padding: 10px;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 0.8rem;
            background: white;
            cursor: pointer;
            transition: border-color 0.3s;
        }

        .select-wrapper select:hover {
            border-color: #00af00;
        }

        .select-wrapper select:focus {
            outline: none;
            border-color: #00af00;
            box-shadow: 0 0 0 3px rgba(0, 175, 0, 0.1);
        }

        .select-wrapper select:disabled {
            background: #f0f0f0;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .select-wrapper select option {
            padding: 10px;
        }


        .election_page_content{
            display: flex;
            flex-wrap: nowrap;
            align-items: flex-start;
            gap: 20px;
        }

        .election_page_details{
            width: 100%;
            background: #eaf8ea;
            padding: 10px 20px;
            margin-bottom: 40px;
        }

        @media (max-width: 639px) {
            .election_page_content{
                flex-direction: column;
            }
            .location-selector {
                width:100%;
                padding: 5px;
            }
            .election_page_details{
                padding: 0px 5px;
            }

        }

        .clear-filters-btn {
            background: #ccc;
            color: #000000;
            border: none;
            padding: 3px 10px;
            cursor: pointer;
            font-size: 0.6rem;
            font-weight: normal;
            transition: background 0.3s;
        }

        .clear-filters-btn:hover {
            background: #f7f8f7;
        }

        .clear-filters-btn:active {
            transform: scale(0.95);
        }

        