/* ==========================================================================
   EASY VOTE - Modern Digital Voting Platform Design System
   Slogan: Your Choice, Your Voice.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --ev-primary: #4f46e5;
    --ev-primary-hover: #4338ca;
    --ev-primary-light: #eef2ff;
    --ev-primary-glow: rgba(79, 70, 229, 0.25);
    
    --ev-secondary: #0ea5e9;
    --ev-secondary-hover: #0284c7;
    --ev-secondary-light: #f0f9ff;
    
    --ev-accent: #10b981;
    --ev-accent-light: #ecfdf5;
    
    --ev-warning: #f59e0b;
    --ev-danger: #ef4444;
    
    --ev-dark: #0f172a;
    --ev-dark-surface: #1e293b;
    --ev-dark-muted: #334155;
    
    --ev-body-bg: #f8fafc;
    --ev-card-bg: #ffffff;
    --ev-border: #e2e8f0;
    --ev-border-light: #f1f5f9;
    
    --ev-text-main: #0f172a;
    --ev-text-muted: #64748b;
    --ev-text-sub: #94a3b8;
    
    --ev-radius-sm: 8px;
    --ev-radius-md: 14px;
    --ev-radius-lg: 20px;
    --ev-radius-xl: 28px;
    --ev-radius-pill: 9999px;
    
    --ev-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --ev-shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --ev-shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --ev-shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --ev-shadow-glow: 0 12px 30px -5px rgba(79, 70, 229, 0.35);
}

/* Base Setup */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--ev-body-bg);
    color: var(--ev-text-main);
    line-height: 1.65;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Typography Utilities */
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-extrabold { font-weight: 800 !important; }

.ev-gradient-text {
    background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ev-gradient-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Bar */
.ev-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
}

.ev-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}


.ev-brand-logo {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.ev-logo-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    transition: transform 0.3s ease;
}

.ev-brand-logo:hover .ev-logo-icon-wrap {
    transform: scale(1.05) rotate(-3deg);
}

.ev-brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ev-dark);
    margin: 0;
    line-height: 1;
}

.ev-brand-name span {
    color: var(--ev-primary);
}

.ev-nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569 !important;
    padding: 8px 16px !important;
    border-radius: var(--ev-radius-pill);
    transition: all 0.2s ease;
}

.ev-nav-link:hover, .ev-nav-link.active {
    color: var(--ev-primary) !important;
    background-color: var(--ev-primary-light);
}

/* Custom Buttons */
.btn-ev-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--ev-radius-pill);
    border: none;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-ev-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45);
}

.btn-ev-secondary {
    background: #ffffff;
    color: var(--ev-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--ev-radius-pill);
    border: 1px solid var(--ev-border);
    box-shadow: var(--ev-shadow-xs);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-ev-secondary:hover {
    background: #f8fafc;
    color: var(--ev-primary);
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--ev-shadow-sm);
}

.btn-ev-outline-primary {
    background: transparent;
    color: var(--ev-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 11px 24px;
    border-radius: var(--ev-radius-pill);
    border: 1.5px solid var(--ev-primary);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-ev-outline-primary:hover {
    background: var(--ev-primary-light);
    color: var(--ev-primary-hover);
    border-color: var(--ev-primary-hover);
}

.btn-ev-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn-ev-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 700;
}

/* Badges and Tags */
.ev-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--ev-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
}

.ev-badge-indigo {
    background: var(--ev-primary-light);
    color: var(--ev-primary);
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.ev-badge-cyan {
    background: var(--ev-secondary-light);
    color: #0284c7;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.ev-badge-emerald {
    background: var(--ev-accent-light);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Live Pulse Dot */
.ev-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    position: relative;
    display: inline-block;
}

.ev-pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: #10b981;
    animation: ev-pulse 1.8s infinite cubic-bezier(0, 0, 0.2, 1);
}

@keyframes ev-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(2.8); opacity: 0; }
    100% { transform: scale(2.8); opacity: 0; }
}

