/*
Theme Name: Video Vote Theme
Author: Ваше имя
Description: По центру MP4 с автовоспроизведением + голосование на куки
Version: 1.0
*/

body {
    margin: 0;
    background: #111;
    color: #eee;
    font-family: system-ui, sans-serif;
}

.vote-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 15px;
    text-align: center;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.video-wrapper video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.vote-box h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.vote-options {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.vote-btn {
    padding: 14px 26px;
    cursor: pointer;
    border: 1px solid #444;
    background: #1e1e1e;
    color: #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.2s;
}

.vote-btn:hover:not(:disabled) {
    background: #2a2a2a;
    border-color: #666;
}

.vote-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.vote-results {
    margin-top: 25px;
    font-size: 1rem;
    line-height: 2;
    text-align: left;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.vote-results h4 {
    text-align: center;
    margin-bottom: 10px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #222;
    padding: 4px 0;
}

.vote-message {
    margin-top: 15px;
    font-weight: bold;
    min-height: 1.2em;
}

.vote-message.ok { color: #4caf50; }
.vote-message.err { color: #f44336; }

.report-btn {
    position: fixed;
    z-index: 9999;
    padding: 10px 18px;
    background: #d33;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: left 0.15s ease, top 0.15s ease;
    user-select: none;
}
.report-btn:hover {
    background: #b22;
}