body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f6f7fb;
    color: #202124;
}

.poll-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.poll-card {
    width: min(100%, 620px);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.eyebrow {
    margin: 0 0 8px;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

h1 {
    margin: 0 0 22px;
    font-size: 28px;
    line-height: 1.25;
}

h2 {
    margin: 28px 0 14px;
    font-size: 20px;
}

.poll-form {
    display: grid;
    gap: 12px;
}

.poll-option {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border: 1px solid #d9dde5;
    border-radius: 10px;
    cursor: pointer;
}

.poll-option:hover {
    background: #fafafa;
}

.poll-option input {
    width: 18px;
    height: 18px;
}

button {
    width: 130px;
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    background: #2f66d0;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.message {
    margin: 0;
    padding: 12px;
    border-radius: 8px;
}

.message.success {
    background: #e9f8ef;
    color: #176c35;
}

.message.error {
    background: #fdeaea;
    color: #9b1c1c;
}

.results-wrap {
    border-top: 1px solid #edf0f5;
    margin-top: 26px;
}

.result-row {
    margin-bottom: 16px;
}

.result-info {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 7px;
}

.bar {
    height: 12px;
    background: #edf0f5;
    border-radius: 999px;
    overflow: hidden;
}

.bar span {
    display: block;
    height: 100%;
    background: #2f66d0;
}

small,
.total-votes {
    color: #666;
}