/* Hero Section */
.ev-hero-section {
    position: relative;
    padding: 140px 0 90px;
    background: radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
                #ffffff;
    overflow: hidden;
}

.ev-hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
    background-size: 32px 32px;
    opacity: 0.5;
    pointer-events: none;
}

.ev-hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--ev-dark);
    margin-bottom: 24px;
}

.ev-hero-desc {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--ev-text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 620px;
}

/* Floating Glass Cards on Hero */
.ev-hero-card-preview {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--ev-radius-xl);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.6);
    padding: 32px;
    position: relative;
}

.ev-floating-badge {
    position: absolute;
    background: #ffffff;
    border-radius: var(--ev-radius-lg);
    box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--ev-border);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: ev-float 4s ease-in-out infinite;
}

.ev-floating-badge-1 {
    top: -24px;
    right: -20px;
}

.ev-floating-badge-2 {
    bottom: -24px;
    left: -20px;
    animation-delay: 2s;
}

@keyframes ev-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Stat Banner */
.ev-stat-box {
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--ev-border);
    border-radius: var(--ev-radius-lg);
    box-shadow: var(--ev-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ev-stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--ev-shadow-md);
    border-color: rgba(79, 70, 229, 0.3);
}

.ev-stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--ev-dark);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

/* Feature Cards */
.ev-feature-card {
    background: #ffffff;
    border: 1px solid var(--ev-border);
    border-radius: var(--ev-radius-lg);
    padding: 36px 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ev-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ev-shadow-lg);
    border-color: rgba(79, 70, 229, 0.4);
}

.ev-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--ev-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.ev-feature-card:hover .ev-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Event Cards */
.ev-event-card {
    background: #ffffff;
    border: 1px solid var(--ev-border);
    border-radius: var(--ev-radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--ev-shadow-sm);
}

.ev-event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ev-shadow-lg);
    border-color: rgba(79, 70, 229, 0.35);
}

.ev-event-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fallback rasio 4:5 (acuan 1080x1350 px) untuk browser tanpa native aspect-ratio */
@supports not (aspect-ratio: 4 / 5) {
    .ev-event-thumb {
        padding-top: 125%; /* 5 / 4 = 125% */
        height: 0;
    }
    .ev-event-thumb img,
    .ev-event-thumb > div {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.ev-event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.ev-event-card:hover .ev-event-thumb img {
    transform: scale(1.03);
}

.ev-event-status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    backdrop-filter: blur(10px);
}

.ev-event-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    backdrop-filter: blur(8px);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--ev-radius-pill);
}

