/* Main Styles */
body {
    background-color: #f5f8fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border-radius: 10px;
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
}

/* Custom Button Styles */
.btn-vote {
    background-color: #28a745;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-vote:hover {
    background-color: #218838;
    color: white;
}

/* Custom Card Styles */
.election-card {
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.election-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Admin Dashboard Styles */
.stats-card {
    border-left: 5px solid #007bff;
    background-color: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stats-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #495057;
}

.stats-card .number {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

/* Candidate Card */
.candidate-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: white;
    transition: box-shadow 0.3s;
}

.candidate-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.candidate-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

/* Result Chart Container */
.chart-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Footer */
.footer {
    padding: 20px 0;
    background-color: #343a40;
    color: #f8f9fa;
    margin-top: 50px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .candidate-image {
        width: 60px;
        height: 60px;
    }
    
    .stats-card .number {
        font-size: 1.5rem;
    }
} 