.custom-poll-container{
font-family: "Poppins";
}

.poll-title {
    color: #212A38;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.poll-option {
    margin-bottom: 5px;
}

.poll-vote-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-family: "Poppins";
    font-size: 20px;
    font-weight: 500;
    min-height: 50px;
    padding: 14px 24px;
    border:none;
    border-radius: 8px;
    color: rgb(17, 17, 17);
    background-color: rgba(25, 123, 255, 0.1);
    transition: background-color 0.2s;
}

.poll-vote-btn:hover {
    background-color: rgba(25, 123, 255, 0.15);
}

.poll-vote-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.poll-thanks{
    text-align: center;
    margin-top: 20px;
}

.poll-thanks.hidden,
.vote-count-badge.hidden,
.result-percentage.hidden,
.result-bar.hidden {
    display: none;
}

.result-item {
    margin-bottom: 20px;
}

.result-bar-container, .poll-option-result {
    position: relative;
    background-color: rgba(25, 123, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 5px;
    min-height: 50px;
}

.result-bar {
    min-height: 50px;
    height: 100%;
    background: rgba(25, 123, 255, 0.15);
    border-radius: 8px;
    text-align: center;
    width: 0%; 
    transition: width 0.8s ease;
    position:absolute;
    top: 0;
    left: 0;
}

.result-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:15px;
    width: 100%;
    padding: 14px 24px;
}

.result-percentage {
    font-weight: bold;
}

.result-text{
    font-size: 20px;
    font-weight: 500;
}

.results-hidden {
    display: none;
}

.results-visible {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.total-votes{
    text-align: center;
    color: #4D5466;
   font-weight: 400;
}

.vote-count-badge{
   color: #4D5466;
   font-weight: 400;
   padding-left: 10px;
   margin-right: auto;
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

@media (max-width: 768px) {
    
    .poll-title {
        font-size: 26px;
    }
}
    