.ev-event-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Responsive Mobile Horizontal Scroll - Event Berjalan (Ukuran Ekstra Kompak & Margin Samping) */
@media (max-width: 767.98px) {
    #event-voting {
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }

    /* Memberi ruang kosong / margin yang jelas di sisi kiri dan kanan layar */
    #event-voting .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    #event-voting .ev-event-cards-row,
    #event-voting .row.g-4 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.65rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        gap: 0.65rem !important; /* Jarak antar kartu kompak */
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    #event-voting .ev-event-cards-row::-webkit-scrollbar,
    #event-voting .row.g-4::-webkit-scrollbar {
        height: 4px;
    }

    #event-voting .ev-event-cards-row::-webkit-scrollbar-track,
    #event-voting .row.g-4::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 4px;
    }

    #event-voting .ev-event-cards-row::-webkit-scrollbar-thumb,
    #event-voting .row.g-4::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

    #event-voting .ev-event-cards-row::-webkit-scrollbar-thumb:hover,
    #event-voting .row.g-4::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    /* Ukuran kartu lebih kecil lagi: tidak memenuhi layar, tampak beberapa kartu sekaligus */
    #event-voting .ev-event-cards-row > [class*="col-"],
    #event-voting .row.g-4 > [class*="col-"] {
        flex: 0 0 46% !important;
        max-width: 172px !important;
        min-width: 140px !important;
        width: 46% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 0 !important;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
        display: flex;
        flex-direction: column;
    }

    #event-voting .ev-event-cards-row .ev-event-card,
    #event-voting .row.g-4 .ev-event-card {
        width: 100%;
        height: 100%;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    }

    #event-voting .ev-event-cards-row > [class*="col-"]:last-child,
    #event-voting .row.g-4 > [class*="col-"]:last-child {
        margin-right: 0.5rem;
    }

    /* Penyesuaian proporsional elemen kartu mobile */
    #event-voting .ev-event-thumb {
        border-radius: 12px 12px 0 0;
    }

    #event-voting .ev-event-category-badge {
        top: 6px;
        left: 6px;
        font-size: 0.58rem;
        padding: 2px 6px;
    }

    #event-voting .ev-event-status-badge {
        top: 6px;
        right: 6px;
    }

    #event-voting .ev-event-status-badge .badge {
        font-size: 0.58rem !important;
        padding: 2px 6px !important;
    }

    #event-voting .ev-event-body {
        padding: 10px 8px !important;
    }

    #event-voting .ev-event-body .d-flex.align-items-center.text-muted.small {
        font-size: 0.62rem !important;
        gap: 0.25rem !important;
        margin-bottom: 0.25rem !important;
    }

    #event-voting .ev-event-body h5 {
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        margin-bottom: 0.25rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    #event-voting .ev-event-body p.text-muted {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.35rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    #event-voting .ev-event-body .p-3.bg-light {
        padding: 4px 6px !important;
        margin-bottom: 0.35rem !important;
        font-size: 0.62rem !important;
        border-radius: 6px !important;
    }

    #event-voting .ev-event-body .p-3.bg-light .d-flex {
        font-size: 0.62rem !important;
    }

    #event-voting .ev-event-body .ev-progress-bar-wrap {
        height: 4px !important;
        margin: 2px 0 !important;
    }

    /* Countdown Widget Ekstra Kompak */
    #event-voting .ev-countdown-widget-compact {
        padding: 0.2rem 0.3rem !important;
        border-radius: 6px !important;
        margin-bottom: 0.35rem !important;
    }

    #event-voting .ev-countdown-header {
        margin-bottom: 2px !important;
    }

    #event-voting .ev-countdown-label {
        font-size: 0.55rem !important;
        padding: 1px 4px !important;
    }

    #event-voting .ev-countdown-subtext {
        font-size: 0.52rem !important;
    }

    #event-voting .ev-countdown-boxes {
        gap: 2px !important;
    }

    #event-voting .ev-countdown-box {
        min-width: 25px !important;
        padding: 1px 0 !important;
        border-radius: 4px !important;
    }

    #event-voting .ev-countdown-digit {
        font-size: 0.72rem !important;
        line-height: 1 !important;
    }

    #event-voting .ev-countdown-unit {
        font-size: 0.42rem !important;
        line-height: 1 !important;
        letter-spacing: 0;
    }

    #event-voting .ev-countdown-sep {
        font-size: 0.72rem !important;
        line-height: 1 !important;
        margin: 0 1px !important;
    }

    /* Tombol Action Kompak */
    #event-voting .ev-event-body .btn {
        padding: 5px 6px !important;
        font-size: 0.7rem !important;
        border-radius: 6px !important;
        line-height: 1.2 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.ev-progress-bar-wrap {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
    margin: 14px 0 8px;
}

.ev-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5 0%, #0ea5e9 100%);
    border-radius: 4px;
}

/* Step / How It Works */
.ev-step-card {
    position: relative;
    padding: 32px 28px;
    border-radius: var(--ev-radius-lg);
    background: #ffffff;
    border: 1px solid var(--ev-border);
    transition: all 0.3s ease;
    height: 100%;
}

.ev-step-card:hover {
    border-color: var(--ev-primary);
    transform: translateY(-4px);
    box-shadow: var(--ev-shadow-md);
}

.ev-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ev-primary-light);
    color: var(--ev-primary);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid rgba(79, 70, 229, 0.2);
}

/* CTA Banner Section */
.ev-cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #312e81 100%);
    border-radius: var(--ev-radius-xl);
    padding: 70px 48px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.ev-cta-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.4) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

