.mcf-voting-widget {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Admin test mode badge */
.mcf-admin-badge {
    background: #ff9800;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.mcf-vote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2271b1;
}

.mcf-vote-title {
    margin: 0;
    color: #2271b1;
}

.mcf-vote-timer {
    font-size: 18px;
    font-weight: 600;
    color: #d63638;
}

.mcf-timer-display {
    font-family: monospace;
    font-size: 24px;
}

.mcf-vote-instructions {
    background: #f0f6fc;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #2271b1;
}

.mcf-vote-instructions p {
    margin: 0;
}

.mcf-vote-message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: none;
}

.mcf-vote-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mcf-vote-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mcf-performers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.mcf-performer-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    position: relative;
}

.mcf-performer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.mcf-performer-card.selected {
    border-color: #2271b1;
    background: #f0f6fc;
}

.mcf-performer-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.mcf-performer-card h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #1d2327;
}

.mcf-performer-card .mcf-performer-bio {
    font-size: 14px;
    color: #50575e;
    line-height: 1.5;
    max-height: 80px;
    overflow: hidden;
}

/* Rank badge styles */
.mcf-rank-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2271b1;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 10;
}

.mcf-performer-card.selected .mcf-rank-badge {
    animation: badgePop 0.3s ease;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Special colors for different ranks */
.mcf-rank-badge:nth-of-type(1) {
    background: #d63638; /* Red for 1st choice */
}

.mcf-performer-card .mcf-rank-badge:contains("1") {
    background: #d63638;
}

.mcf-performer-card .mcf-rank-badge:contains("2") {
    background: #2271b1;
}

.mcf-performer-card .mcf-rank-badge:contains("3") {
    background: #50575e;
}

.mcf-vote-actions {
    text-align: center;
    margin-top: 25px;
}

.mcf-submit-vote {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.mcf-submit-vote:hover:not(:disabled) {
    background: #135e96;
}

.mcf-submit-vote:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.mcf-vote-closed,
.mcf-vote-already {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #50575e;
}

.mcf-results-widget {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.mcf-results-round {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.mcf-results-round h3 {
    background: #2271b1;
    color: #fff;
    padding: 15px 20px;
    margin: 0;
}

.mcf-results-list {
    padding: 20px;
}

.mcf-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.mcf-result-item:last-child {
    border-bottom: none;
}

.mcf-result-rank {
    font-size: 24px;
    font-weight: 700;
    color: #2271b1;
    min-width: 40px;
}

.mcf-result-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.mcf-result-name {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
}

.mcf-result-votes {
    font-size: 20px;
    font-weight: 600;
    color: #d63638;
}

.mcf-vote-loading,
.mcf-results-loading {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #50575e;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .mcf-performers-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .mcf-vote-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .mcf-performer-card img {
        height: 150px;
    }
    
    .mcf-rank-badge {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}