.new-at-422-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.current-poll {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.poll-header {
    width: 100%;
    background: #000;
    padding: 20px;
}

.header-image {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
}

.poll-content {
    padding: 20px;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    background: #000;
    color: white;
}

.video-container {
    position: relative;
    width: 500px;
    height: 300px;
    overflow: hidden;
    margin-bottom: 0;
    flex: 0 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.voting-section {
    flex: 1;
    margin-top: 0;
    width: auto;
    text-align: center;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.poll-option {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vote-button {
    min-width: 60px;
    padding: 6px 12px;
    background: #ffff00;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
    font-size: 1em;
    max-width: 80px;
}

.vote-button:hover {
    background: #c82333;
}

.vote-bar {
    flex-grow: 1;
    height: 10px;
    background: #333;
    border-radius: 0;
    overflow: hidden;
    margin: 5px 0;
}

.vote-progress {
    height: 100%;
    background: #ffff00;
}

.vote-percentage {
    min-width: 80px;
    text-align: right;
    color: white;
}

.previous-polls {
    margin-top: 40px;
}

.polls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    background-color: black;
    padding: 20px;

    border-radius: 10px;
}

.poll-card {
    background: black;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ffff00;
}

.video-thumbnail {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.poll-card h3 {
    color: white;
    font-size: 1.1rem;
    margin: 10px 0;
    text-align: center;
}

.option-label {
    color: white;
}

.percentage {
    color: white;
}

.result-bar {
    margin: 10px 0;
}

.progress-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin: 5px 0;
}

.progress {
    height: 100%;
    background: #dc3545;
}

.voting-ends {
    color: white;
    margin-top: 20px;
    font-style: italic;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .poll-option {
        flex-direction: column;
        align-items: stretch;
    }

    .vote-percentage {
        text-align: center;
    }
}

@media (max-width: 992px) {
    .poll-content {
        flex-direction: column;
        align-items: center;
    }

    .video-container {
        width: 100%;
        height: auto;
        padding-bottom: 56.25%;
    }

    .voting-section {
        width: 100%;
    }
}

.poll-message {
    background-color: black;
    padding: 20px;
    text-align: center;
}

.poll-message h1 {
    color: white;
    margin: 0;
    word-wrap: break-word;
    max-width: 100%;

}

.results-header {
    background-color: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.results-header h1 {
    margin: 0;
    font-size: 2em;
}