/* Candidate Mini Card on Hero */
.ev-candidate-preview-item {
    background: #ffffff;
    border: 1px solid var(--ev-border);
    border-radius: var(--ev-radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.ev-candidate-preview-item:hover {
    border-color: var(--ev-primary);
    background: var(--ev-primary-light);
}

.ev-candidate-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--ev-dark);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Footer */
.ev-footer {
    background: #0b1120;
    color: #94a3b8;
    padding: 80px 0 30px;
    border-top: 1px solid #1e293b;
}

.ev-footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}

.ev-footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    display: block;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.ev-footer-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.ev-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e293b;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ev-social-btn:hover {
    background: var(--ev-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    .ev-hero-section {
        padding: 110px 0 60px;
    }
    .ev-cta-banner {
        padding: 40px 24px;
    }
    .ev-floating-badge {
        display: none;
    }
}

/* =========================================================================
   FULL-WIDTH & FULL-HEIGHT MOBILE LEADERBOARD SECTION (EVENT DETAIL)
   ========================================================================= */
.ev-event-leaderboard {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    scroll-margin-top: 70px;
    background-color: #020617;
}

/* =========================================================
   LEADERBOARD - PREMIUM SHINING LIGHT EFFECT
   ========================================================= */

.ev-event-leaderboard {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(99, 102, 241, 0.38) 0%,
            rgba(59, 130, 246, 0.20) 22%,
            rgba(30, 27, 75, 0.35) 42%,
            rgba(15, 23, 42, 0.95) 70%,
            #020617 100%
        ) !important;
}


/* =========================================================
   CAHAYA BESAR UTAMA
   ========================================================= */

.ev-event-leaderboard::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    top: -300px;
    left: 50%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(129, 140, 248, 0.38) 12%,
            rgba(99, 102, 241, 0.25) 28%,
            rgba(59, 130, 246, 0.12) 45%,
            transparent 72%
        );

    filter: blur(18px);

    pointer-events: none;

    z-index: 0;

    animation:
        evLeaderboardMainGlow 6s ease-in-out infinite,
        evLeaderboardPulse 2.5s ease-in-out infinite;
}


/* =========================================================
   CAHAYA KEDUA DARI BAWAH
   ========================================================= */

.ev-event-leaderboard::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    bottom: -220px;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(56, 189, 248, 0.30) 15%,
            rgba(59, 130, 246, 0.18) 35%,
            transparent 70%
        );

    filter: blur(22px);

    pointer-events: none;

    z-index: 0;

    animation:
        evLeaderboardSecondaryGlow 8s ease-in-out infinite;
}


/* =========================================================
   ISI LEADERBOARD DI ATAS EFEK CAHAYA
   ========================================================= */

.ev-event-leaderboard > .container {
    position: relative;
    z-index: 5;
}


/* =========================================================
   CAHAYA UTAMA BERGERAK
   ========================================================= */

@keyframes evLeaderboardMainGlow {

    0% {
        transform:
            translateX(-50%)
            translate3d(-150px, 30px, 0)
            scale(0.85);

        opacity: 0.55;
    }

    20% {
        transform:
            translateX(-50%)
            translate3d(-50px, 90px, 0)
            scale(1.05);

        opacity: 0.90;
    }

    40% {
        transform:
            translateX(-50%)
            translate3d(100px, 30px, 0)
            scale(1.15);

        opacity: 0.70;
    }

    60% {
        transform:
            translateX(-50%)
            translate3d(160px, -50px, 0)
            scale(1.00);

        opacity: 0.95;
    }

    80% {
        transform:
            translateX(-50%)
            translate3d(20px, -90px, 0)
            scale(1.12);

        opacity: 0.75;
    }

    100% {
        transform:
            translateX(-50%)
            translate3d(-150px, 30px, 0)
            scale(0.85);

        opacity: 0.55;
    }
}


/* =========================================================
   EFEK BERKEDIP / BERKILAU
   ========================================================= */

