.election-voting-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.election-voting-content h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.election-region {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.election-voting-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.election-voting-form h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 18px;
}

.election-role-title {
    color: #007cba;
    margin: 25px 0 15px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.election-role-section {
    background: white;
    border-left: 4px solid #007cba;
    border-radius: 4px;
    margin-bottom: 25px;
    overflow: hidden;
}

.election-candidate {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.election-candidate.has-border-top {
    border-top: 1px solid #eee;
}

.election-candidate-info {
    flex: 1;
}

.election-candidate-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.election-vote-options {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.election-vote-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
}

.election-vote-option input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

.election-submit {
    text-align: center;
    margin-top: 25px;
}

.election-submit button {
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background: #007cba;
    color: white;
    transition: background 0.3s;
}

.election-submit button:hover {
    background: #005a87;
}

.election-submit button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.election-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
}

.election-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.election-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.election-info {
    background: #e7f3ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.election-info h3 {
    color: #007cba;
    margin-top: 0;
    font-size: 16px;
}

.election-info ul {
    margin: 10px 0;
    padding-left: 20px;
}

.election-info li {
    margin: 8px 0;
    color: #333;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .election-voting-container {
        margin: 20px auto;
        padding: 10px;
    }

    .election-voting-form {
        padding: 20px;
    }

    .election-candidate {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .election-candidate-info {
        width: 100%;
        margin-bottom: 15px;
    }

    .election-candidate.has-border-top {
        border-top: 1px solid #ddd;
    }

    .election-vote-options {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .election-submit button {
        width: 100%;
        padding: 14px;
    }
}
