/**
 * Proxmi — Reacties Styling
 * Bestand: /public/css/reacties.css
 *
 * Past binnen de Hewo Modern Newspaper template (boxed layout).
 * Kleuren en typografie sluiten aan op de bestaande template-variabelen.
 */

/* ============================================================
   CONTAINER
   ============================================================ */

.reacties-blok {
    display: flex;
    align-items: center;
    padding: 14px 0;
    margin-top: 24px;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    font-family: inherit;
}

.reacties-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.reacties-label {
    font-size: 13px;
    color: #888;
    font-style: italic;
    white-space: nowrap;
}

/* ============================================================
   KNOPPEN GROEP
   ============================================================ */

.reacties-knoppen {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reacties-scheiding {
    color: #ddd;
    font-size: 18px;
    margin: 0 4px;
    user-select: none;
}

/* ============================================================
   INDIVIDUELE KNOP
   ============================================================ */

.reactie-knop {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #f9f9f9;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    user-select: none;
    line-height: 1;
}

.reactie-knop:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.reactie-knop:active {
    transform: scale(0.95);
}

.reactie-icoon {
    font-size: 16px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.2s ease;
}

.reactie-teller {
    font-weight: 600;
    font-size: 13px;
    min-width: 14px;
    text-align: left;
}

/* ============================================================
   ACTIEVE STAAT
   ============================================================ */

.reactie-knop--up.reactie--actief {
    background: #e8f5e9;
    border-color: #66bb6a;
    color: #2e7d32;
}

.reactie-knop--up.reactie--actief .reactie-icoon {
    transform: scale(1.2);
}

.reactie-knop--down.reactie--actief {
    background: #fce4e4;
    border-color: #ef9a9a;
    color: #c62828;
}

.reactie-knop--down.reactie--actief .reactie-icoon {
    transform: scale(1.2);
}

.reactie-knop--funny.reactie--actief {
    background: #fff8e1;
    border-color: #ffd54f;
    color: #e65100;
}

.reactie-knop--funny.reactie--actief .reactie-icoon {
    transform: scale(1.2) rotate(-10deg);
}

/* ============================================================
   LOADING STAAT (terwijl bezig=1)
   ============================================================ */

.reacties-blok[data-bezig="1"] .reactie-knop {
    opacity: 0.6;
    pointer-events: none;
    cursor: default;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 480px) {
    .reacties-inner {
        gap: 10px;
    }

    .reacties-label {
        display: none; /* Label weglaten op kleine schermen */
    }

    .reactie-knop {
        padding: 5px 10px;
        font-size: 12px;
    }

    .reactie-icoon {
        font-size: 15px;
    }
}
