/* Custom styles for Instituto Itapoã Eleições */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

/* Kiosk mode body */
.kiosk-body {
    background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
}

.unselectable {
    user-select: none;
    -webkit-user-select: none;
}

/* Candidate Card Styling */
.candidate-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 2px solid transparent;
    cursor: pointer;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
}

.candidate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: #3b82f6;
}

.candidate-number-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.candidate-avatar {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #38bdf8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.candidate-avatar-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #64748b;
    font-size: 3.5rem;
    color: #cbd5e1;
}

/* Vote Button Large Touch Friendly */
.btn-vote-big {
    font-size: 1.4rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transition: all 0.2s ease;
}

.btn-vote-big:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
}

/* Results bars & Chart container */
.results-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
}

.progress-bar-glow {
    background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

/* Pulse animation for live status */
.pulse-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}
