/* ===== WAZZUP.PH ELEGANT POLL STYLES ===== */
.wazzup-poll {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wazzup-poll h3 {
    font-size: 1.5em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
}

/* Poll Options */
.poll-form {
    margin-bottom: 20px;
}

.poll-option {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.poll-option:hover {
    border-color: #3498db;
    background: #f1f9ff;
    transform: translateY(-1px);
}

.poll-option input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.2);
}

.poll-option img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    margin-right: 15px;
    border: 2px solid #e9ecef;
    object-fit: cover;
}

.poll-option span {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1em;
}

/* Selected State */
.poll-option input[type="radio"]:checked ~ span {
    color: #3498db;
    font-weight: 600;
}

.poll-option input[type="radio"]:checked ~ img {
    border-color: #3498db;
}

/* Vote Button */
.poll-vote-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    margin: 20px auto 0;
    display: block;
    transition: all 0.2s ease;
}

.poll-vote-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.poll-vote-btn:active {
    transform: translateY(0);
}

/* Messages */
.poll-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

/* Announcement */
.poll-announcement {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.poll-announcement p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

/* ===== THANK YOU MESSAGE ===== */
.wazzup-poll-thanks {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.wazzup-poll-thanks h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #27ae60;
    padding-bottom: 15px;
}

.thank-you-message h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #27ae60;
    font-weight: 600;
}

.thank-you-message p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.results-announcement {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
}

.results-announcement p {
    margin: 8px 0;
    color: #155724;
}

.results-announcement p:first-child {
    font-weight: 600;
    font-size: 1.1em;
}

/* ===== RESULTS STYLES ===== */
.wazzup-poll-results {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.wazzup-poll-results h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 15px;
}

.wazzup-poll-results > p {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.poll-result-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
}

.poll-result-item img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    margin-right: 15px;
    border: 2px solid #e9ecef;
    object-fit: cover;
}

.poll-option-name {
    font-weight: 600;
    min-width: 80px;
    color: #2c3e50;
}

.poll-bar-container {
    flex-grow: 1;
    height: 16px;
    background: #e9ecef;
    border-radius: 8px;
    margin: 0 15px;
    overflow: hidden;
}

.poll-bar {
    height: 100%;
    background: #3498db;
    border-radius: 8px;
    transition: width 0.8s ease;
}

.poll-stats {
    font-weight: 500;
    min-width: 100px;
    text-align: right;
    color: #666;
    font-size: 0.9em;
}

.total-votes {
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .wazzup-poll,
    .wazzup-poll-thanks,
    .wazzup-poll-results {
        margin: 20px 15px;
        padding: 25px 20px;
    }
    
    .poll-option {
        padding: 12px;
    }
    
    .poll-option img {
        width: 50px;
        height: 50px;
    }
    
    .poll-option span {
        font-size: 0.95em;
    }
    
    .poll-vote-btn {
        padding: 12px 25px;
        width: 100%;
    }
    
    .poll-result-item {
        flex-wrap: wrap;
    }
    
    .poll-bar-container {
        margin: 10px 0;
        order: 3;
        width: 100%;
    }
    
    .poll-stats {
        text-align: left;
        min-width: auto;
        margin-top: 5px;
    }
}

/* Smooth animations */
.wazzup-poll,
.wazzup-poll-thanks,
.wazzup-poll-results {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Focus states for accessibility */
.poll-option input[type="radio"]:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.poll-vote-btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}