@keyframes evLeaderboardPulse {

    0%,
    100% {
        filter:
            blur(18px)
            brightness(1);
    }

    25% {
        filter:
            blur(14px)
            brightness(1.35);
    }

    50% {
        filter:
            blur(10px)
            brightness(1.65);
    }

    75% {
        filter:
            blur(16px)
            brightness(1.25);
    }
}


/* =========================================================
   CAHAYA KEDUA BERGERAK
   ========================================================= */

@keyframes evLeaderboardSecondaryGlow {

    0% {
        transform:
            translate3d(0, 0, 0)
            scale(0.75);

        opacity: 0.35;
    }

    25% {
        transform:
            translate3d(-100px, -120px, 0)
            scale(1.05);

        opacity: 0.75;
    }

    50% {
        transform:
            translate3d(-220px, -40px, 0)
            scale(1.15);

        opacity: 0.90;
    }

    75% {
        transform:
            translate3d(-120px, 80px, 0)
            scale(0.95);

        opacity: 0.60;
    }

    100% {
        transform:
            translate3d(0, 0, 0)
            scale(0.75);

        opacity: 0.35;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .ev-event-leaderboard::before {

        width: 500px;
        height: 500px;

        top: -220px;

        filter: blur(14px);
    }

    .ev-event-leaderboard::after {

        width: 350px;
        height: 350px;

        right: -140px;
        bottom: -150px;

        filter: blur(18px);
    }
}

@media (max-width: 767.98px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    .ev-event-leaderboard {
        width: 100% !important;
        width: 100vw !important;
        max-width: 100vw !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: max(2rem, env(safe-area-inset-top, 2rem)) !important;
        padding-bottom: max(2rem, env(safe-area-inset-bottom, 2rem)) !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        background-color: #020617 !important;
        background: radial-gradient(circle at 50% 20%, #1e1b4b 0%, #0f172a 60%, #020617 100%) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .ev-event-leaderboard > .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

    .ev-event-leaderboard .ev-top-winners-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}

/* =========================================================================
   CANDIDATE CARD 4:5 PORTRAIT PHOTO (EVENT DETAIL - 1080x1350)
   ========================================================================= */
.ev-candidate-photo-wrap {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ev-candidate-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =========================================================================
   TOP 3 WINNERS 4:5 POSTER FRAMES (LEADERBOARD - 1080x1350)
   ========================================================================= */
.ev-winner-poster-container {
    width: 100%;
    display: block;
    margin: 0.5rem auto 1rem;
    position: relative;
}

.ev-winner-poster-container-gold {
    max-width: 200px;
}

.ev-winner-poster-container-silver,
.ev-winner-poster-container-bronze {
    max-width: 170px;
}

.ev-poster-frame-gold,
.ev-poster-frame-silver,
.ev-poster-frame-bronze {
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
    border-radius: 12px;
}

.ev-poster-frame-gold img,
.ev-poster-frame-silver img,
.ev-poster-frame-bronze img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 767.98px) {
    .ev-winner-poster-container-gold {
        max-width: 125px !important;
        margin: 0.3rem auto 0.35rem !important;
    }

    .ev-winner-poster-container-silver,
    .ev-winner-poster-container-bronze {
        max-width: 98px !important;
        margin: 0.25rem auto 0.3rem !important;
    }

    .ev-poster-frame-gold,
    .ev-poster-frame-silver,
    .ev-poster-frame-bronze {
        border-radius: 8px !important;
    }
}

/* =========================================================================
   EVENT HERO 4:5 POSTER (EVENT DETAIL - 1080x1350)
   ========================================================================= */
.ev-event-hero-poster-wrap {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5;
    background-color: #0f172a;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ev-event-hero-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 991.98px) {
    .ev-event-hero-poster-wrap {
        max-width: 360px;
    }
}

@media (max-width: 575.98px) {
    .ev-event-hero-poster-wrap {
        max-width: 320px;
    }
}

/* =========================================================================
   ELEGANT BUTTON MICRO-INTERACTIONS & FEEDBACK (MOBILE & DESKTOP)
   ========================================================================= */
.btn,
.btn-ev-primary,
.btn-ev-secondary,
.btn-ev-outline-primary,
.ev-hamburger-btn,
.ev-sidebar-close-btn,
#btnScrollTop {
    -webkit-tap-highlight-color: transparent;
    outline: none !important;
}

/* Active / Tap scale & depression feedback */
.btn:active,
.btn-ev-primary:active,
.btn-ev-secondary:active,
.btn-ev-outline-primary:active,
.ev-hamburger-btn:active,
.ev-sidebar-close-btn:active,
#btnScrollTop:active {
    transform: translateY(1px) scale(0.97) !important;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Subtle shine animation on primary buttons */
.btn-ev-primary {
    position: relative;
    overflow: hidden;
}

.btn-ev-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 25%;
    height: 200%;
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.28) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    transition: none;
}

