/* ============================================================
   Reiskostenvergoeding Calculator - Module stylesheet
   ============================================================ */

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

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

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

.rkv-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 ----------------------------------------- */

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

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

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

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

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

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

.rkv-input,
.rkv-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* ---- Melding / waarschuwing ---------------------------------- */

.rkv-melding {
    margin-top: 20px;
    padding: 10px 14px;
    background: #fdf6e3;
    border: 1px solid #e8d8ae;
    border-radius: 4px;
    color: #7a5c00;
    font-size: 13px;
}

.rkv-waarschuwing {
    margin-top: 14px;
    padding: 10px 14px;
    background: #fdf0ee;
    border: 1px solid #e8b4ae;
    border-radius: 4px;
    color: #c0392b;
    font-size: 13px;
    line-height: 1.5;
}

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

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

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

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