.treba-poll {
  font-family: 'Poppins', sans-serif;
  margin: 40px auto;
  padding: 30px;
  background: linear-gradient(145deg, #6a11cb 0%, #2575fc 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(37, 117, 252, 0.2);
  color: #fff;
}

.treba-poll .heading {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.poll-form label {
  display: block;
  margin-bottom: 15px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.poll-form label:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.poll-form input[type="radio"] {
  margin-right: 10px;
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  outline: none;
  vertical-align: middle;
}

.poll-form input[type="radio"]:checked {
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
}

.poll-submit {
  display: block;
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: #fff;
  color: #6a11cb;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.poll-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.poll-results {
  margin-top: 30px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  animation: fadeIn 0.5s ease-out forwards;
}

.poll-results h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

.poll-results ul {
  list-style-type: none;
  padding: 0;
}

.poll-results li {
  margin-bottom: 10px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.poll-results li:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.treba-poll * {
  animation: fadeIn 0.5s ease-out forwards;
}

.poll-result-item {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}
/* .poll-result-item.selected .poll-progress-bar {
  background-color: rgba(255, 255, 255, 0.5);
} */

/* .poll-result-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
} */

.poll-option-text {
  display: flex;
  justify-content: space-between;
  position: relative;
  
  z-index: 1;
  font-weight: 600;
}

.poll-progress-bar {
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  position: absolute;
  left: 0; top: 0;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}