.btn-ev-primary:hover::after {
    left: 140%;
    transition: left 0.8s ease-in-out;
}

/* Scroll-to-top button animations */
#btnScrollTop {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, background 0.2s ease !important;
}

#btnScrollTop:hover {
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.55) !important;
}

/* =========================================================================
   MOBILE NAVIGATION SIDEBAR & HAMBURGER (OFFCANVAS)
   ========================================================================= */
.ev-hamburger-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 !important;
    color: var(--ev-primary);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ev-hamburger-btn:hover {
    background: var(--ev-primary-light);
    border-color: rgba(79, 70, 229, 0.3);
    color: var(--ev-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.ev-hamburger-btn:active {
    transform: scale(0.92);
}

.ev-hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--ev-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.ev-hamburger-line:nth-child(2) {
    width: 14px;
    margin-right: auto;
    margin-left: 12px;
}

.ev-hamburger-btn:hover .ev-hamburger-line:nth-child(2) {
    width: 20px;
}

/* Offcanvas Sidebar Container */
.ev-mobile-sidebar {
    width: min(320px, 86vw) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: -10px 0 35px rgba(15, 23, 42, 0.12) !important;
    z-index: 1060 !important;
}

@media (max-width: 767.98px) {
    .ev-mobile-sidebar {
        border-top-left-radius: 24px !important;
        border-bottom-left-radius: 24px !important;
    }
}

/* Offcanvas Header */
.ev-sidebar-header {
    background: #ffffff;
}

.ev-sidebar-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ev-sidebar-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: rotate(90deg) scale(1.05);
}

.ev-sidebar-close-btn:active {
    transform: scale(0.92);
}

/* Offcanvas Body Navigation Links */
.ev-sidebar-nav .ev-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    color: #334155 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.ev-sidebar-nav .ev-sidebar-link:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(14, 165, 233, 0.06) 100%);
    color: var(--ev-primary) !important;
    border-color: rgba(79, 70, 229, 0.15);
    transform: translateX(4px);
}

.ev-sidebar-nav .ev-sidebar-link:active {
    transform: scale(0.98);
}

.ev-sidebar-nav .ev-sidebar-link.active {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(14, 165, 233, 0.1) 100%);
    color: var(--ev-primary) !important;
    border-color: rgba(79, 70, 229, 0.25);
}

.ev-sidebar-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.ev-sidebar-nav .ev-sidebar-link:hover .ev-sidebar-icon-wrap {
    transform: scale(1.12);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

/* Sidebar Backdrop */
.offcanvas-backdrop.show {
    opacity: 0.55 !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* =========================================
   FIXED NAVBAR - RUANG UNTUK KONTEN
   ========================================= */

body {
    padding-top: 82px;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 76px;
    }
}
/* =========================================================
   EVENT TITLE BANNER
   PREMIUM FLOATING LIGHT EFFECT
   ========================================================= */

.event-title-banner {
    position: relative;
    width: 100%;
    overflow: hidden;

    border-radius: 18px;
    padding: 28px 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 10% 50%,
            rgba(59, 130, 246, 0.30),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 50%,
            rgba(139, 92, 246, 0.30),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #080d20 0%,
            #111936 45%,
            #1e1b4b 70%,
            #080d20 100%
        );

    border: 1px solid rgba(255, 255, 255, 0.14);

    /*
     * Efek mengambang
     */
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.20),
        0 18px 40px rgba(15, 23, 42, 0.22),
        0 0 35px rgba(79, 70, 229, 0.18);

    isolation: isolate;

    /*
     * Banner naik turun perlahan
     */
    animation:
        eventTitleFloating 5s ease-in-out infinite;
}


