.cnn-tse-container {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    border-radius: 8px;
    padding: 16px;
    max-width: 100%;
    box-sizing: border-box;
}

.cnn-tse-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.cnn-live-badge {
    background-color: #cc0000;
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.cnn-tse-filters select {
    background: #222;
    color: #fff;
    border: 1px solid #444;
    padding: 6px 10px;
    border-radius: 4px;
}

.cnn-tse-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 15px;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 8px;
}

/* Estilo Carrossel com Scroll Horizontal */
.cnn-tse-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cnn-tse-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.cnn-tse-carousel::-webkit-scrollbar {
    height: 6px;
}
.cnn-tse-carousel::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

/* Card do Candidato */
.cnn-candidate-card {
    min-width: 180px;
    max-width: 180px;
    background: #1e1e1e;
    border-radius: 6px;
    padding: 12px;
    flex-shrink: 0;
    border-top: 3px solid #cc0000;
    text-align: center;
}

.cnn-candidate-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px auto;
    background-color: #333;
}

.cnn-candidate-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cnn-candidate-party {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
}

.cnn-candidate-percent {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
}

.cnn-candidate-votes {
    font-size: 11px;
    color: #aaa;
}

.cnn-progress-bar {
    background: #333;
    height: 6px;
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.cnn-progress-fill {
    background: #cc0000;
    height: 100%;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

.cnn-carousel-btn {
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    z-index: 2;
    border-radius: 50%;
}
.cnn-carousel-btn.prev { left: -10px; }
.cnn-carousel-btn.next { right: -10px; }