/* /public_html/assets/css/main_style.css - SUPERCHARGED UI/UX VERSION */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

body {
    background-color: #f4f7fc;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.navbar {
    border-bottom: 1px solid #dee2e6;
}
.navbar-brand span {
    font-weight: 700;
    font-size: 1.25rem;
    color: #333;
}

/* Header Section */
#active-election-display .lead {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0d6efd;
}

/* Stat Cards */
.stat-card {
    background-color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.stat-card .card-title {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
}
.stat-card .card-text {
    font-size: 2.25rem;
    font-weight: 800;
    color: #212529;
}
.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

/* Progress Bar */
.progress-card h5 {
    font-weight: 700;
}
.progress {
    height: 1.75rem !important;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.5rem;
    background-color: #e9ecef;
}

/* Tables */
.section-title {
    font-weight: 700;
    color: #343a40;
    margin-bottom: 1.5rem;
}
.table thead th {
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #6c757d;
}
.table tbody tr {
    background-color: #fff;
    border-bottom: 1px solid #f4f7fc;
    transition: all 0.2s ease;
}
.table tbody tr:hover {
    background-color: #eef5ff;
    cursor: pointer;
    transform: scale(1.01);
}
.table tbody td {
    border-top: none;
    padding: 1.25rem 1rem;
    vertical-align: middle;
}
.table .fw-bold {
    color: #343a40;
}

/* Winner Banner */
#winner-banner-container .card {
    border-color: #198754 !important;
}
#winner-banner-container .section-title {
    font-size: 1.5rem;
}
#winner-banner-container .display-4 {
    font-size: 3.5rem;
}

/* Loader */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0d6efd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Animate.css Integration */
.animate__animated.animate__fadeInUp {
    --animate-duration: 0.6s;
}