/* =========================================================
   CAHAYA BESAR YANG BERGERAK DI DALAM BACKGROUND
   ========================================================= */

.event-title-banner::before {
    content: "";

    position: absolute;
    inset: -80px;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(59, 130, 246, 0.35),
            transparent 22%
        ),
        radial-gradient(
            circle at 50% 20%,
            rgba(255, 255, 255, 0.12),
            transparent 18%
        ),
        radial-gradient(
            circle at 85% 50%,
            rgba(139, 92, 246, 0.35),
            transparent 22%
        );

    filter: blur(15px);

    opacity: 0.75;

    animation:
        eventTitleBackgroundGlow 6s ease-in-out infinite alternate;

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   CAHAYA MENYAPU DARI KIRI KE KANAN
   ========================================================= */

.event-title-banner::after {
    content: "";

    position: absolute;

    top: -120%;
    left: -50%;

    width: 35%;
    height: 340%;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 20%,
            rgba(255, 255, 255, 0.30) 50%,
            rgba(96, 165, 250, 0.12) 65%,
            transparent 100%
        );

    transform: rotate(20deg);

    filter: blur(3px);

    animation:
        eventTitleLightSweep 5s ease-in-out infinite;

    pointer-events: none;

    z-index: 1;
}


/* =========================================================
   JUDUL EVENT
   ========================================================= */

.event-title-banner h1 {
    position: relative;

    z-index: 5;

    width: 100%;

    margin: 0;

    text-align: center;

    color: #ffffff !important;

    font-weight: 800;

    font-size: clamp(
        1.6rem,
        3vw,
        2.7rem
    );

    line-height: 1.25;

    letter-spacing: -0.02em;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.45),
        0 0 12px rgba(255, 255, 255, 0.18),
        0 0 25px rgba(96, 165, 250, 0.20);

    animation:
        eventTitleTextGlow 3s ease-in-out infinite alternate;
}


/* =========================================================
   ANIMASI FLOATING
   Banner terasa mengambang naik turun
   ========================================================= */

@keyframes eventTitleFloating {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }

}


/* =========================================================
   ANIMASI CAHAYA BACKGROUND
   ========================================================= */

@keyframes eventTitleBackgroundGlow {

    0% {
        transform:
            translate3d(-4%, 0, 0)
            scale(1);

        opacity: 0.55;
    }

    50% {
        transform:
            translate3d(4%, -2%, 0)
            scale(1.08);

        opacity: 1;
    }

    100% {
        transform:
            translate3d(-2%, 3%, 0)
            scale(1.04);

        opacity: 0.70;
    }

}


/* =========================================================
   ANIMASI CAHAYA MENYAPU
   ========================================================= */

