/* Estilos personalizados para o Sistema de Eleições */

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: none;
}

.card-header {
    background-color: #f1f8ff;
    border-bottom: 1px solid #e3f2fd;
    font-weight: 600;
    border-radius: 10px 10px 0 0 !important;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.alert {
    border-radius: 8px;
    padding: 15px;
}

/* Estilos para a página de login */
.login-container {
    max-width: 400px;
    margin: 80px auto;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo h1 {
    font-weight: 700;
    color: #007bff;
}

/* Estilos para o painel de eleições */
.election-card {
    transition: transform 0.3s;
}

.election-card:hover {
    transform: translateY(-5px);
}

.election-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Estilos para a página de votação */
.candidate-card {
    text-align: center;
    padding: 20px;
}

.candidate-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 5px solid #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos de votação movidos para vote.php (inline) para melhor controle */

/* Estilos para o recibo de votação */
.receipt {
    background-color: #fff;
    border: 1px dashed #ccc;
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre-line;
}

.print-button {
    margin-top: 20px;
}

/* Estilos para relatórios */
.chart-container {
    height: 300px;
    margin-bottom: 30px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .login-container {
        margin: 40px auto;
    }
    
    .candidate-photo {
        width: 120px;
        height: 120px;
    }
}
