/* ============================================================
   Loonberekening 2026 - Module stylesheet
   ============================================================ */

.lbr-module {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #222;
    max-width: 680px;
}

/* ---- Secties ------------------------------------------------ */

.lbr-sectie {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 16px;
    padding: 16px 20px;
}

.lbr-sectie-titel {
    font-size: 14px;
    font-weight: 700;
    color: #1a5276;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a5276;
}

/* ---- Formulierrijen ----------------------------------------- */

.lbr-rij {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.lbr-rij:last-child {
    margin-bottom: 0;
}

.lbr-label {
    flex: 0 0 240px;
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}

.lbr-hint {
    display: block;
    font-size: 11px;
    color: #777;
    font-weight: normal;
    margin-top: 2px;
}

.lbr-veld {
    flex: 1;
    min-width: 0;
}

/* ---- Invoervelden ------------------------------------------ */

.lbr-input,
.lbr-select {
    width: 100%;
    padding: 7px 10px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #fff;
    color: #222;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.lbr-input:focus,
.lbr-select:focus {
    outline: none;
    border-color: #1a5276;
    box-shadow: 0 0 0 2px rgba(26, 82, 118, 0.15);
}

.lbr-input-euro {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lbr-euro-teken {
    font-size: 14px;
    color: #555;
    flex-shrink: 0;
}

.lbr-input-euro .lbr-input {
    flex: 1;
    min-width: 0;
}

.lbr-input-pct {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lbr-pct-teken {
    font-size: 14px;
    color: #555;
    flex-shrink: 0;
}

.lbr-input-pct .lbr-input {
    flex: 1;
    min-width: 0;
    max-width: 100px;
}

/* ---- Resultaten -------------------------------------------- */

#lbr-resultaten {
    margin-top: 4px;
}

.lbr-resultaten-titel {
    font-size: 16px;
    font-weight: 700;
    color: #1a5276;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a5276;
}

.lbr-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 16px;
}

.lbr-tabel td {
    padding: 9px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.lbr-tabel td:last-child {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

.lbr-tabel-bruto td {
    background: #eaf0f6;
    font-weight: 700;
    font-size: 15px;
}

.lbr-tabel-rij-licht td {
    background: #fafafa;
    color: #555;
    font-size: 13px;
}

.lbr-tabel-netto td {
    background: #1a5276;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    border-bottom: none;
    border-radius: 0 0 4px 4px;
}



/* ---- Responsive -------------------------------------------- */

@media (max-width: 520px) {
    .lbr-rij {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .lbr-label {
        flex: none;
        width: 100%;
    }

    .lbr-veld {
        width: 100%;
    }
}
