/* Wrapper for Poll and Ad with Border */
.poll-game-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    align-items: center;
}
.poll-game-wrapper *{
    box-sizing: border-box;
}
.poll-widget-wrapper-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.submit-btn-container{
    display: flex;
}
/* Poll Styles */
.poll-box {
    flex: 2;
    border-radius: 5px;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    .poll-box {
        flex: none;
    }
    .ad-container {
        flex: none;
    }
}
.poll-question {
    margin-bottom: 24px;
    color: #333333;
}

.poll-option {
    margin: 8px 0;
    text-align: left;
}

.poll-option input {
    margin-right: 8px;
}

.submit-btn-container {
    margin-top: 20px;
}

.submit-poll-btn {
    background-color: #0073aa;
    color: #ffffff;
    padding: 8px 12px;
    border: none !important;
    border-radius: 5px;
    cursor: pointer;
    
}

.submit-poll-btn:hover {
    background-color: #005a8b;
}

/* Poll Results */
.poll-results-container {
    margin-top: 10px;
    text-align: start;
}

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

.poll-results-container li {
    font-size: 1.1em;
    margin: 5px 0;
}

.poll-question {
    padding-bottom: 12px;
}
/* Alerts */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    border-radius: 5px;
    color: #ffffff;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.alert.success {
    background-color: #28a745;
}

.alert.error {
    background-color: #dc3545;
}

/* Animation Classes */
.animated {
    animation-duration: 0.5s;
}

.fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Ad Container Styling */
.ad-container {
    flex: 1;
    text-align: center;
    justify-content: center;
    margin: auto;
    max-width: 100%;
}
.no-img-ad{
    background-color: #fff;
    text-align: center;
    justify-content: center;
    margin: auto;
    max-width: 100%;
}
/* Ad-specific styling */
.ad-container p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}
.ad-container img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .poll-ad-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .poll-box, .ad-container {
        width: 90%;
    }
}
@media screen and (max-width: 320px) {
    
    .ad-container *{
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}
/* new style */
.parcentage-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.percentage-progress {
    height: 10px;
    background: #ddd;
    border-radius: 99999px;
    position: relative;
}

.percentage-bar {
    position: absolute;
    left: 0px;
    height: 100%;
    top: 0px;
    border-radius: 9999px;
    transition: all 0.5s ease;
    
} 

/* plugin heading style */
.pull-plugin-name {
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    background: #20B7D3;
    padding: 8px 21px;
    display: inline-flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}
.pull-plugin-name svg{
    width:32px;
    height: 28px;
}
.pull-plugin-name svg path{
    fill: #fff !important;
    stroke: #fff !important;
}

.title-animation{
    position: absolute; 
    z-index: 10; 
    width: 25%;
    height: 200%;
    background-color: rgba(255, 255, 255, 0.5); 
    right: 0; 
    bottom: 0;
    top: 0; 
    transform: rotate(45deg);
    opacity: 0; 
    transition: transform 1s, opacity 1s;


}
.pull-plugin-name:hover .title-animation{
    transform: translate(-600%, -100%) rotate(45deg);
    opacity: 1;     

}
.section-heading-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 70px;
    max-height: 70px;
    margin: 0px !important;
}
.section-heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pull-section-heading-text{
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.plugin-heading-text{
    position: relative;
    z-index: 10;
    width: 100%;
    margin-bottom: 0px !important;
    box-sizing: border-box;
}
.pull-heading-bg{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    left: 0;
    overflow: hidden;
}
.poll-results-container ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
button.submit-poll-btn {
    padding: 11px 25px !important;
}
.ad-derection-top .poll-box{
    margin-right: 0px !important;
}
.poll-results-container ul li {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.poll-question{
    margin: 0px !important;
}
.poll-widget-wrapper-header .ad-derection-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 16px;
}
.poll-widget-wrapper-header .ad-derection-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 16px;
}
.poll-badge-container{
    padding-bottom: 16px;
}