@keyframes eventTitleLightSweep {

    0% {
        left: -50%;
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    45% {
        opacity: 1;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        left: 130%;
        opacity: 0;
    }

}


/* =========================================================
   ANIMASI GLOW PADA TEKS
   ========================================================= */

@keyframes eventTitleTextGlow {

    0% {
        text-shadow:
            0 2px 8px rgba(0, 0, 0, 0.45),
            0 0 10px rgba(255, 255, 255, 0.12);
    }

    100% {
        text-shadow:
            0 2px 8px rgba(0, 0, 0, 0.45),
            0 0 15px rgba(255, 255, 255, 0.35),
            0 0 30px rgba(96, 165, 250, 0.40);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .event-title-banner {

        padding: 20px 14px;

        border-radius: 15px;

        margin-bottom: 20px !important;

        /*
         * Floating sedikit lebih halus di HP
         */
        animation:
            eventTitleFloating 6s ease-in-out infinite;
    }


    .event-title-banner h1 {

        font-size: 1.45rem;

        line-height: 1.3;

    }

}

/* =========================================================
   SEARCH PESERTA
   ========================================================= */

.candidate-search-wrapper {
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.candidate-search-box {
    position: relative;
    width: 100%;
}

.candidate-search-input {
    width: 100%;
    height: 52px;

    padding: 0 48px 0 48px;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    background: #ffffff;

    color: #1e293b;

    font-family: inherit;
    font-size: 0.95rem;

    outline: none;

    box-shadow:
        0 4px 15px rgba(15, 23, 42, 0.06);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.candidate-search-input::placeholder {
    color: #94a3b8;
}

.candidate-search-input:focus {
    border-color: #4f46e5;

    box-shadow:
        0 0 0 3px rgba(79, 70, 229, 0.10),
        0 6px 20px rgba(15, 23, 42, 0.08);
}

.candidate-search-box > .bi-search {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    color: #64748b;

    font-size: 1.05rem;

    pointer-events: none;

    z-index: 2;
}

.candidate-search-clear {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    width: 34px;
    height: 34px;

    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f1f5f9;

    color: #64748b;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.candidate-search-clear:hover {
    background: #e2e8f0;
    color: #1e293b;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .candidate-search-wrapper {
        padding: 0 4px;
        margin-bottom: 1.5rem !important;
    }

    .candidate-search-input {
        height: 48px;

        padding-left: 44px;
        padding-right: 44px;

        border-radius: 12px;

        font-size: 0.9rem;
    }

    .candidate-search-box > .bi-search {
        left: 15px;
    }

}

/* =========================================================
   MOBILE SIDEBAR - FULL SCREEN
   ========================================================= */

@media (max-width: 991.98px) {

    .ev-mobile-sidebar {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;

        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;

        border: 0 !important;
        border-radius: 0 !important;
    }

}

/* =========================================================
   CUSTOM EASY VOTE LOGO
   ========================================================= */

/* =========================================================
   CUSTOM EASY VOTE LOGO
   ========================================================= */

.ev-custom-logo {
    width: 145px;
    height: 48px;
    display: block;
    object-fit: contain;
    object-position: left center;
}

/* Logo pada sidebar mobile */
.ev-custom-logo-mobile {
    width: 135px;
    height: 42px;
    object-fit: contain;
    object-position: left center;
}

/* Mobile */
@media (max-width: 991.98px) {

    .ev-custom-logo {
        width: 135px;
        height: 44px;
    }

    .ev-custom-logo-mobile {
        width: 135px;
        height: 42px;
    }

}

/* =========================================================
   LIVE VOTE NOTIFICATION
   ========================================================= */

.live-vote-notification {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-25px);
    justify-content: center;
    text-align: center;

    z-index: 99999;

    display: flex;
    align-items: center;
    gap: 12px;

    width: max-content;
    max-width: calc(100vw - 30px);

    padding: 12px 22px;

    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(79, 70, 229, 0.15);

    border-radius: 50px;

    box-shadow:
        0 12px 35px rgba(15, 23, 42, 0.18),
        0 0 30px rgba(79, 70, 229, 0.15);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;

    pointer-events: none;
}

.live-vote-notification.show {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


/* Icon */

.live-vote-notification-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #4f46e5,
        #0ea5e9
    );

    color: #ffffff;

    font-size: 18px;
}


/* Text */

.live-vote-notification-content {
    font-size: 14px;
    font-weight: 600;

    color: #1e293b;

    line-height: 1.4;
}

.live-vote-notification-content strong {
    color: #4f46e5;
}


/* Mobile */

@media (max-width: 576px) {

    .live-vote-notification {
        top: 75px;

        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);

        padding: 10px 14px;

        border-radius: 16px;
    }

    .live-vote-notification-icon {
        width: 32px;
        height: 32px;

        font-size: 16px;
    }

    .live-vote-notification-content {
        font-size: 13px;
    }
}
