/* WP Poll Premium Styles */
.wp-poll-container {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    direction: rtl;
    text-align: right;
    color: #2c3e50;
    max-width: 100%;
    margin: 0 auto;
}

.wp-poll-question {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.2;
}

.wp-poll-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wp-poll-option {
    cursor: pointer;
}

.wp-poll-option label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #f8fafc;
    border: 2px solid #edf2f7;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wp-poll-option label:hover {
    background: #f1f5f9;
    border-color: #cbd5e0;
}

.wp-poll-option input[type="radio"],
.wp-poll-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3498db;
}

.wp-poll-submit {
    margin-top: 20px;
    padding: 14px 28px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
    text-align: center;
}

.wp-poll-submit:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.wp-poll-submit:active {
    transform: translateY(0);
}

/* Results Styles */
.wp-poll-result-item {
    margin-bottom: 18px;
}

.wp-poll-result-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
}

.wp-poll-bar-bg {
    background: #edf2f7;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.wp-poll-bar-fill {
    height: 100%;
    background: #3498db;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.wp-poll-total {
    margin-top: 25px;
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.wp-poll-message {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.wp-poll-message.success { color: #10b981; }
.wp-poll-message.error { color: #ef4444; }

/* Animation for result entrance */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wp-poll-results {
    animation: fadeIn 0.5s ease forwards;
}
