.totalpoll-question-choices-item-container {
    position: relative;
    transition: all 0.3s ease;
}

.totalpoll-question-choices-item-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
}


.totalpoll-question-choices-item-container.selected .totalpoll-question-choices-item-control {
    background-color: #fff5f5 !important;  /* light red background */
    border: 2px solid #c62828 !important;   /* deep red border */
    border-radius: 8px;                     /* optional rounded corners */
}


/* Hide original image container */
.totalpoll-question-choices-item-content-container {
    display: none !important;
}

/* Modify the control section to flex layout */
.totalpoll-question-choices-item-control {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
}



/* Optionally, style inner selector box */
.totalpoll-question-choices-item-selected .totalpoll-question-choices-item-selector-box {
    background-color: #c62828 !important;
    border-color: #c62828 !important;
}


/* Radio button container */
.totalpoll-question-choices-item-selector {
    flex-shrink: 0 !important;
    order: 1 !important;
}

/* Label positioning */
.totalpoll-question-choices-item-label {
    flex-grow: 1 !important;
    order: 3 !important;
}

/* Create circular image placeholder between selector and label */
.totalpoll-question-choices-item-control::after {
    content: '' !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background-image: var(--president-image) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 2px solid #ddd !important;
    flex-shrink: 0 !important;
    order: 2 !important;
    display: block !important;
}

/* Fallback background color if image doesn't load */
.totalpoll-question-choices-item-control::after {
    background-color: #f0f0f0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .totalpoll-question-choices-item-control::after {
        width: 50px !important;
        height: 50px !important;
    }
    
    .totalpoll-question-choices-item-control {
        gap: 10px !important;
    }
}