/* VvE Laadpalen Stemplatform — app-specifieke stijlen */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.vve-hero {
    min-height: 85vh;
    padding-top: 80px;
    position: relative;
    background: url('../css/hero-garage.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.vve-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.45) 60%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 0;
}

.vve-hero > .container {
    position: relative;
    z-index: 1;
}

.vve-hero h1,
.vve-hero p,
.vve-hero .lead {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.vve-hero-icon {
    font-size: 5rem;
    color: #ff9a96;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* ── Statistieken cards ───────────────────────────────────────────────────── */
.vve-stat-icon {
    font-size: 2.5rem;
    color: #ff665e;
    line-height: 1;
}

/* ── Voorstel headers ─────────────────────────────────────────────────────── */
.vve-proposal-header {
    padding: 1rem 1.25rem;
}
.proposal-a { background: linear-gradient(135deg, #ff665e, #ff9a96); }
.proposal-b { background: linear-gradient(135deg, #4f8ef7, #7ab3ff); }
.proposal-c { background: linear-gradient(135deg, #2ecc71, #6ee099); }

/* ── Tijdlijn ─────────────────────────────────────────────────────────────── */
.vve-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.vve-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e9ecef;
}

.vve-timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.vve-timeline-marker {
    position: absolute;
    left: 9px;
    top: 20px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #dee2e6;
}

/* ── Stemkaarten ──────────────────────────────────────────────────────────── */
.vve-vote-option {
    border: 2px solid #dee2e6;
    border-radius: 16px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}
.vve-vote-option:hover {
    border-color: #ff665e;
    background: #fff8f7;
}
.vve-vote-option.selected {
    border-color: #ff665e;
    background: #fff8f7;
    box-shadow: 0 0 0 3px rgba(255, 102, 94, 0.15);
}
.vve-vote-option input[type="radio"] {
    display: none;
}

/* ── Progress bar stemdrempel ─────────────────────────────────────────────── */
.vve-threshold-bar .progress {
    height: 24px;
    border-radius: 12px;
}
.vve-threshold-marker {
    position: absolute;
    top: -6px;
    transform: translateX(-50%);
    width: 3px;
    height: 36px;
    background: #dc3545;
    border-radius: 2px;
}
.vve-threshold-label {
    position: absolute;
    top: -28px;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: #dc3545;
    white-space: nowrap;
}

/* ── Forum ────────────────────────────────────────────────────────────────── */
.vve-question-card {
    border-left: 4px solid #ff665e;
}
.vve-answer-card {
    border-left: 4px solid #2ecc71;
    background: #f9fff9;
}

/* ── Admin dashboard ──────────────────────────────────────────────────────── */
.vve-round-card.round-open {
    border-left: 5px solid #28a745;
}
.vve-round-card.round-upcoming {
    border-left: 5px solid #ffc107;
}
.vve-round-card.round-closed {
    border-left: 5px solid #6c757d;
}

/* ── Mobiel fix navbar ────────────────────────────────────────────────────── */
body {
    padding-top: 60px; /* ruimte voor fixed navbar op desktop */
}

@media (max-width: 991.98px) {
    body {
        padding-top: 0; /* navbar is position:relative op mobiel via navbar.css */
    }
    .vve-hero {
        padding-top: 1.5rem;
        min-height: 70vh;
    }
}

/* ── Text-primary overide naar salmon ─────────────────────────────────────── */
/* common.css overschrijft btn-primary; hier doen we hetzelfde voor tekst/icons */
.text-primary {
    color: #ff665e !important;
}
