:root {
    --brand: #4f46e5;
    --brand-soft: #eef2ff;

    --bg: #f5f7fb;
    --white: #ffffff;

    --text: #101828;
    --text-light: #667085;

    --border: #e4e7ec;

    --green: #12b76a;

    --shadow:
        0 1px 2px rgba(16, 24, 40, 0.03),
        0 8px 24px rgba(16, 24, 40, 0.05);
}


* {
    box-sizing: border-box;
}


body {
    margin: 0;

    background: var(--bg);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


button,
input,
textarea,
select {
    font: inherit;
}


/* TOPBAR */

.topbar {
    height: 72px;

    padding: 0 30px;

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

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

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 50;

    backdrop-filter: blur(12px);
}


.brand {
    display: flex;
    align-items: center;

    gap: 11px;
}


.brand-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--brand);

    color: white;

    font-weight: 850;
    font-size: 19px;
}


.brand strong,
.brand span {
    display: block;
}


.brand strong {
    font-size: 16px;
}


.brand span {
    margin-top: 2px;

    color: var(--text-light);

    font-size: 11px;
}


.save-status {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--text-light);

    font-size: 12px;
}


.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);
}


/* LAYOUT */

.app {
    width: min(1500px, calc(100% - 50px));

    margin: 34px auto;

    display: grid;

    grid-template-columns:
        minmax(460px, 570px)
        minmax(570px, 1fr);

    gap: 40px;
}


/* PAGE HEADING */

.page-heading {
    margin-bottom: 23px;
}


.eyebrow {
    color: var(--brand);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1.4px;
}


.page-heading h1 {
    margin: 7px 0;

    font-size: 31px;

    letter-spacing: -1px;
}


.page-heading p {
    margin: 0;

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.6;
}


/* ==========================================
   MOBIELE EDITOR BREEDTEFIX
   ========================================== */

.editor {
    min-width: 0;
}


/* PANELS */

.panel {
    margin-bottom: 17px;

    padding: 23px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    box-shadow: var(--shadow);
}


.panel-heading {
    margin-bottom: 22px;

    display: flex;
    align-items: flex-start;

    gap: 12px;
}


.panel-heading .number {
    width: 29px;
    height: 29px;

    flex: 0 0 29px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--brand-soft);

    color: var(--brand);

    font-size: 12px;
    font-weight: 850;
}


.panel-heading h2 {
    margin: 0;

    font-size: 15px;
}


.panel-heading p {
    margin: 3px 0 0;

    color: var(--text-light);

    font-size: 11px;
}


.saved-badge,
.ai-badge {
    margin-left: auto;

    padding: 5px 8px;

    border-radius: 20px;

    background: var(--brand-soft);

    color: var(--brand);

    font-size: 9px;
    font-weight: 800;

    white-space: nowrap;
}


/* FIELDS */

.two-columns {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}


.field {
    margin-bottom: 15px;
}


.field:last-child {
    margin-bottom: 0;
}


.field label {
    display: block;

    margin-bottom: 6px;

    color: #344054;

    font-size: 12px;
    font-weight: 650;
}


.field input,
.field textarea,
.field select {
    width: 100%;

    padding: 10px 11px;

    border: 1px solid #d0d5dd;

    border-radius: 8px;

    background: white;

    color: var(--text);

    outline: none;
}


.field textarea {
    resize: vertical;

    line-height: 1.55;
}


.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--brand);

    box-shadow:
        0 0 0 3px
        color-mix(
            in srgb,
            var(--brand) 12%,
            transparent
        );
}


.field small {
    display: block;

    margin-top: 6px;

    color: var(--text-light);

    font-size: 10px;

    line-height: 1.5;
}


/* LOGO */

.upload-box {
    min-height: 112px;

    display: flex !important;

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

    border: 1px dashed #c7ccd4;

    border-radius: 10px;

    background: #fafbfc;

    text-align: center;

    cursor: pointer;

    overflow: hidden;
}


.upload-box:hover {
    border-color: var(--brand);
}


.upload-box input {
    display: none;
}


#uploadPlaceholder {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 3px;
}


.upload-icon {
    width: 29px;
    height: 29px;

    margin-bottom: 3px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: white;

    font-size: 16px;
}


#uploadPlaceholder strong {
    font-size: 11px;
}


#uploadPlaceholder span {
    color: var(--text-light);

    font-size: 9px;
}


.upload-preview {
    display: none;

    max-width: 80%;
    max-height: 78px;

    object-fit: contain;
}


/* COLOR */

.color-box {
    min-height: 112px;

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

    gap: 12px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: #fafbfc;
}


.color-box input {
    width: 46px;
    height: 46px;

    padding: 3px;

    cursor: pointer;
}


.color-box strong,
.color-box span {
    display: block;
}


.color-box strong {
    font-size: 12px;
}


.color-box span {
    margin-top: 3px;

    color: var(--text-light);

    font-size: 9px;
}


/* OFFERTEREGELS */

.line-header,
.offer-line {
    display: grid;

    grid-template-columns:
        minmax(150px, 1fr)
        70px
        95px
        95px
        32px;

    gap: 8px;

    align-items: center;
}


.line-header {
    margin-bottom: 7px;

    padding: 0 4px;

    color: #98a2b3;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
}


.offer-line {
    margin-bottom: 8px;
}


.offer-line input {
    width: 100%;

    min-width: 0;

    padding: 9px;

    border: 1px solid #d0d5dd;

    border-radius: 7px;

    outline: none;
}


.offer-line input:focus {
    border-color: var(--brand);
}


.line-total {
    text-align: right;

    font-size: 11px;
    font-weight: 700;
}


.remove-line {
    width: 30px;
    height: 30px;

    padding: 0;

    border: 0;

    border-radius: 7px;

    background: transparent;

    color: #98a2b3;

    cursor: pointer;

    font-size: 17px;
}


.remove-line:hover {
    background: #fef3f2;

    color: #d92d20;
}


.add-line-button {
    margin-top: 7px;

    padding: 9px 12px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: white;

    color: var(--brand);

    font-size: 11px;
    font-weight: 750;

    cursor: pointer;
}


.add-line-button:hover {
    background: var(--brand-soft);
}


.vat-row {
    margin-top: 20px;

    padding-top: 16px;

    border-top: 1px solid var(--border);

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

    gap: 20px;
}


.vat-row label {
    font-size: 11px;
    font-weight: 650;
}


.vat-row select {
    width: 100px;

    padding: 8px;

    border: 1px solid #d0d5dd;

    border-radius: 7px;

    background: white;
}


/* ACTIONS */

.actions {
    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    gap: 10px;
}


.primary-button,
.secondary-button {
    padding: 13px 16px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 750;

    cursor: pointer;
}


.primary-button {
    border: 0;

    background: var(--brand);

    color: white;
}


.secondary-button {
    border: 1px solid #d0d5dd;

    background: white;

    color: #344054;
}


/* PREVIEW */

.preview-area {
    position: sticky;

    top: 96px;

    align-self: start;
}


.preview-toolbar {
    margin-bottom: 11px;

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

    color: #475467;

    font-size: 11px;
    font-weight: 650;
}


.live {
    display: flex;
    align-items: center;

    gap: 7px;
}


.live span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);
}


.toolbar-button {
    padding: 7px 10px;

    border: 1px solid #d0d5dd;

    border-radius: 7px;

    background: white;

    color: #344054;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}


/* DOCUMENT */

.document {
    min-height: 830px;

    background: white;

    overflow: hidden;

    box-shadow:
        0 20px 55px rgba(16, 24, 40, 0.13);
}


.brand-bar {
    height: 7px;

    background: var(--brand);
}


.document-header {
    padding: 40px 46px 29px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 25px;
}


.company-heading {
    display: flex;
    align-items: center;

    gap: 13px;
}


.logo-fallback {
    width: 51px;
    height: 51px;

    display: grid;
    place-items: center;

    flex: 0 0 51px;

    border-radius: 11px;

    background: var(--brand);

    color: white;

    font-size: 21px;
    font-weight: 850;
}


.document-logo {
    display: none;

    max-width: 115px;
    max-height: 55px;

    object-fit: contain;
}


.company-heading h2 {
    margin: 0 0 4px;

    font-size: 18px;
}


.company-heading p {
    margin: 0;

    color: var(--text-light);

    font-size: 10px;
}


.offer-heading {
    text-align: right;
}


.offer-heading span {
    display: block;

    margin-bottom: 6px;

    color: var(--brand);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 1.5px;
}


.offer-heading strong {
    font-size: 17px;
}


/* DOCUMENT INFO */

.document-info {
    padding: 25px 46px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 35px;

    background: #f9fafb;

    border-top: 1px solid #f0f1f3;
    border-bottom: 1px solid #f0f1f3;
}


.mini-title {
    display: block;

    margin-bottom: 7px;

    color: #98a2b3;

    font-size: 8px;
    font-weight: 850;

    letter-spacing: 1.1px;
}


.document-info strong {
    font-size: 12px;
}


.document-info p {
    margin: 4px 0 0;

    color: var(--text-light);

    font-size: 10px;
}


.dates {
    display: flex;
    flex-direction: column;

    gap: 6px;
}


.dates div {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    font-size: 10px;
}


.dates span {
    color: var(--text-light);
}


/* DOCUMENT SECTIONS */

.document-section {
    padding: 28px 46px 0;
}


.document-section h3 {
    margin: 0 0 13px;

    color: #344054;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 0.9px;

    text-transform: uppercase;
}


.description,
.note-section p,
.conditions p {
    margin: 0;

    color: #475467;

    font-size: 10.5px;

    line-height: 1.7;

    white-space: pre-wrap;
}


/* PREVIEW TABLE */

.quote-table-header,
.preview-line {
    display: grid;

    grid-template-columns:
        minmax(170px, 1fr)
        60px
        90px
        95px;

    gap: 10px;

    align-items: center;
}


.quote-table-header {
    padding: 9px 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    color: #98a2b3;

    font-size: 8px;
    font-weight: 850;

    text-transform: uppercase;
}


.preview-line {
    padding: 11px 0;

    border-bottom: 1px solid #f0f1f3;

    color: #475467;

    font-size: 10px;
}


.quote-table-header span:not(:first-child),
.preview-line span:not(:first-child) {
    text-align: right;
}


.preview-line span:last-child {
    color: #344054;

    font-weight: 700;
}


/* TOTALS */

.totals {
    width: 300px;

    margin: 18px 0 0 auto;
}


.totals > div {
    padding: 5px 0;

    display: flex;
    justify-content: space-between;

    gap: 25px;

    color: var(--text-light);

    font-size: 10px;
}


.totals strong {
    color: #344054;
}


.totals .grand-total {
    margin-top: 7px;

    padding-top: 12px;

    border-top: 2px solid var(--text);

    color: var(--text);

    font-size: 12px;
    font-weight: 800;
}


.grand-total strong {
    color: var(--brand);

    font-size: 16px;
}


/* CONDITIONS */

.conditions {
    padding-bottom: 10px;
}


/* FOOTER */

.document-footer {
    margin: 35px 46px 0;

    padding: 17px 0 28px;

    border-top: 1px solid var(--border);

    display: flex;
    justify-content: space-between;

    gap: 30px;

    color: #98a2b3;

    font-size: 8px;
}


.document-footer strong,
.document-footer span {
    display: block;

    margin-bottom: 3px;
}


.document-footer strong {
    color: #475467;

    font-size: 9px;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .app {
        max-width: 760px;

        grid-template-columns: 1fr;
    }

    .preview-area {
        position: static;
    }

}


@media (max-width: 650px) {

    .actions {
        grid-template-columns: 1fr;
    }

    .topbar {
        padding: 13px 16px;
    }

    .save-status {
        display: none;
    }

    .app {
        width: calc(100% - 24px);

        margin: 22px auto;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .line-header {
        display: none;
    }

    .offer-line {
        grid-template-columns: 1fr 65px 90px 30px;
    }

    .offer-line .line-total {
        grid-column: 1 / -1;

        text-align: right;
    }

    .document-header,
    .document-info,
    .document-section {
        padding-left: 25px;
        padding-right: 25px;
    }

    .document-footer {
        margin-left: 25px;
        margin-right: 25px;
    }

    .totals {
        width: 100%;
    }

}


/* ==========================================
   MOBIELE OFFERTEPREVIEW FIX
   ========================================== */

@media (max-width: 650px) {

    .preview-area,
    .document {
        min-width: 0;
        width: 100%;
    }

    .document-header {
        flex-direction: column;
        gap: 18px;
    }

    .quote-table-header,
    .preview-line {
        grid-template-columns:
            minmax(0, 1fr)
            45px
            65px
            70px;

        gap: 6px;
    }

    .quote-table-header > *,
    .preview-line > * {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}


/* PRINT / PDF */

@page {
    size: A4;
    margin: 0;
}


@media print {

    body {
        background: white;
    }

    .topbar,
    .editor,
    .preview-toolbar {
        display: none !important;
    }

    .app {
        display: block;

        width: 100%;

        margin: 0;
    }

    .preview-area {
        position: static;
    }

    .document {
        width: 210mm;
        min-height: 297mm;

        box-shadow: none;
    }

    .brand-bar,
    .logo-fallback,
    .grand-total strong {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

}

/* ==========================================
   PROFESSIONEEL OFFERTE VERSTUREN
   ========================================== */

.verzend-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.verzend-modal[hidden] {
    display: none;
}

.verzend-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
}

.verzend-modal-kaart {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow:
        0 24px 60px
        rgba(15, 23, 42, 0.24);
}

.verzend-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.verzend-modal-header h2 {
    margin: 0 0 6px;
    font-size: 24px;
}

.verzend-modal-header p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.verzend-modal-sluiten {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #334155;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.verzend-modal-sluiten:hover {
    background: #e2e8f0;
}

.verzend-modal-kaart .field {
    margin-bottom: 18px;
}

.verzend-modal-kaart input,
.verzend-modal-kaart textarea {
    width: 100%;
    box-sizing: border-box;
}

.verzend-modal-kaart textarea {
    resize: vertical;
    min-height: 170px;
}

.verzend-modal-acties {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 26px;
}

@media (max-width: 640px) {

    .verzend-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .verzend-modal-kaart {
        width: 100%;
        max-height: calc(100vh - 24px);
        border-radius: 18px;
        padding: 22px;
    }

    .verzend-modal-header h2 {
        font-size: 21px;
    }

    .verzend-modal-acties {
        flex-direction: column-reverse;
    }

    .verzend-modal-acties button {
        width: 100%;
    }
}
/* ==========================================
   DASHBOARD NAVIGATIE
   ========================================== */

.topbar nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.topbar nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;

    border-radius: 9px;

    color: #475569;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

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

.topbar nav a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.topbar nav a[href="/dashboard.html"] {
    background: #eef2ff;
    color: #4f46e5;
}

.topbar nav .secondary-button {
    margin-left: 8px;
}

@media (max-width: 850px) {

    .topbar {
        flex-wrap: wrap;
    }

    .topbar nav {
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .topbar nav a {
        white-space: nowrap;
    }
}
/* ==========================================
   DASHBOARD OVERZICHT
   ========================================== */

.dashboard-statistieken {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 28px 0 24px;
}

.dashboard-statistiek {
    display: flex;
    flex-direction: column;
    gap: 7px;

    padding: 22px;

    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;

    color: #0f172a;
    text-decoration: none;

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

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

.dashboard-statistiek:hover {
    transform: translateY(-2px);
    border-color: #c7d2fe;

    box-shadow:
        0 10px 24px
        rgba(15, 23, 42, 0.08);
}

.dashboard-statistiek span {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-statistiek strong {
    color: #0f172a;
    font-size: 32px;
    line-height: 1.1;
}

.dashboard-statistiek small {
    color: #94a3b8;
    font-size: 13px;
}

.dashboard-acties {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-acties a {
    text-decoration: none;
}

@media (max-width: 900px) {

    .dashboard-statistieken {
        grid-template-columns:
            repeat(2, 1fr);
    }
}

@media (max-width: 520px) {

    .dashboard-statistieken {
        grid-template-columns: 1fr;
    }
}
/* ==========================================
   DASHBOARD RECENTE OFFERTES
   ========================================== */

.dashboard-recente-offertes {
    margin-top: 20px;
}

.dashboard-recente-regel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid #e2e8f0;

    color: #0f172a;
    text-decoration: none;
}

.dashboard-recente-regel:first-child {
    border-top: 1px solid #e2e8f0;
}

.dashboard-recente-regel > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.dashboard-recente-regel strong {
    font-size: 14px;
    font-weight: 700;
}

.dashboard-recente-regel > div:first-child span {
    color: #64748b;
    font-size: 13px;
}

.dashboard-recente-rechts {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.dashboard-status {
    padding: 5px 9px;

    background: #f1f5f9;
    border-radius: 999px;

    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-openen {
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-recente-regel:hover .dashboard-openen {
    text-decoration: underline;
}

.dashboard-recente-footer {
    margin-top: 20px;
}

.dashboard-recente-footer a {
    display: inline-flex;
    text-decoration: none;
}

.dashboard-laden {
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 600px) {

    .dashboard-recente-regel {
        align-items: flex-start;
    }

    .dashboard-recente-rechts {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }
}
/* Actieve navigatiepagina */

.topbar nav a[href="/dashboard.html"] {
    background: transparent;
    color: #475569;
}

.topbar nav a.nav-actief,
.topbar nav a[href="/dashboard.html"].nav-actief {
    background: #eef2ff;
    color: #4f46e5;
}


/* ==========================================
   PROFESSIONELE OFFERTE-ACTIEBALK
   ========================================== */

.offerte-actiebalk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.offerte-actiebalk-info {
    color: #64748b;
    font-size: 13px;
}

.offerte-acties {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.offerte-status-select {
    min-height: 38px;
    padding: 0 32px 0 11px;
    border: 1px solid #dbe2ea;
    border-radius: 9px;
    background: #ffffff;
    color: #334155;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.offerte-actie-link,
.offerte-actie-knop,
.offerte-meer summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #dbe2ea;
    border-radius: 9px;
    background: #ffffff;
    color: #475569;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.offerte-actie-link:hover,
.offerte-actie-knop:hover,
.offerte-meer summary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.offerte-actie-primair {
    border-color: #4f46e5;
    background: #4f46e5;
    color: #ffffff;
}

.offerte-actie-primair:hover {
    border-color: #4338ca;
    background: #4338ca;
    color: #ffffff;
}

.offerte-actie-succes {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.offerte-meer {
    position: relative;
}

.offerte-meer summary {
    list-style: none;
}

.offerte-meer summary::-webkit-details-marker {
    display: none;
}

.offerte-meer summary::after {
    content: "▾";
    margin-left: 7px;
    font-size: 11px;
}

.offerte-meer[open] summary::after {
    content: "▴";
}

.offerte-meer-menu {
    position: absolute;
    z-index: 50;
    top: calc(100% + 7px);
    right: 0;
    width: 150px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow:
        0 12px 30px
        rgba(15, 23, 42, 0.12);
}

.offerte-meer-menu button {
    display: block;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #334155;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.offerte-meer-menu button:hover {
    background: #f8fafc;
}

.offerte-meer-menu .offerte-verwijderen {
    color: #b42318;
}

.offerte-meer-menu .offerte-verwijderen:hover {
    background: #fef2f2;
}

@media (max-width: 700px) {

    .offerte-actiebalk {
        align-items: flex-start;
        flex-direction: column;
    }

    .offerte-acties {
        width: 100%;
    }
}


/* ==========================================
   PROFESSIONELE KLANTACTIES
   ========================================== */

.klant-acties {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.klant-actie,
.klant-meer summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #dbe2ea;
    border-radius: 9px;
    background: #ffffff;
    color: #475569;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.klant-actie:hover,
.klant-meer summary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.klant-actie-primair {
    border-color: #4f46e5;
    background: #4f46e5;
    color: #ffffff;
}

.klant-actie-primair:hover {
    border-color: #4338ca;
    background: #4338ca;
    color: #ffffff;
}

.klant-meer {
    position: relative;
}

.klant-meer summary {
    list-style: none;
}

.klant-meer summary::-webkit-details-marker {
    display: none;
}

.klant-meer summary::after {
    content: "▾";
    margin-left: 7px;
    font-size: 11px;
}

.klant-meer[open] summary::after {
    content: "▴";
}

.klant-meer-menu {
    position: absolute;
    z-index: 50;
    top: calc(100% + 7px);
    right: 0;
    width: 150px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.klant-meer-menu button {
    display: block;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #334155;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.klant-meer-menu .klant-verwijderen {
    color: #b42318;
}

.klant-meer-menu .klant-verwijderen:hover {
    background: #fef2f2;
}


/* ==========================================
   PROFESSIONELE FACTUURACTIES
   ========================================== */

.factuur-acties {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.factuur-status-select {
    min-height: 38px;
    padding: 0 32px 0 11px;
    border: 1px solid #dbe2ea;
    border-radius: 9px;
    background: #ffffff;
    color: #334155;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.factuur-actie,
.factuur-meer summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #dbe2ea;
    border-radius: 9px;
    background: #ffffff;
    color: #475569;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.factuur-actie:hover,
.factuur-meer summary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.factuur-actie-primair {
    border-color: #4f46e5;
    background: #4f46e5;
    color: #ffffff;
}

.factuur-actie-primair:hover {
    border-color: #4338ca;
    background: #4338ca;
    color: #ffffff;
}

.factuur-meer {
    position: relative;
}

.factuur-meer summary {
    list-style: none;
}

.factuur-meer summary::-webkit-details-marker {
    display: none;
}

.factuur-meer summary::after {
    content: "▾";
    margin-left: 7px;
    font-size: 11px;
}

.factuur-meer[open] summary::after {
    content: "▴";
}

.factuur-meer-menu {
    position: absolute;
    z-index: 50;
    top: calc(100% + 7px);
    right: 0;
    width: 150px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.factuur-meer-menu button {
    display: block;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #334155;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.factuur-meer-menu .factuur-verwijderen {
    color: #b42318;
}

.factuur-meer-menu .factuur-verwijderen:hover {
    background: #fef2f2;
}


/* ==========================================
   MOBIELE HOOFDNAVIGATIE
   ========================================== */

.mobile-menu-button {
    display: none;
}

@media (max-width: 850px) {

    .topbar {
        position: relative;
        flex-wrap: wrap;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        min-height: 40px;
        margin-left: auto;
        padding: 0 14px;

        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 9px;

        color: #334155;
        font: inherit;
        font-size: 14px;
        font-weight: 600;

        cursor: pointer;
    }

    .topbar .app-nav {
        display: none;

        width: 100%;
        margin: 10px 0 0;
        padding: 8px;

        overflow: visible;

        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;

        box-shadow:
            0 8px 24px
            rgba(15, 23, 42, 0.08);
    }

    .topbar .app-nav.mobile-nav-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .topbar .app-nav a {
        width: 100%;
        min-height: 42px;
        padding: 0 12px;

        white-space: normal;
    }

    .topbar .app-nav .secondary-button {
        width: 100%;
        margin: 4px 0 0;
    }
}



/* VOICE INPUT */

.voice-input {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 10px;
}


.voice-button {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 9px 13px;

    border: 1px solid var(--brand);
    border-radius: 9px;

    background: var(--brand-soft);

    color: var(--brand);

    font: inherit;
    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}


.voice-button:hover {
    filter: brightness(0.98);
}


.voice-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


.voice-button-icon {
    width: 17px;
    height: 17px;

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

    flex: 0 0 17px;
}


.voice-button-icon svg {
    width: 100%;
    height: 100%;

    display: block;

    fill: currentColor;
}


.voice-button.is-recording {
    border-color: #dc2626;

    background: #fef2f2;

    color: #b91c1c;
}


/* Laatste minuut van de maximale opnameduur */

.voice-button.is-recording.is-near-limit {
    border-color: #d97706;

    background: #fffbeb;

    color: #b45309;
}


.voice-button.is-recording .voice-button-icon {
    width: 11px;
    height: 11px;

    border-radius: 2px;

    background: currentColor;
}


.voice-button.is-recording .voice-button-icon svg {
    display: none;
}


.voice-status {
    color: var(--text-light);

    font-size: 11px;
    line-height: 1.4;
}


@media (max-width: 600px) {
    .voice-input {
        align-items: stretch;
        flex-direction: column;
    }

    .voice-button {
        width: 100%;
    }
}


/* ACTIEKNOP FEEDBACK */

.actie-bezig {
    border-color: var(--brand) !important;
    background: var(--brand-soft) !important;
    color: var(--brand) !important;
}

.actie-succes {
    border-color: #bbf7d0 !important;
    background: #f0fdf4 !important;
    color: #15803d !important;
}

.actie-fout {
    border-color: #fecaca !important;
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

.actie-bezig:disabled,
.actie-succes:disabled,
.actie-fout:disabled {
    cursor: default;
    opacity: 1;
}


/* =========================================================
   FLOW DESIGN SYSTEM V1
   Centrale visuele basis
   ========================================================= */

:root {
    /* Flow brand */
    --flow-navy-950: #06152f;
    --flow-navy-900: #071c3d;
    --flow-navy-800: #0b2854;

    --flow-blue-600: #087cff;
    --flow-blue-500: #1294ff;
    --flow-cyan-400: #19d7f2;
    --flow-violet-500: #6d3bff;

    /* Interface */
    --flow-bg: #f6f8fc;
    --flow-surface: #ffffff;
    --flow-surface-soft: #f9fbff;

    --flow-text: #0b1930;
    --flow-text-secondary: #5d6b82;
    --flow-text-muted: #8490a3;

    --flow-border: #e2e8f2;
    --flow-border-strong: #cfd8e6;

    --flow-success: #12b76a;
    --flow-danger: #d92d20;

    /* Compatibility met bestaande app */
    --brand: var(--flow-blue-600);
    --brand-soft: #eaf4ff;

    --bg: var(--flow-bg);
    --white: var(--flow-surface);

    --text: var(--flow-text);
    --text-light: var(--flow-text-secondary);

    --border: var(--flow-border);
    --green: var(--flow-success);

    /* Radius */
    --flow-radius-sm: 8px;
    --flow-radius-md: 12px;
    --flow-radius-lg: 16px;
    --flow-radius-xl: 20px;

    /* Shadows */
    --flow-shadow-sm:
        0 1px 2px rgba(6, 21, 47, 0.04),
        0 3px 8px rgba(6, 21, 47, 0.04);

    --flow-shadow-md:
        0 2px 4px rgba(6, 21, 47, 0.03),
        0 12px 32px rgba(6, 21, 47, 0.07);

    --flow-shadow-lg:
        0 18px 50px rgba(6, 21, 47, 0.12);

    --shadow: var(--flow-shadow-md);

    /* Motion */
    --flow-transition:
        160ms cubic-bezier(0.2, 0, 0, 1);
}


/* ---------- PAGE ---------- */

body {
    background:
        linear-gradient(
            180deg,
            #f8faff 0,
            var(--flow-bg) 260px
        );

    color: var(--flow-text);
}


/* ---------- TOPBAR ---------- */

.topbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--flow-border);

    box-shadow:
        0 1px 0 rgba(6, 21, 47, 0.02);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* ---------- BRAND PLACEHOLDER ---------- */

.brand {
    color: var(--flow-text);
}

.brand-mark {
    background:
        linear-gradient(
            135deg,
            var(--flow-cyan-400) 0%,
            var(--flow-blue-600) 55%,
            var(--flow-violet-500) 100%
        );

    color: #ffffff;

    box-shadow:
        0 7px 18px rgba(8, 124, 255, 0.22);
}

.brand strong {
    color: var(--flow-navy-950);
}

.brand span,
.brand small {
    color: var(--flow-text-secondary);
}


/* ---------- PANELS / CARDS ---------- */

.panel {
    background: var(--flow-surface);
    border-color: var(--flow-border);
    border-radius: var(--flow-radius-lg);
    box-shadow: var(--flow-shadow-sm);
}

.panel-heading .number {
    background: var(--brand-soft);
    color: var(--flow-blue-600);
}


/* ---------- FORM CONTROLS ---------- */

input,
textarea,
select {
    border-color: var(--flow-border-strong);
    color: var(--flow-text);
    background-color: var(--flow-surface);

    transition:
        border-color var(--flow-transition),
        box-shadow var(--flow-transition),
        background var(--flow-transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;

    border-color: var(--flow-blue-500);

    box-shadow:
        0 0 0 4px rgba(18, 148, 255, 0.11);
}


/* ---------- BUTTONS ---------- */

.primary-button {
    border: 0;

    background:
        linear-gradient(
            135deg,
            var(--flow-blue-600),
            var(--flow-blue-500)
        );

    color: #ffffff;

    box-shadow:
        0 6px 16px rgba(8, 124, 255, 0.18);

    transition:
        transform var(--flow-transition),
        box-shadow var(--flow-transition),
        filter var(--flow-transition);
}

.primary-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 9px 22px rgba(8, 124, 255, 0.24);

    filter: brightness(1.02);
}

.primary-button:active {
    transform: translateY(0);
}


.secondary-button,
.toolbar-button {
    border-color: var(--flow-border-strong);
    background: var(--flow-surface);
    color: #34435b;

    transition:
        background var(--flow-transition),
        border-color var(--flow-transition),
        color var(--flow-transition);
}

.secondary-button:hover,
.toolbar-button:hover {
    background: var(--flow-surface-soft);
    border-color: #b8c7da;
    color: var(--flow-navy-900);
}


/* ---------- NAVIGATION ---------- */

.topbar nav a {
    color: #53627a;

    transition:
        background var(--flow-transition),
        color var(--flow-transition),
        box-shadow var(--flow-transition);
}

.topbar nav a:hover {
    background: #f0f7ff;
    color: var(--flow-blue-600);
}

.topbar nav a[href="/dashboard.html"] {
    background: transparent;
    color: #53627a;
}

.topbar nav a.nav-actief,
.topbar nav a[href="/dashboard.html"].nav-actief {
    background:
        linear-gradient(
            135deg,
            #eaf4ff,
            #eef1ff
        );

    color: var(--flow-blue-600);

    box-shadow:
        inset 0 0 0 1px
        rgba(8, 124, 255, 0.05);
}


/* ---------- MOBILE MENU ---------- */

@media (max-width: 850px) {

    .topbar {
        background: rgba(255, 255, 255, 0.96);
    }

    .mobile-menu-button {
        background: var(--flow-surface);
        border-color: var(--flow-border-strong);
        color: var(--flow-navy-900);

        box-shadow: var(--flow-shadow-sm);
    }

    .topbar .app-nav {
        background: rgba(255, 255, 255, 0.98);
        border-color: var(--flow-border);

        border-radius: var(--flow-radius-md);

        box-shadow: var(--flow-shadow-md);
    }

    .topbar .app-nav a {
        border-radius: var(--flow-radius-sm);
    }
}


/* ---------- SELECTION ---------- */

::selection {
    background: rgba(25, 215, 242, 0.25);
    color: var(--flow-navy-950);
}



/* =========================================================
   FLOW DASHBOARD V1
   ========================================================= */

body:has(.flow-dashboard) .app {
    width: min(1440px, calc(100% - 56px));
    margin: 42px auto 64px;

    display: block;
}

.flow-dashboard {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
}


/* ---------- HEADING ---------- */

.flow-dashboard .page-heading {
    margin-bottom: 30px;
}

.flow-dashboard .eyebrow {
    color: var(--flow-blue-600);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.flow-dashboard .page-heading h1 {
    margin: 8px 0 8px;

    color: var(--flow-navy-950);

    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.flow-dashboard .page-heading p {
    max-width: 620px;

    color: var(--flow-text-secondary);
    font-size: 15px;
}


/* ---------- KPI GRID ---------- */

.flow-dashboard .dashboard-statistieken {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 16px;

    margin: 0 0 24px;
}

.flow-dashboard .dashboard-statistiek {
    position: relative;

    min-height: 150px;

    padding: 22px 22px 20px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fbfdff 100%
        );

    border: 1px solid var(--flow-border);
    border-radius: 18px;

    box-shadow: var(--flow-shadow-sm);

    transition:
        transform var(--flow-transition),
        box-shadow var(--flow-transition),
        border-color var(--flow-transition);
}

.flow-dashboard .dashboard-statistiek::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--flow-cyan-400),
            var(--flow-blue-600),
            var(--flow-violet-500)
        );

    opacity: 0;
    transition: opacity var(--flow-transition);
}

.flow-dashboard .dashboard-statistiek:hover {
    transform: translateY(-3px);

    border-color: #c8dcf7;

    box-shadow: var(--flow-shadow-md);
}

.flow-dashboard .dashboard-statistiek:hover::before {
    opacity: 1;
}

.flow-dashboard .dashboard-statistiek span {
    color: var(--flow-text-secondary);

    font-size: 13px;
    font-weight: 700;
}

.flow-dashboard .dashboard-statistiek strong {
    margin-top: 5px;

    color: var(--flow-navy-950);

    font-size: 38px;
    line-height: 1;
    letter-spacing: -1px;
}

.flow-dashboard .dashboard-statistiek small {
    margin-top: auto;

    color: var(--flow-text-muted);

    font-size: 12px;
}


/* ---------- DASHBOARD CONTENT GRID ---------- */

.flow-dashboard .flow-dashboard-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(320px, 0.75fr);

    gap: 20px;

    align-items: start;
}

.flow-dashboard .flow-dashboard-main,
.flow-dashboard .flow-dashboard-side {
    display: grid;
    gap: 20px;
}


/* ---------- PANELS ---------- */

.flow-dashboard .panel {
    margin: 0;

    padding: 24px;

    border: 1px solid var(--flow-border);
    border-radius: 18px;

    box-shadow: var(--flow-shadow-sm);
}

.flow-dashboard .panel-heading {
    margin-bottom: 20px;
}

.flow-dashboard .panel-heading .number {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #e8f6ff,
            #edf1ff
        );

    color: var(--flow-blue-600);

    font-weight: 800;
}

.flow-dashboard .panel-heading h2 {
    color: var(--flow-navy-950);
}

.flow-dashboard .panel-heading p {
    color: var(--flow-text-secondary);
}


/* ---------- QUICK ACTION ---------- */

.flow-dashboard .flow-quick-panel {
    position: relative;
    overflow: hidden;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--flow-navy-950) 0%,
            var(--flow-navy-900) 58%,
            #0c3267 100%
        );

    border: 0;
}

.flow-dashboard .flow-quick-panel::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -85px;
    top: -105px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(25, 215, 242, 0.24),
            rgba(109, 59, 255, 0.04) 62%,
            transparent 70%
        );

    pointer-events: none;
}

.flow-dashboard .flow-quick-panel .number {
    background: rgba(255, 255, 255, 0.12);
    color: var(--flow-cyan-400);
}

.flow-dashboard .flow-quick-panel h2 {
    color: #ffffff;
}

.flow-dashboard .flow-quick-panel .panel-heading p {
    color: #b8c7db;
}

.flow-dashboard .flow-quick-panel .secondary-button {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.flow-dashboard .flow-quick-panel .secondary-button:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}


/* ---------- RECENT ITEMS ---------- */

.flow-dashboard .dashboard-recente-offertes,
.flow-dashboard .dashboard-recente-facturen,
.flow-dashboard .dashboard-recente-klussen {
    margin-top: 0;
}

.flow-dashboard .dashboard-recente-regel {
    padding: 15px 4px;

    border-color: var(--flow-border);

    transition:
        background var(--flow-transition),
        padding var(--flow-transition);
}

.flow-dashboard .dashboard-recente-regel:hover {
    padding-left: 10px;
    padding-right: 10px;

    background: #f8fbff;

    border-radius: 10px;
}

.flow-dashboard .dashboard-openen {
    color: var(--flow-blue-600);
}


/* ---------- MOBILE ---------- */

@media (max-width: 1050px) {

    .flow-dashboard .dashboard-statistieken {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .flow-dashboard .flow-dashboard-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    body:has(.flow-dashboard) .app {
        width: min(100% - 28px, 1440px);
        margin-top: 26px;
    }

    .flow-dashboard .dashboard-statistieken {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .flow-dashboard .dashboard-statistiek {
        min-height: 128px;
        padding: 18px;
    }

    .flow-dashboard .dashboard-statistiek strong {
        font-size: 32px;
    }

    .flow-dashboard .panel {
        padding: 20px;
    }
}



/* =========================================================
   FLOW DASHBOARD V2
   Modern & Clean SaaS layout
   ========================================================= */

.flow-app-body {
    margin: 0;
    min-height: 100vh;

    background: #f5f8fc;

    color: #0b1930;
}

.flow-shell {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        230px
        minmax(0, 1fr);
}


/* SIDEBAR */

.flow-sidebar {
    position: sticky;
    top: 0;

    height: 100vh;

    display: flex;
    flex-direction: column;

    padding: 26px 18px 20px;

    background: #ffffff;

    border-right: 1px solid #e5ebf3;
}

.flow-sidebar-brand,
.flow-mobile-brand {
    display: flex;
    align-items: center;

    gap: 11px;

    text-decoration: none;
}

.flow-sidebar-brand {
    padding: 0 10px 28px;
}

.flow-logo-symbol {
    position: relative;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #19d7f2 0%,
            #087cff 55%,
            #6d3bff 100%
        );

    box-shadow:
        0 8px 22px
        rgba(8, 124, 255, 0.24);

    color: #ffffff;
}

.flow-logo-symbol::before {
    content: "";

    position: absolute;

    width: 23px;
    height: 23px;

    border: 3px solid
        rgba(255, 255, 255, 0.92);

    border-right-color: transparent;

    border-radius: 50%;

    transform:
        translateX(-2px)
        rotate(-25deg);
}

.flow-logo-symbol::after {
    content: "";

    position: absolute;

    width: 14px;
    height: 3px;

    right: 5px;
    top: 18px;

    border-radius: 999px;

    background: #ffffff;

    transform: rotate(-34deg);
}

.flow-logo-j {
    position: relative;
    z-index: 2;

    margin-left: 5px;
    margin-top: 1px;

    font-size: 12px;
    font-weight: 900;

    opacity: 0.94;
}

.flow-logo-word {
    color: #071c3d;

    font-size: 22px;
    font-weight: 850;

    letter-spacing: -0.7px;
}


/* NAV */

.flow-side-nav {
    display: grid;
    gap: 5px;
}

.flow-side-nav a {
    min-height: 44px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 13px;

    border-radius: 10px;

    color: #526078;

    font-size: 14px;
    font-weight: 650;

    text-decoration: none;

    transition:
        background 150ms ease,
        color 150ms ease,
        transform 150ms ease;
}

.flow-side-nav a:hover {
    background: #f3f8ff;
    color: #087cff;

    transform: translateX(2px);
}

.flow-side-nav a.actief {
    background:
        linear-gradient(
            135deg,
            #eaf5ff,
            #eef1ff
        );

    color: #087cff;
}

.flow-nav-icon {
    width: 22px;

    display: inline-flex;
    justify-content: center;

    color: currentColor;

    font-size: 17px;
}


/* SIDEBAR BOTTOM */

.flow-sidebar-bottom {
    margin-top: auto;

    display: grid;
    gap: 12px;
}

.flow-sidebar-help {
    padding: 15px;

    display: grid;
    gap: 5px;

    background:
        linear-gradient(
            145deg,
            #f2f8ff,
            #f7f5ff
        );

    border: 1px solid #e0eaf7;
    border-radius: 14px;
}

.flow-sidebar-help strong {
    font-size: 13px;
}

.flow-sidebar-help span {
    color: #718096;

    font-size: 11px;
    line-height: 1.45;
}

.flow-sidebar-help a {
    margin-top: 4px;

    color: #087cff;

    font-size: 12px;
    font-weight: 750;

    text-decoration: none;
}

.flow-logout-button {
    min-height: 42px;

    border: 1px solid #dce4ef;
    border-radius: 10px;

    background: #ffffff;

    color: #526078;

    font-weight: 700;

    cursor: pointer;
}


/* MAIN */

.flow-main {
    min-width: 0;
}

.flow-dashboard-v2 {
    width: min(1240px, calc(100% - 56px));

    margin: 0 auto;

    padding: 42px 0 64px;
}


/* TOP */

.flow-dashboard-top {
    margin-bottom: 28px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;
}

.flow-overline,
.flow-card-eyebrow {
    color: #087cff;

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1.4px;
}

.flow-dashboard-top h1 {
    margin: 7px 0 6px;

    color: #07152d;

    font-size: 32px;
    line-height: 1.1;

    letter-spacing: -1.1px;
}

.flow-dashboard-top p {
    margin: 0;

    color: #68778e;

    font-size: 14px;
}

.flow-new-quote-button {
    min-height: 44px;

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

    gap: 8px;

    padding: 0 17px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #087cff,
            #1599ff
        );

    color: #ffffff;

    box-shadow:
        0 8px 20px
        rgba(8, 124, 255, 0.20);

    font-size: 13px;
    font-weight: 750;

    text-decoration: none;
}


/* KPI */

.flow-kpi-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 18px;
}

.flow-kpi-card {
    min-height: 142px;

    padding: 18px;

    display: grid;

    grid-template-columns:
        38px
        1fr;

    grid-template-rows:
        auto
        1fr
        auto;

    column-gap: 12px;

    background: #ffffff;

    border: 1px solid #e2e9f2;
    border-radius: 15px;

    box-shadow:
        0 4px 14px
        rgba(7, 28, 61, 0.035);

    color: #0b1930;

    text-decoration: none;

    transition:
        transform 150ms ease,
        box-shadow 150ms ease,
        border-color 150ms ease;
}

.flow-kpi-card:hover {
    transform: translateY(-2px);

    border-color: #c9ddf7;

    box-shadow:
        0 10px 25px
        rgba(7, 28, 61, 0.08);
}

.flow-kpi-icon {
    width: 38px;
    height: 38px;

    grid-row: 1 / span 2;

    display: grid;
    place-items: center;

    border-radius: 10px;

    font-size: 16px;
    font-weight: 850;
}

.flow-kpi-icon.blue {
    background: #e9f3ff;
    color: #087cff;
}

.flow-kpi-icon.cyan {
    background: #e7fbff;
    color: #08a9c8;
}

.flow-kpi-icon.green {
    background: #eafaf3;
    color: #12a567;
}

.flow-kpi-icon.violet {
    background: #f1edff;
    color: #6d3bff;
}

.flow-kpi-icon.orange {
    background: #fff4e7;
    color: #e98a18;
}

.flow-kpi-label {
    align-self: center;

    color: #627189;

    font-size: 12px;
    font-weight: 700;
}

.flow-kpi-card strong {
    align-self: end;

    color: #07152d;

    font-size: 28px;
    line-height: 1;

    letter-spacing: -0.8px;
}

.flow-kpi-card small {
    grid-column: 2;

    margin-top: 5px;

    color: #98a3b3;

    font-size: 11px;
}


/* CARDS */

.flow-insight-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, 0.85fr);

    gap: 18px;

    margin-bottom: 18px;
}

.flow-dashboard-card {
    padding: 22px;

    background: #ffffff;

    border: 1px solid #e2e9f2;
    border-radius: 15px;

    box-shadow:
        0 4px 14px
        rgba(7, 28, 61, 0.035);
}

.flow-card-heading {
    margin-bottom: 20px;

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

    gap: 16px;
}

.flow-card-heading h2 {
    margin: 4px 0 0;

    color: #07152d;

    font-size: 16px;
    letter-spacing: -0.3px;
}

.flow-card-heading > a {
    color: #087cff;

    font-size: 12px;
    font-weight: 750;

    text-decoration: none;
}


/* STATUS VISUAL */

.flow-status-visual {
    min-height: 190px;

    display: grid;

    grid-template-columns:
        190px
        1fr;

    align-items: center;

    gap: 24px;
}

.flow-status-donut {
    width: 154px;
    height: 154px;

    margin: auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        conic-gradient(
            #087cff 0deg 120deg,
            #19d7f2 120deg 220deg,
            #12b76a 220deg 360deg
        );

    position: relative;
}

.flow-status-donut::after {
    content: "";

    position: absolute;

    width: 105px;
    height: 105px;

    border-radius: 50%;

    background: #ffffff;
}

.flow-status-donut-center {
    position: relative;
    z-index: 2;

    display: grid;

    text-align: center;
}

.flow-status-donut-center strong {
    color: #07152d;

    font-size: 25px;
}

.flow-status-donut-center span {
    color: #8995a7;

    font-size: 11px;
}

.flow-status-legend {
    display: grid;
    gap: 14px;
}

.flow-status-legend > div {
    display: grid;

    grid-template-columns:
        10px
        1fr
        auto;

    align-items: center;

    gap: 9px;

    color: #64738a;

    font-size: 12px;
}

.flow-status-legend strong {
    color: #07152d;
}

.flow-status-legend .dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
}

.dot.concept {
    background: #087cff;
}

.dot.verstuurd {
    background: #19d7f2;
}

.dot.akkoord {
    background: #12b76a;
}


/* JOBS */

.flow-job-total {
    margin-bottom: 8px;

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

    padding: 13px 14px;

    background: #f6f9fd;

    border-radius: 11px;
}

.flow-job-total span {
    color: #64738a;

    font-size: 12px;
    font-weight: 700;
}

.flow-job-total strong {
    color: #07152d;

    font-size: 22px;
}


/* EXISTING GENERATED ROWS */

.flow-dashboard-v2 .dashboard-recente-regel {
    min-height: 58px;

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

    gap: 18px;

    padding: 12px 4px;

    border-bottom: 1px solid #edf1f6;

    color: #0b1930;

    text-decoration: none;
}

.flow-dashboard-v2 .dashboard-recente-regel:first-child {
    border-top: 1px solid #edf1f6;
}

.flow-dashboard-v2
.dashboard-recente-regel
> div:first-child {
    min-width: 0;

    display: grid;
    gap: 3px;
}

.flow-dashboard-v2
.dashboard-recente-regel
> div:first-child strong {
    font-size: 13px;
}

.flow-dashboard-v2
.dashboard-recente-regel
> div:first-child span {
    overflow: hidden;

    color: #718096;

    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.flow-dashboard-v2 .dashboard-recente-rechts {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.flow-dashboard-v2 .dashboard-status {
    padding: 5px 8px;

    background: #f0f4f9;

    border-radius: 999px;

    color: #536177;

    font-size: 10px;
    font-weight: 750;
}

.flow-dashboard-v2 .dashboard-openen {
    color: #087cff;

    font-size: 11px;
    font-weight: 750;
}

.flow-recent-card {
    margin-bottom: 18px;
}


/* MOBILE HEADER */

.flow-mobile-header {
    display: none;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .flow-kpi-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .flow-insight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {

    .flow-shell {
        display: block;
    }

    .flow-sidebar {
        position: fixed;

        z-index: 100;

        left: 0;
        top: 0;

        width: 260px;

        transform: translateX(-105%);

        box-shadow:
            18px 0 50px
            rgba(7, 28, 61, 0.16);

        transition:
            transform 180ms ease;
    }

    .flow-app-body.flow-menu-open
    .flow-sidebar {
        transform: translateX(0);
    }

    .flow-mobile-header {
        height: 66px;

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

        padding: 0 18px;

        background: #ffffff;

        border-bottom: 1px solid #e5ebf3;
    }

    .flow-mobile-brand strong {
        color: #071c3d;

        font-size: 19px;
    }

    .flow-mobile-menu-button {
        width: 42px;
        height: 42px;

        display: grid;
        place-items: center;

        border: 1px solid #dce4ef;
        border-radius: 10px;

        background: #ffffff;

        color: #071c3d;

        font-size: 20px;
    }

    .flow-dashboard-v2 {
        width: min(100% - 28px, 1240px);

        padding-top: 26px;
    }
}

@media (max-width: 650px) {

    .flow-dashboard-top {
        align-items: stretch;
        flex-direction: column;
    }

    .flow-new-quote-button {
        align-self: flex-start;
    }

    .flow-kpi-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .flow-status-visual {
        grid-template-columns: 1fr;
    }

    .flow-kpi-card {
        min-height: 126px;

        padding: 15px;
    }
}


/* FLOW DEFINITIEF LOGO */
.flow-sidebar-logo {
    display: block;

    width: 132px;
    height: auto;

    max-width: 100%;

    object-fit: contain;

    image-rendering: auto;
}

.flow-sidebar-brand {
    min-height: 46px;
    padding: 0 10px 26px;
}


/* FLOW SIDEBAR V3 */
.flow-sidebar {
    padding: 24px 16px 18px;
}

.flow-sidebar-brand {
    padding: 0 12px 24px;
}

.flow-side-nav {
    gap: 4px;
}

.flow-side-nav a {
    position: relative;

    min-height: 46px;

    gap: 12px;

    padding: 0 12px;

    border-radius: 12px;

    color: #667085;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
}

.flow-side-nav a:hover {
    background: #f5f9ff;

    color: #087cff;

    transform: none;
}

.flow-side-nav a.actief {
    background: #edf6ff;

    color: #087cff;

    box-shadow:
        inset 0 0 0 1px
        #d9ecff;
}

.flow-nav-icon {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    display: grid;
    place-items: center;

    color: currentColor;
}

.flow-nav-icon svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flow-sidebar-bottom {
    gap: 10px;
}

.flow-sidebar-help {
    padding: 15px 14px;

    gap: 6px;

    background:
        linear-gradient(
            145deg,
            #f5faff 0%,
            #f7f6ff 100%
        );

    border: 1px solid #e1eaf6;
    border-radius: 15px;
}

.flow-sidebar-help strong {
    color: #172033;

    font-size: 13px;
    font-weight: 750;
}

.flow-sidebar-help span {
    color: #7a8699;

    font-size: 11.5px;
    line-height: 1.5;
}

.flow-sidebar-help a {
    color: #087cff;

    font-size: 12px;
    font-weight: 700;
}

.flow-logout-button {
    width: 100%;
    min-height: 42px;

    border: 1px solid #e1e7ef;
    border-radius: 11px;

    background: #ffffff;

    color: #667085;

    font-weight: 650;

    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.flow-logout-button:hover {
    background: #f8fafc;
    border-color: #ccd6e3;

    color: #25324a;
}


/* CJV FLOW MOBIELE MENU OVERLAY */
.flow-mobile-overlay {
    display: none;
}

@media (max-width: 820px) {

    .flow-app-body.flow-menu-open {
        overflow: hidden;
    }

    .flow-mobile-overlay {
        position: fixed;

        z-index: 90;

        inset: 0;

        display: block;

        background: rgba(6, 21, 47, 0.38);

        opacity: 0;
        visibility: hidden;

        transition:
            opacity 180ms ease,
            visibility 180ms ease;
    }

    .flow-app-body.flow-menu-open
    .flow-mobile-overlay {
        opacity: 1;
        visibility: visible;
    }

    .flow-sidebar {
        z-index: 100;
    }

    .flow-mobile-header {
        z-index: 80;
    }
}


/* CJV FLOW MOBIEL DEFINITIEF LOGO */
.flow-mobile-logo {
    display: block;

    width: 124px;
    height: auto;

    max-width: 100%;

    object-fit: contain;
}

@media (max-width: 820px) {

    .flow-mobile-brand {
        min-width: 0;
    }

    .flow-mobile-logo {
        width: 124px;
    }
}


/* CJV FLOW MOBIELE SIDEBAR SCHADUW FIX */
@media (max-width: 820px) {

    .flow-sidebar {
        box-shadow: none;
    }

    .flow-app-body.flow-menu-open
    .flow-sidebar {
        box-shadow:
            18px 0 50px
            rgba(7, 28, 61, 0.16);
    }
}


/* CJV FLOW KLUSSTATUS OVERZICHT */
.flow-job-status-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;

    margin-bottom: 14px;
}

.flow-job-status {
    min-width: 0;

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

    gap: 8px;

    padding: 10px 11px;

    border: 1px solid #edf1f6;
    border-radius: 10px;

    background: #ffffff;
}

.flow-job-status span {
    color: #64738a;

    font-size: 11px;
    font-weight: 650;
}

.flow-job-status strong {
    font-size: 15px;
    font-weight: 800;
}

.flow-job-status.gepland strong {
    color: #087cff;
}

.flow-job-status.bezig strong {
    color: #7c3aed;
}

.flow-job-status.afgerond strong {
    color: #12b76a;
}

.flow-job-status.geannuleerd strong {
    color: #d92d20;
}

@media (max-width: 420px) {

    .flow-job-status {
        padding: 9px;
    }

    .flow-job-status span {
        font-size: 10.5px;
    }
}


/* CJV FLOW INSTELLINGEN V1 */
.flow-settings-page {
    min-height: 100vh;

    padding: 42px 34px 64px;

    background: #f4f7fb;
}

.flow-settings-editor {
    width: min(100%, 900px);

    margin: 0 auto;
}

.flow-settings-page .page-heading {
    margin-bottom: 26px;
}

.flow-settings-page .page-heading h1 {
    color: #07152d;

    font-size: 34px;
    letter-spacing: -1px;
}

.flow-settings-page .page-heading p {
    max-width: 640px;

    color: #64738a;
}

.flow-settings-page .panel {
    border: 1px solid #e2e8f0;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 24px
        rgba(15, 23, 42, 0.035);
}

@media (max-width: 820px) {

    .flow-settings-page {
        padding: 28px 18px 48px;
    }

    .flow-settings-editor {
        width: 100%;
    }
}

@media (max-width: 520px) {

    .flow-settings-page {
        padding:
            24px 14px
            42px;
    }

    .flow-settings-page
    .page-heading h1 {
        font-size: 30px;
    }
}


/* CJV FLOW INSTELLINGEN V2 - FORMULIER */
.flow-settings-page .panel {
    margin-bottom: 22px;
    padding: 28px;

    border: 1px solid #e1e8f1;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(7, 28, 61, 0.04);
}

.flow-settings-page .panel-heading {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: start;

    gap: 14px;

    margin-bottom: 26px;
    padding-bottom: 20px;

    border-bottom: 1px solid #edf1f6;
}

.flow-settings-page .panel-heading .number {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: grid;
    place-items: center;

    border: 1px solid #d9ecff;
    border-radius: 10px;

    background: #edf6ff;

    color: #087cff;

    font-size: 13px;
    font-weight: 800;
}

.flow-settings-page .panel-heading h2 {
    margin: 1px 0 0;

    color: #0b1930;

    font-size: 17px;
    font-weight: 750;

    letter-spacing: -0.25px;
}

.flow-settings-page .panel-heading p {
    margin: 4px 0 0;

    color: #7a8699;

    font-size: 12px;
    line-height: 1.45;
}

.flow-settings-page .saved-badge {
    min-height: 26px;

    display: inline-flex;
    align-items: center;

    gap: 5px;

    margin-left: 0;
    padding: 5px 9px;

    border: 1px solid #d9ecff;
    border-radius: 999px;

    background: #f3f8ff;

    color: #087cff;

    font-size: 10px;
    font-weight: 750;
}

.flow-settings-page .saved-badge::before {
    content: "✓";

    font-size: 10px;
    font-weight: 900;
}

.flow-settings-page .field {
    margin-bottom: 19px;
}

.flow-settings-page .field label {
    margin-bottom: 7px;

    color: #26364d;

    font-size: 12.5px;
    font-weight: 700;
}

.flow-settings-page .field input,
.flow-settings-page .field textarea,
.flow-settings-page .field select {
    width: 100%;

    min-height: 46px;

    padding: 11px 13px;

    border: 1px solid #d8e0ea;
    border-radius: 10px;

    background: #ffffff;

    color: #0b1930;

    font-size: 14px;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.flow-settings-page .field textarea {
    min-height: 110px;

    line-height: 1.55;

    resize: vertical;
}

.flow-settings-page .field input:hover,
.flow-settings-page .field textarea:hover,
.flow-settings-page .field select:hover {
    border-color: #bdc9d8;
}

.flow-settings-page .field input:focus,
.flow-settings-page .field textarea:focus,
.flow-settings-page .field select:focus {
    border-color: #087cff;

    background: #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.10);

    outline: none;
}

.flow-settings-page .field small {
    margin-top: 7px;

    color: #8995a7;

    font-size: 11px;
    line-height: 1.5;
}

.flow-settings-page .two-columns {
    gap: 16px;
}

.flow-settings-page .save-status {
    margin-top: 22px;
    padding: 11px 13px;

    display: flex;
    align-items: center;

    gap: 8px;

    border: 1px solid #e1eaf4;
    border-radius: 10px;

    background: #f7faff;

    color: #64738a;

    font-size: 11.5px;
}

.flow-settings-page .save-status .status-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: #087cff;
}

@media (max-width: 650px) {

    .flow-settings-page .panel {
        padding: 20px 17px;

        border-radius: 15px;
    }

    .flow-settings-page .panel-heading {
        grid-template-columns:
            auto
            minmax(0, 1fr);

        gap: 11px;
    }

    .flow-settings-page .saved-badge {
        grid-column: 1 / -1;

        justify-self: start;

        margin-top: 2px;
    }

    .flow-settings-page .two-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


/* CJV FLOW INSTELLINGEN V3 - LOGO EN HUISSTIJLKLEUR */

.flow-settings-page .upload-box,
.flow-settings-page .color-box {
    min-height: 138px;

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

    background:
        linear-gradient(
            145deg,
            #fbfdff 0%,
            #f7faff 100%
        );

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}


/* LOGO UPLOAD */

.flow-settings-page .upload-box {
    position: relative;

    display: flex !important;

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

    padding: 20px;

    border-style: dashed;

    cursor: pointer;
}

.flow-settings-page .upload-box:hover {
    border-color: #87beff;

    background: #f5faff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.06);
}

.flow-settings-page .upload-box input {
    display: none;
}

.flow-settings-page #uploadPlaceholder {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;
}

.flow-settings-page .upload-icon {
    width: 42px;
    height: 42px;

    margin-bottom: 5px;

    display: grid;
    place-items: center;

    border: 1px solid #d9ecff;
    border-radius: 12px;

    background: #edf6ff;

    color: #087cff;

    font-size: 21px;
    font-weight: 500;
}

.flow-settings-page #uploadPlaceholder strong {
    color: #172033;

    font-size: 13px;
    font-weight: 750;
}

.flow-settings-page #uploadPlaceholder span {
    color: #8995a7;

    font-size: 10.5px;
}

.flow-settings-page .upload-preview {
    display: none;

    max-width: 82%;
    max-height: 92px;

    object-fit: contain;
}


/* HUISSTIJLKLEUR */

.flow-settings-page .color-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 16px;

    padding: 20px;
}

.flow-settings-page .color-box input[type="color"] {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    padding: 4px;

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

    background: #ffffff;

    cursor: pointer;
}

.flow-settings-page .color-box strong {
    color: #172033;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 0.2px;
}

.flow-settings-page .color-box span {
    margin-top: 5px;

    color: #8995a7;

    font-size: 11px;
    line-height: 1.45;
}


/* MOBIEL */

@media (max-width: 650px) {

    .flow-settings-page .upload-box,
    .flow-settings-page .color-box {
        min-height: 122px;
    }

    .flow-settings-page .color-box {
        padding: 17px;
    }

    .flow-settings-page
    .color-box
    input[type="color"] {
        width: 52px;
        height: 52px;

        flex-basis: 52px;
    }
}


/* CJV FLOW INSTELLINGEN V4 - DOCUMENTINSTELLINGEN */

.flow-document-settings-panel
.two-columns {
    align-items: start;
}

.flow-document-settings-panel
.field select {
    appearance: none;
    -webkit-appearance: none;

    padding-right: 42px;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #667085 50%
        ),
        linear-gradient(
            135deg,
            #667085 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 18px) 20px,
        calc(100% - 13px) 20px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;

    cursor: pointer;
}

.flow-document-settings-panel
.field select:hover {
    background-color: #fbfdff;
}

.flow-document-settings-panel
#standaardVoorwaarden {
    min-height: 132px;

    padding: 13px 14px;

    background: #fbfdff;
}

.flow-document-settings-panel
#standaardVoorwaarden:focus {
    background: #ffffff;
}

.flow-document-settings-panel
#documentInstellingenStatus {
    margin-top: 6px;

    background:
        linear-gradient(
            145deg,
            #f7fbff,
            #f8f7ff
        );
}

.flow-document-settings-panel
#documentInstellingenStatus
.status-dot {
    background: #12b76a;
}

@media (max-width: 650px) {

    .flow-document-settings-panel
    #standaardVoorwaarden {
        min-height: 150px;
    }
}


/* CJV FLOW OFFERTES V1 */
.flow-offertes-page {
    min-height: 100vh;

    padding: 42px 34px 64px;

    background: #f4f7fb;
}

.flow-offertes-editor {
    width: min(100%, 1100px);

    margin: 0 auto;
}

.flow-offertes-page .page-heading {
    margin-bottom: 26px;
}

.flow-offertes-page .page-heading .eyebrow {
    color: #087cff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.15px;
}

.flow-offertes-page .page-heading h1 {
    margin: 7px 0 6px;

    color: #07152d;

    font-size: 34px;
    font-weight: 800;

    letter-spacing: -1px;
}

.flow-offertes-page .page-heading p {
    margin: 0;

    color: #64738a;

    font-size: 14px;
}

.flow-offertes-page > .flow-offertes-editor > .panel {
    border: 1px solid #e2e8f0;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(7, 28, 61, 0.04);
}

@media (max-width: 820px) {

    .flow-offertes-page {
        padding: 28px 18px 48px;
    }

    .flow-offertes-editor {
        width: 100%;
    }
}

@media (max-width: 520px) {

    .flow-offertes-page {
        padding:
            24px 14px
            42px;
    }

    .flow-offertes-page
    .page-heading h1 {
        font-size: 30px;
    }
}


/* CJV FLOW OFFERTES V2 - ZOEKEN, FILTER EN KAARTEN */

.flow-offertes-page
.flow-offertes-editor
> .panel {
    padding: 26px;
}

.flow-offertes-page .panel-heading {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 13px;

    margin-bottom: 24px;
    padding-bottom: 20px;

    border-bottom: 1px solid #edf1f6;
}

.flow-offertes-page
.panel-heading
.number {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid #d9ecff;
    border-radius: 10px;

    background: #edf6ff;

    color: #087cff;

    font-size: 13px;
    font-weight: 800;
}

.flow-offertes-page
.panel-heading h2 {
    margin: 0;

    color: #0b1930;

    font-size: 17px;
    font-weight: 750;
}

.flow-offertes-page
.panel-heading p {
    margin: 4px 0 0;

    color: #7a8699;

    font-size: 12px;
}


/* ZOEKEN */

.flow-offerte-search {
    margin-bottom: 12px;
}

.flow-offerte-search-input {
    width: 100% !important;
    max-width: 520px !important;

    min-height: 46px;

    padding: 11px 14px !important;

    border: 1px solid #d8e0ea !important;
    border-radius: 11px !important;

    background: #ffffff !important;

    color: #0b1930;

    font-size: 14px !important;

    outline: none;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.flow-offerte-search-input:focus {
    border-color: #087cff !important;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.10);
}


/* FILTER */

.flow-offerte-filter {
    margin-bottom: 24px;

    display: flex;
    align-items: center;

    gap: 10px;

    flex-wrap: wrap;
}

.flow-offerte-filter-label {
    color: #344054;

    font-size: 13px;
    font-weight: 700;
}

.flow-offerte-filter-select {
    min-height: 42px;

    padding: 0 36px 0 12px !important;

    border: 1px solid #d8e0ea !important;
    border-radius: 10px !important;

    background-color: #ffffff !important;

    color: #344054;

    font-size: 13px !important;
    font-weight: 600;

    cursor: pointer;
}


/* OFFERTEKAART */

.flow-offerte-card {
    padding: 21px;

    border: 1px solid #e1e8f1;
    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 4px 14px
        rgba(7, 28, 61, 0.035);

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.flow-offerte-card:hover {
    border-color: #cfdeef;

    box-shadow:
        0 10px 28px
        rgba(7, 28, 61, 0.07);

    transform: translateY(-1px);
}


/* ACTIEBALK */

.flow-offertes-page
.offerte-actiebalk {
    margin-top: 18px;
    padding-top: 16px;

    border-top: 1px solid #edf1f6;
}

.flow-offertes-page
.offerte-actiebalk-info {
    color: #7a8699;

    font-size: 12px;
}

.flow-offertes-page
.offerte-status-select,
.flow-offertes-page
.offerte-actie-link,
.flow-offertes-page
.offerte-actie-knop,
.flow-offertes-page
.offerte-meer summary {
    min-height: 40px;

    border-color: #dce4ee;
    border-radius: 10px;

    font-size: 12.5px;
    font-weight: 650;
}

.flow-offertes-page
.offerte-status-select:focus {
    border-color: #087cff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.09);

    outline: none;
}

.flow-offertes-page
.offerte-actie-link:hover,
.flow-offertes-page
.offerte-actie-knop:hover,
.flow-offertes-page
.offerte-meer summary:hover {
    border-color: #bdd3eb;

    background: #f5f9ff;

    color: #087cff;
}

.flow-offertes-page
.offerte-actie-primair {
    border-color: #087cff;

    background:
        linear-gradient(
            135deg,
            #087cff,
            #1294ff
        );

    color: #ffffff;

    box-shadow:
        0 6px 16px
        rgba(8, 124, 255, 0.16);
}

.flow-offertes-page
.offerte-actie-primair:hover {
    border-color: #087cff;

    background: #087cff;

    color: #ffffff;
}


/* MOBIEL */

@media (max-width: 700px) {

    .flow-offertes-page
    .flow-offertes-editor
    > .panel {
        padding: 18px 16px;
    }

    .flow-offerte-search-input {
        max-width: none !important;
    }

    .flow-offerte-filter {
        align-items: stretch;

        flex-direction: column;
    }

    .flow-offerte-filter-select {
        width: 100%;
    }

    .flow-offerte-card {
        padding: 17px;
    }

    .flow-offertes-page
    .offerte-acties {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .flow-offertes-page
    .offerte-acties
    > * {
        width: 100%;
    }

    .flow-offertes-page
    .offerte-meer {
        width: 100%;
    }

    .flow-offertes-page
    .offerte-meer summary {
        width: 100%;
    }
}


/* CJV FLOW OFFERTES - MEER VOLLE BREEDTE MOBIEL */
@media (max-width: 700px) {

    .flow-offertes-page
    .offerte-acties
    > details.offerte-meer {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        display: block;
    }

    .flow-offertes-page
    .offerte-acties
    > details.offerte-meer
    > summary {
        width: 100% !important;
        box-sizing: border-box;
    }

    .flow-offertes-page
    .offerte-meer-menu {
        left: 0;
        right: 0;

        width: 100%;
        box-sizing: border-box;
    }
}


/* CJV FLOW KLUSSEN V1 */
.flow-klussen-page {
    width: min(100% - 68px, 1100px);

    min-height: 100vh;

    margin: 0 auto;

    padding: 42px 0 64px;
}

@media (max-width: 820px) {

    .flow-klussen-page {
        width: min(100% - 36px, 1100px);

        padding:
            28px 0
            48px;
    }
}

@media (max-width: 520px) {

    .flow-klussen-page {
        width: min(100% - 28px, 1100px);

        padding:
            24px 0
            42px;
    }
}


/* CJV FLOW KLUSSEN V2 - TOOLBAR EN KAARTEN */

.flow-klussen-heading {
    margin-bottom: 28px;
}

.flow-klussen-heading h1 {
    margin: 7px 0 6px;

    color: #07152d;

    font-size: 34px;
    font-weight: 800;

    letter-spacing: -1px;
}

.flow-klussen-heading p {
    margin: 0;

    color: #64738a;

    font-size: 14px;
}


/* TOOLBAR */

.flow-klussen-toolbar {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        180px;

    gap: 12px;

    margin-bottom: 24px;
}

.flow-klussen-search,
.flow-klussen-filter {
    min-height: 46px;

    border: 1px solid #d8e0ea;
    border-radius: 11px;

    background: #ffffff;

    color: #0b1930;

    font: inherit;
    font-size: 14px;

    outline: none;
}

.flow-klussen-search {
    width: 100%;

    min-width: 0;

    padding: 11px 14px;
}

.flow-klussen-filter {
    width: 100%;

    padding: 0 12px;

    cursor: pointer;
}

.flow-klussen-search:focus,
.flow-klussen-filter:focus {
    border-color: #087cff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.10);
}


/* LIJST */

.flow-klussen-list-card {
    padding: 24px;

    border: 1px solid #e1e8f1;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(7, 28, 61, 0.04);
}

.flow-klus-card {
    padding: 20px 4px;

    border-bottom: 1px solid #edf1f6;
}

.flow-klus-card:first-child {
    padding-top: 4px;
}

.flow-klus-card:last-child {
    padding-bottom: 4px;

    border-bottom: 0;
}

.flow-klus-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;
}

.flow-klus-info {
    min-width: 0;
}

.flow-klus-klant {
    display: block;

    color: #0b1930;

    font-size: 15px;
    font-weight: 750;
}

.flow-klus-offerte {
    margin-top: 5px;

    color: #718096;

    font-size: 12px;
}

.flow-klus-omschrijving {
    margin-top: 8px;

    color: #475569;

    font-size: 13px;
    line-height: 1.5;
}

.flow-klus-side {
    min-width: 180px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 8px;
}

.flow-klus-status {
    display: inline-flex;
    align-items: center;

    min-height: 26px;

    padding: 4px 9px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 750;
}

.flow-klus-status.gepland {
    background: #edf6ff;

    color: #087cff;
}

.flow-klus-status.bezig {
    background: #f3efff;

    color: #7c3aed;
}

.flow-klus-status.afgerond {
    background: #ecfdf3;

    color: #12b76a;
}

.flow-klus-status.geannuleerd {
    background: #fff1f0;

    color: #d92d20;
}

.flow-klus-datum {
    color: #718096;

    font-size: 12px;
}

.flow-klus-openen {
    min-height: 38px;

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

    padding: 0 13px;

    border: 1px solid #dce4ee;
    border-radius: 10px;

    background: #ffffff;

    color: #344054;

    font-size: 12.5px;
    font-weight: 650;

    text-decoration: none;

    transition:
        border-color 150ms ease,
        background 150ms ease,
        color 150ms ease;
}

.flow-klus-openen:hover {
    border-color: #bdd3eb;

    background: #f5f9ff;

    color: #087cff;
}


/* MOBIEL */

@media (max-width: 700px) {

    .flow-klussen-toolbar {
        grid-template-columns: 1fr;
    }

    .flow-klussen-list-card {
        padding: 18px 16px;
    }

    .flow-klus-main {
        flex-direction: column;

        gap: 14px;
    }

    .flow-klus-side {
        width: 100%;
        min-width: 0;
    }

    .flow-klus-openen {
        width: 100%;
    }
}


/* CJV FLOW KLANTEN V1 */
.flow-klanten-page {
    width: min(100% - 68px, 1080px);

    min-height: 100vh;

    margin: 0 auto;

    padding: 42px 0 64px;
}

.flow-klanten-page > div:first-child {
    margin-bottom: 28px !important;
}

.flow-klanten-page > div:first-child h1 {
    margin: 0 0 7px !important;

    color: #07152d;

    font-size: 34px;
    font-weight: 800;

    letter-spacing: -1px;
}

.flow-klanten-page > div:first-child p {
    color: #64738a !important;

    font-size: 14px;
}

@media (max-width: 820px) {

    .flow-klanten-page {
        width: min(100% - 36px, 1080px);

        padding:
            28px 0
            48px;
    }
}

@media (max-width: 520px) {

    .flow-klanten-page {
        width: min(100% - 28px, 1080px);

        padding:
            24px 0
            42px;
    }

    .flow-klanten-page
    > div:first-child h1 {
        font-size: 30px;
    }
}


/* CJV FLOW KLANTEN V2 - ZOEKEN EN KAARTEN */

.flow-klanten-heading {
    margin-bottom: 28px !important;
}

.flow-klanten-heading h1 {
    margin: 7px 0 6px !important;

    color: #07152d;

    font-size: 34px;
    font-weight: 800;

    letter-spacing: -1px;
}

.flow-klanten-heading p {
    margin: 0;

    color: #64738a !important;

    font-size: 14px;
}


/* ZOEKEN */

.flow-klanten-search-wrap {
    margin-bottom: 24px;
}

.flow-klanten-search {
    width: 100%;
    max-width: 560px;

    min-height: 46px;

    padding: 11px 14px;

    border: 1px solid #d8e0ea;
    border-radius: 11px;

    background: #ffffff;

    color: #0b1930;

    font: inherit;
    font-size: 14px;

    box-sizing: border-box;

    outline: none;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.flow-klanten-search:focus {
    border-color: #087cff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.10);
}


/* KLANTENLIJST */

.flow-klanten-list {
    display: grid;

    gap: 14px;
}

.flow-klant-card {
    padding: 22px;

    border: 1px solid #e1e8f1;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 5px 18px
        rgba(7, 28, 61, 0.035);

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.flow-klant-card:hover {
    border-color: #cfdeef;

    box-shadow:
        0 10px 28px
        rgba(7, 28, 61, 0.065);

    transform: translateY(-1px);
}

.flow-klant-card-header {
    display: flex;
    align-items: flex-start;

    gap: 15px;
}

.flow-klant-avatar {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: grid;
    place-items: center;

    border: 1px solid #d9ecff;
    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #edf6ff,
            #eef3ff
        );

    color: #087cff;

    font-size: 16px;
    font-weight: 800;
}

.flow-klant-info {
    min-width: 0;
}

.flow-klant-info h2 {
    margin: 0 0 8px;

    color: #0b1930;

    font-size: 17px;
    font-weight: 750;

    letter-spacing: -0.2px;
}

.flow-klant-adres,
.flow-klant-contact {
    color: #64738a;

    font-size: 12.5px;
    line-height: 1.55;
}

.flow-klant-contact {
    margin-top: 7px;
}

.flow-klant-adres > div:empty,
.flow-klant-contact > div:empty {
    display: none;
}


/* ACTIES */

.flow-klanten-page
.klant-acties {
    margin-top: 18px;
    padding-top: 16px;

    border-top: 1px solid #edf1f6;
}

.flow-klanten-page
.klant-actie,
.flow-klanten-page
.klant-meer summary {
    min-height: 40px;

    border-color: #dce4ee;
    border-radius: 10px;

    color: #344054;

    font-size: 12.5px;
    font-weight: 650;
}

.flow-klanten-page
.klant-actie:hover,
.flow-klanten-page
.klant-meer summary:hover {
    border-color: #bdd3eb;

    background: #f5f9ff;

    color: #087cff;
}

.flow-klanten-page
.klant-actie-primair {
    border-color: #087cff;

    background:
        linear-gradient(
            135deg,
            #087cff,
            #1294ff
        );

    color: #ffffff;

    box-shadow:
        0 6px 16px
        rgba(8, 124, 255, 0.16);
}

.flow-klanten-page
.klant-actie-primair:hover {
    border-color: #087cff;

    background: #087cff;

    color: #ffffff;
}


/* GEEN KLANTEN */

.flow-geen-klanten {
    display: none;

    margin-bottom: 20px;
    padding: 28px;

    border: 1px dashed #cfdbea;
    border-radius: 14px;

    background: #ffffff;

    color: #64738a;

    text-align: center;
}


/* MOBIEL */

@media (max-width: 650px) {

    .flow-klanten-search {
        max-width: none;
    }

    .flow-klant-card {
        padding: 18px 16px;
    }

    .flow-klant-card-header {
        gap: 12px;
    }

    .flow-klant-avatar {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }

    .flow-klanten-page
    .klant-acties {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .flow-klanten-page
    .klant-acties
    > * {
        width: 100%;
    }

    .flow-klanten-page
    .klant-meer summary {
        width: 100%;
    }

    .flow-klanten-page
    .klant-meer-menu {
        left: 0;
        right: 0;

        width: 100%;

        box-sizing: border-box;
    }
}


/* CJV FLOW FACTUREN V1 */

.flow-facturen-page {
    width: min(100% - 68px, 1100px);

    min-height: 100vh;

    margin: 0 auto;

    padding: 42px 0 64px;
}

.flow-facturen-page > div:first-child {
    margin-bottom: 28px !important;
}

.flow-facturen-page > div:first-child h1 {
    margin: 0 0 7px !important;

    color: #07152d;

    font-size: 34px;
    font-weight: 800;

    letter-spacing: -1px;
}

.flow-facturen-page > div:first-child p {
    color: #64738a !important;

    font-size: 14px;
}

@media (max-width: 820px) {

    .flow-facturen-page {
        width: min(100% - 36px, 1100px);

        padding:
            28px 0
            48px;
    }
}

@media (max-width: 520px) {

    .flow-facturen-page {
        width: min(100% - 28px, 1100px);

        padding:
            24px 0
            42px;
    }

    .flow-facturen-page
    > div:first-child h1 {
        font-size: 30px;
    }
}


/* CJV FLOW FACTUREN V2 - TOOLBAR EN KAARTEN */

.flow-facturen-heading {
    margin-bottom: 28px !important;
}

.flow-facturen-heading h1 {
    margin: 7px 0 6px !important;

    color: #07152d;

    font-size: 34px;
    font-weight: 800;

    letter-spacing: -1px;
}

.flow-facturen-heading p {
    margin: 0;

    color: #64738a !important;

    font-size: 14px;
}


/* TOOLBAR */

.flow-facturen-toolbar {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        180px;

    gap: 12px;

    margin-bottom: 24px;
}

.flow-facturen-search,
.flow-facturen-filter {
    min-height: 46px;

    border: 1px solid #d8e0ea;
    border-radius: 11px;

    background: #ffffff;

    color: #0b1930;

    font: inherit;
    font-size: 14px;

    outline: none;
}

.flow-facturen-search {
    width: 100%;

    min-width: 0;

    padding: 11px 14px;
}

.flow-facturen-filter {
    width: 100%;

    padding: 0 12px;

    cursor: pointer;
}

.flow-facturen-search:focus,
.flow-facturen-filter:focus {
    border-color: #087cff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.10);
}


/* LIJST */

.flow-facturen-list {
    display: grid;

    gap: 14px;
}


/* FACTUURKAART */

.flow-factuur-card {
    padding: 21px 23px;

    border: 1px solid #e1e8f1;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 5px 18px
        rgba(7, 28, 61, 0.035);

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.flow-factuur-card:hover {
    border-color: #cfdeef;

    box-shadow:
        0 10px 28px
        rgba(7, 28, 61, 0.065);

    transform: translateY(-1px);
}

.flow-factuur-main {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}

.flow-factuur-info {
    min-width: 0;
}

.flow-factuur-nummer {
    margin-bottom: 5px;

    color: #718096;

    font-size: 12px;
    font-weight: 650;
}

.flow-factuur-klant {
    display: block;

    color: #0b1930;

    font-size: 17px;
    font-weight: 750;

    letter-spacing: -0.2px;
}

.flow-factuur-datum {
    margin-top: 5px;

    color: #718096;

    font-size: 12px;
}

.flow-factuur-rechts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 9px;
}

.flow-factuur-bedrag {
    color: #07152d;

    font-size: 20px;
    font-weight: 800;
}


/* ACTIES */

.flow-facturen-page
.factuur-acties {
    margin-top: 0;

    justify-content: flex-end;
}

.flow-facturen-page
.factuur-status-select,
.flow-facturen-page
.factuur-actie,
.flow-facturen-page
.factuur-meer summary {
    min-height: 40px;

    border-color: #dce4ee;
    border-radius: 10px;

    font-size: 12.5px;
    font-weight: 650;
}

.flow-facturen-page
.factuur-status-select:focus {
    border-color: #087cff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.09);

    outline: none;
}

.flow-facturen-page
.factuur-actie:hover,
.flow-facturen-page
.factuur-meer summary:hover {
    border-color: #bdd3eb;

    background: #f5f9ff;

    color: #087cff;
}

.flow-facturen-page
.factuur-actie-primair {
    border-color: #087cff;

    background:
        linear-gradient(
            135deg,
            #087cff,
            #1294ff
        );

    color: #ffffff;

    box-shadow:
        0 6px 16px
        rgba(8, 124, 255, 0.16);
}

.flow-facturen-page
.factuur-actie-primair:hover {
    border-color: #087cff;

    background: #087cff;

    color: #ffffff;
}


/* ECHTE STATUSKLEUREN */

.flow-factuur-card.status-openstaand
.factuur-status-select {
    border-color: #ddd6fe;

    background: #f5f3ff;

    color: #6d28d9;
}

.flow-factuur-card.status-te-laat
.factuur-status-select {
    border-color: #fed7d7;

    background: #fff1f0;

    color: #d92d20;
}

.flow-factuur-card.status-betaald
.factuur-status-select {
    border-color: #cdebd9;

    background: #ecfdf3;

    color: #128a51;
}


/* GEEN FACTUREN */

.flow-geen-facturen {
    display: none;

    padding: 30px;

    border: 1px dashed #cfdbea;
    border-radius: 15px;

    background: #ffffff;

    text-align: center;
}

.flow-geen-facturen h2 {
    margin: 0;

    color: #0b1930;

    font-size: 17px;
}

.flow-geen-facturen p {
    margin: 7px 0 0;

    color: #64738a;

    font-size: 13px;
}


/* MOBIEL */

@media (max-width: 700px) {

    .flow-facturen-toolbar {
        grid-template-columns: 1fr;
    }

    .flow-factuur-card {
        padding: 18px 16px;
    }

    .flow-factuur-main {
        align-items: stretch;

        flex-direction: column;

        gap: 16px;
    }

    .flow-factuur-rechts {
        align-items: stretch;
    }

    .flow-factuur-bedrag {
        font-size: 19px;
    }

    .flow-facturen-page
    .factuur-acties {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .flow-facturen-page
    .factuur-status-select {
        width: 100%;

        grid-column: 1 / -1;
    }

    .flow-facturen-page
    .factuur-actie,
    .flow-facturen-page
    .factuur-meer,
    .flow-facturen-page
    .factuur-meer summary {
        width: 100%;
    }

    .flow-facturen-page
    .factuur-meer-menu {
        left: 0;
        right: 0;

        width: 100%;

        box-sizing: border-box;
    }
}


/* CJV FLOW NIEUWE OFFERTE V1 */

.flow-editor-statusbar {
    width: min(100% - 52px, 1380px);

    margin: 18px auto 0;

    display: flex;
    justify-content: flex-end;
}

.flow-editor-save-status {
    margin: 0;
}

.flow-offerte-editor-page {
    width: min(100% - 52px, 1380px);

    margin:
        18px auto
        64px;
}

.flow-offerte-editor-page
.page-heading .eyebrow {
    color: #087cff;

    font-weight: 800;

    letter-spacing: 1.1px;
}

.flow-offerte-editor-page
.page-heading h1 {
    color: #07152d;

    letter-spacing: -0.8px;
}

.flow-offerte-editor-page
.page-heading p {
    color: #64738a;
}


/* MOBIEL */

@media (max-width: 820px) {

    .flow-editor-statusbar {
        width: min(100% - 36px, 760px);

        margin-top: 16px;
    }

    .flow-offerte-editor-page {
        width: min(100% - 36px, 760px);

        margin:
            20px auto
            48px;
    }
}

@media (max-width: 650px) {

    .flow-editor-statusbar {
        display: none;
    }

    .flow-offerte-editor-page {
        width: calc(100% - 28px);

        margin:
            24px auto
            42px;
    }
}


/* PRINT: CJV FLOW CHROME NIET MEEPRINTEN */

@media print {

    .flow-sidebar,
    .flow-mobile-header,
    .flow-mobile-overlay,
    .flow-editor-statusbar {
        display: none !important;
    }

    .flow-shell,
    .flow-main {
        display: block !important;

        width: 100% !important;
    }

    .flow-offerte-editor-page {
        width: 100% !important;

        margin: 0 !important;
    }
}


/* CJV FLOW NIEUWE OFFERTE V2 - KLANT & OFFERTE */

.flow-offerte-editor-page
.page-heading {
    margin-bottom: 26px;
}

.flow-offerte-editor-page
.page-heading h1 {
    margin: 7px 0 7px;

    font-size: 32px;
    font-weight: 800;

    line-height: 1.12;
}

.flow-offerte-editor-page
.page-heading p {
    max-width: 620px;

    margin: 0;

    font-size: 13.5px;
    line-height: 1.55;
}


/* EERSTE KAART */

.flow-client-offer-panel {
    padding: 25px;

    border: 1px solid #e1e8f1;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 24px
        rgba(7, 28, 61, 0.045);
}

.flow-client-offer-panel
.panel-heading {
    margin-bottom: 24px;
    padding-bottom: 19px;

    border-bottom: 1px solid #edf1f6;
}

.flow-client-offer-panel
.panel-heading .number {
    width: 34px;
    height: 34px;

    flex-basis: 34px;

    border: 1px solid #d9ecff;
    border-radius: 10px;

    background: #edf6ff;

    color: #087cff;
}

.flow-client-offer-panel
.panel-heading h2 {
    color: #0b1930;

    font-size: 17px;
    font-weight: 750;
}

.flow-client-offer-panel
.panel-heading p {
    margin-top: 4px;

    color: #7a8699;

    font-size: 11.5px;
}


/* VELDEN */

.flow-client-offer-panel
.field {
    margin-bottom: 17px;
}

.flow-client-offer-panel
.field label {
    margin-bottom: 7px;

    color: #344054;

    font-size: 11.5px;
    font-weight: 700;
}

.flow-client-offer-panel
.field input,
.flow-client-offer-panel
.field select {
    min-height: 44px;

    padding: 10px 12px;

    border: 1px solid #d8e0ea;
    border-radius: 10px;

    background: #ffffff;

    color: #0b1930;

    font-size: 13px;

    transition:
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.flow-client-offer-panel
.field input:focus,
.flow-client-offer-panel
.field select:focus {
    border-color: #087cff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.09);
}


/* OPGESLAGEN KLANT */

.flow-client-offer-panel
.flow-saved-client-select {
    width: 100%;

    min-height: 44px;

    margin-top: 6px;

    padding: 10px 12px;

    border: 1px solid #d8e0ea;
    border-radius: 10px;

    background: #f8fbff;

    color: #0b1930;

    font: inherit;
    font-size: 13px;

    cursor: pointer;
}


/* KLANT OPSLAAN */

.flow-save-client-button {
    min-height: 40px;

    margin-top: 10px;

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

    padding: 0 14px;

    border: 1px solid #cfe0f3;
    border-radius: 10px;

    background: #f5f9ff;

    color: #087cff;

    font: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        border-color 150ms ease,
        background 150ms ease;
}

.flow-save-client-button:hover {
    border-color: #9ec9f8;

    background: #edf6ff;
}


/* MOBIEL */

@media (max-width: 650px) {

    .flow-offerte-editor-page
    .page-heading h1 {
        font-size: 28px;
    }

    .flow-client-offer-panel {
        padding: 19px 16px;
    }

    .flow-save-client-button {
        width: 100%;
    }
}


/* CJV FLOW NIEUWE OFFERTE V3 - WERKZAAMHEDEN + OFFERTEPOSTEN */

.flow-work-panel,
.flow-quote-lines-panel {
    padding: 25px;

    border: 1px solid #e1e8f1;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 24px
        rgba(7, 28, 61, 0.045);
}


/* PANEL HEADERS */

.flow-work-panel .panel-heading,
.flow-quote-lines-panel .panel-heading {
    margin-bottom: 24px;
    padding-bottom: 19px;

    border-bottom: 1px solid #edf1f6;
}

.flow-work-panel .panel-heading .number,
.flow-quote-lines-panel .panel-heading .number {
    width: 34px;
    height: 34px;

    flex-basis: 34px;

    border: 1px solid #d9ecff;
    border-radius: 10px;

    background: #edf6ff;

    color: #087cff;
}

.flow-work-panel .panel-heading h2,
.flow-quote-lines-panel .panel-heading h2 {
    color: #0b1930;

    font-size: 17px;
    font-weight: 750;
}

.flow-work-panel .panel-heading p,
.flow-quote-lines-panel .panel-heading p {
    margin-top: 4px;

    color: #7a8699;

    font-size: 11.5px;
}


/* WERKZAAMHEDEN */

.flow-work-panel textarea {
    min-height: 145px;

    padding: 13px 14px;

    border: 1px solid #d8e0ea;
    border-radius: 11px;

    background: #ffffff;

    color: #0b1930;

    font-size: 13px;
    line-height: 1.6;

    resize: vertical;
}

.flow-work-panel textarea:focus {
    border-color: #087cff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.09);
}


/* OFFERTEPOSTEN HEADER */

.flow-quote-lines-panel .line-header {
    margin-bottom: 9px;

    padding: 0 6px;

    color: #8491a5;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.3px;
}


/* OFFERTEREGELS */

.flow-quote-lines-panel .offer-line {
    margin-bottom: 9px;
}

.flow-quote-lines-panel
.offer-line input {
    min-height: 40px;

    padding: 9px 10px;

    border: 1px solid #d8e0ea;
    border-radius: 9px;

    background: #ffffff;

    color: #0b1930;

    font-size: 12.5px;

    transition:
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.flow-quote-lines-panel
.offer-line input:focus {
    border-color: #087cff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.08);
}

.flow-quote-lines-panel
.line-total {
    color: #0b1930;

    font-size: 12px;
    font-weight: 750;
}


/* VERWIJDER REGEL */

.flow-quote-lines-panel
.remove-line {
    width: 32px;
    height: 32px;

    border-radius: 9px;

    color: #98a2b3;

    transition:
        background 150ms ease,
        color 150ms ease;
}

.flow-quote-lines-panel
.remove-line:hover {
    background: #fff1f0;

    color: #d92d20;
}


/* REGEL TOEVOEGEN */

.flow-quote-lines-panel
.add-line-button {
    min-height: 40px;

    margin-top: 10px;

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

    padding: 0 14px;

    border: 1px solid #cfe0f3;
    border-radius: 10px;

    background: #f5f9ff;

    color: #087cff;

    font-size: 12px;
    font-weight: 700;

    transition:
        border-color 150ms ease,
        background 150ms ease;
}

.flow-quote-lines-panel
.add-line-button:hover {
    border-color: #9ec9f8;

    background: #edf6ff;
}


/* BTW */

.flow-quote-lines-panel
.vat-row {
    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid #edf1f6;
}

.flow-quote-lines-panel
.vat-row label {
    color: #344054;

    font-size: 11.5px;
    font-weight: 700;
}

.flow-quote-lines-panel
.vat-row select {
    min-width: 95px;
    min-height: 40px;

    padding: 0 32px 0 11px;

    border: 1px solid #d8e0ea;
    border-radius: 9px;

    background: #ffffff;

    color: #0b1930;

    font-size: 12.5px;

    cursor: pointer;
}

.flow-quote-lines-panel
.vat-row select:focus {
    border-color: #087cff;

    outline: none;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.08);
}


/* MOBIEL */

@media (max-width: 650px) {

    .flow-work-panel,
    .flow-quote-lines-panel {
        padding: 19px 16px;
    }

    .flow-work-panel textarea {
        min-height: 160px;
    }

    .flow-quote-lines-panel
    .add-line-button {
        width: 100%;
    }

    .flow-quote-lines-panel
    .vat-row {
        align-items: stretch;

        flex-direction: column;

        gap: 9px;
    }

    .flow-quote-lines-panel
    .vat-row select {
        width: 100%;
    }
}


/* CJV FLOW OFFERTEPOSTEN - MOBIELE REGELINDELING */
@media (max-width: 650px) {

    .flow-quote-lines-panel
    .offer-line {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 8px;

        padding: 12px 0;

        border-bottom: 1px solid #edf1f6;
    }

    .flow-quote-lines-panel
    .offer-line
    > input:first-child {
        grid-column: 1 / -1;
    }

    .flow-quote-lines-panel
    .line-total {
        grid-column: 1;

        align-self: center;

        text-align: left;

        padding-left: 2px;
    }

    .flow-quote-lines-panel
    .remove-line {
        grid-column: 2;

        justify-self: end;
    }
}


/* CJV FLOW OFFERTEPOSTEN - MOBIELE VELDLABELS */

.flow-line-mobile-field {
    display: contents;
}

.flow-line-mobile-label {
    display: none;
}

@media (max-width: 650px) {

    .flow-quote-lines-panel
    .flow-line-mobile-field {
        min-width: 0;

        display: flex;
        flex-direction: column;

        gap: 6px;
    }

    .flow-quote-lines-panel
    .flow-line-mobile-label {
        display: block;

        color: #64738a;

        font-size: 10px;
        font-weight: 700;

        text-transform: uppercase;

        letter-spacing: 0.35px;
    }

    .flow-quote-lines-panel
    .flow-line-mobile-field input {
        width: 100%;
    }
}


/* CJV FLOW NIEUWE OFFERTE V4 - NOTITIE + ACTIES */

.flow-notes-panel {
    padding: 25px;

    border: 1px solid #e1e8f1;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 24px
        rgba(7, 28, 61, 0.045);
}


/* HEADER */

.flow-notes-panel
.panel-heading {
    margin-bottom: 24px;
    padding-bottom: 19px;

    border-bottom: 1px solid #edf1f6;
}

.flow-notes-panel
.panel-heading .number {
    width: 34px;
    height: 34px;

    flex-basis: 34px;

    border: 1px solid #d9ecff;
    border-radius: 10px;

    background: #edf6ff;

    color: #087cff;
}

.flow-notes-panel
.panel-heading h2 {
    color: #0b1930;

    font-size: 17px;
    font-weight: 750;
}

.flow-notes-panel
.panel-heading p {
    margin-top: 4px;

    color: #7a8699;

    font-size: 11.5px;
}


/* NOTITIE + VOORWAARDEN */

.flow-notes-panel
.field {
    margin-bottom: 18px;
}

.flow-notes-panel
.field:last-child {
    margin-bottom: 0;
}

.flow-notes-panel
.field label {
    margin-bottom: 7px;

    color: #344054;

    font-size: 11.5px;
    font-weight: 700;
}

.flow-notes-panel
textarea {
    min-height: 105px;

    padding: 13px 14px;

    border: 1px solid #d8e0ea;
    border-radius: 11px;

    background: #ffffff;

    color: #0b1930;

    font-size: 13px;
    line-height: 1.6;

    resize: vertical;

    transition:
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.flow-notes-panel
textarea:focus {
    border-color: #087cff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.09);
}


/* ONDERSTE ACTIES */

.flow-offer-actions {
    margin-top: 20px;

    padding: 18px;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 10px;

    border: 1px solid #e1e8f1;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 24px
        rgba(7, 28, 61, 0.04);
}

.flow-offer-actions
button {
    min-height: 44px;

    border-radius: 10px;

    font-size: 12.5px;
    font-weight: 700;

    transition:
        border-color 150ms ease,
        background 150ms ease,
        color 150ms ease,
        box-shadow 150ms ease,
        transform 150ms ease;
}


/* CONCEPT OPSLAAN */

.flow-offer-actions
#opslaanKnop {
    border: 1px solid #d8e0ea;

    background: #ffffff;

    color: #344054;
}

.flow-offer-actions
#opslaanKnop:hover {
    border-color: #bdd3eb;

    background: #f5f9ff;

    color: #087cff;
}


/* OFFERTE VERSTUREN */

.flow-offer-actions
#verstuurOfferteKnop {
    border: 1px solid #087cff;

    background:
        linear-gradient(
            135deg,
            #087cff,
            #1294ff
        );

    color: #ffffff;

    box-shadow:
        0 7px 18px
        rgba(8, 124, 255, 0.18);
}

.flow-offer-actions
#verstuurOfferteKnop:hover {
    background: #087cff;

    transform: translateY(-1px);

    box-shadow:
        0 9px 22px
        rgba(8, 124, 255, 0.22);
}


/* PDF */

.flow-offer-actions
#pdfKnopMobile {
    border: 1px solid #cfe0f3;

    background: #f5f9ff;

    color: #087cff;
}

.flow-offer-actions
#pdfKnopMobile:hover {
    border-color: #9ec9f8;

    background: #edf6ff;
}


/* MOBIEL */

@media (max-width: 650px) {

    .flow-notes-panel {
        padding: 19px 16px;
    }

    .flow-notes-panel
    textarea {
        min-height: 120px;
    }

    .flow-offer-actions {
        padding: 14px;

        grid-template-columns: 1fr;

        gap: 9px;
    }

    .flow-offer-actions
    button {
        width: 100%;

        min-height: 46px;
    }
}


/* CJV FLOW - KLANT OPSLAAN POSITIE */

.flow-client-save-row {
    margin-top: 2px;

    display: flex;
    justify-content: flex-end;
}

.flow-client-save-row
.flow-save-client-button {
    margin-top: 0;
}

@media (max-width: 650px) {

    .flow-client-save-row {
        display: block;
    }

    .flow-client-save-row
    .flow-save-client-button {
        width: 100%;
    }
}


/* CJV FLOW NIEUWE OFFERTE V5 - PREMIUM AI USP */

.flow-ai-usp-panel {
    position: relative;

    overflow: hidden;

    padding: 25px;

    border: 1px solid #cfe2ff;
    border-radius: 20px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(109, 59, 255, 0.09),
            transparent 34%
        ),
        radial-gradient(
            circle at 0% 0%,
            rgba(25, 215, 242, 0.08),
            transparent 31%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );

    box-shadow:
        0 14px 34px
        rgba(7, 28, 61, 0.07);
}

.flow-ai-usp-panel::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            #19d7f2 0%,
            #087cff 52%,
            #6d3bff 100%
        );
}


/* HEADER */

.flow-ai-usp-panel
.panel-heading {
    position: relative;

    margin-bottom: 22px;
    padding-bottom: 18px;

    border-bottom: 1px solid #e8eef7;
}

.flow-ai-usp-panel
.panel-heading .number {
    width: 34px;
    height: 34px;

    flex-basis: 34px;

    border: 1px solid #d4e8ff;
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            #edf8ff,
            #eef1ff
        );

    color: #087cff;
}

.flow-ai-usp-panel
.panel-heading h2 {
    color: #07152d;

    font-size: 17px;
    font-weight: 800;
}

.flow-ai-usp-panel
.panel-heading p {
    margin-top: 4px;

    color: #708096;

    font-size: 11.5px;
}

.flow-ai-usp-panel
.flow-ai-badge {
    padding: 6px 10px;

    border: 1px solid #d7ddff;
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #eef8ff,
            #f2efff
        );

    color: #5146d8;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.2px;
}


/* USP INTRO */

.flow-ai-intro {
    margin-bottom: 20px;

    padding: 18px;

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

    background: rgba(255, 255, 255, 0.78);
}

.flow-ai-kicker {
    display: block;

    margin-bottom: 7px;

    color: #087cff;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 0.9px;
}

.flow-ai-intro > strong {
    display: block;

    color: #07152d;

    font-size: 16px;
    font-weight: 800;

    line-height: 1.35;
}

.flow-ai-intro > p {
    margin: 8px 0 0;

    color: #5f6f86;

    font-size: 12.5px;
    line-height: 1.6;
}


/* TRUST POINTS */

.flow-ai-benefits {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;
}

.flow-ai-benefits span {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 6px 9px;

    border: 1px solid #e0e9f5;
    border-radius: 999px;

    background: #f8fbff;

    color: #46566d;

    font-size: 10px;
    font-weight: 650;
}

.flow-ai-benefits b {
    color: #12b76a;

    font-weight: 900;
}


/* INPUT */

.flow-ai-usp-panel
#aiInput {
    min-height: 150px;

    padding: 13px 14px;

    border: 1px solid #d8e2ef;
    border-radius: 11px;

    background: #ffffff;

    color: #0b1930;

    font-size: 13px;
    line-height: 1.6;
}

.flow-ai-usp-panel
#aiInput:focus {
    border-color: #087cff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.09);
}


/* SPRAAKKNOP */

.flow-ai-usp-panel
.voice-button {
    min-height: 40px;

    border-color: #cfe0f3;
    border-radius: 10px;

    background: #f5f9ff;

    color: #087cff;
}


/* AI HOOFDACTIE */

.flow-ai-usp-panel
.ai-generate-button {
    width: 100%;

    min-height: 46px;

    margin-top: 4px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #087cff 0%,
            #176df5 55%,
            #6d3bff 100%
        );

    color: #ffffff;

    box-shadow:
        0 9px 22px
        rgba(43, 91, 226, 0.22);

    font-size: 12.5px;
    font-weight: 800;
}

.flow-ai-usp-panel
.ai-generate-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 12px 26px
        rgba(43, 91, 226, 0.27);
}


/* AI RESULTAAT */

.flow-ai-usp-panel
.ai-result {
    margin-top: 20px;

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

    background: #ffffff;
}


/* MOBIEL */

@media (max-width: 650px) {

    .flow-ai-usp-panel {
        padding: 19px 16px;
    }

    .flow-ai-usp-panel
    .panel-heading {
        gap: 11px;
    }

    .flow-ai-usp-panel
    .flow-ai-badge {
        padding: 5px 8px;

        font-size: 8.5px;
    }

    .flow-ai-intro {
        padding: 15px;
    }

    .flow-ai-intro > strong {
        font-size: 15px;
    }

    .flow-ai-benefits {
        flex-direction: column;

        align-items: stretch;
    }

    .flow-ai-benefits span {
        width: 100%;

        box-sizing: border-box;
    }

    .flow-ai-usp-panel
    #aiInput {
        min-height: 165px;
    }
}


/* CJV FLOW AI USP'S - MOBIEL VERBERGEN */

@media (max-width: 650px) {

    .flow-ai-benefits {
        display: none;
    }
}


/* CJV FLOW NIEUWE OFFERTE V6 - AI RESULTAAT */

.flow-ai-usp-panel
.ai-result {
    margin-top: 22px;

    padding: 20px;

    border: 1px solid #cfe0f3;
    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );

    box-shadow:
        0 10px 28px
        rgba(7, 28, 61, 0.06);
}


/* RESULTAAT HEADER */

.flow-ai-result-heading {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 18px;
    padding-bottom: 17px;

    border-bottom: 1px solid #e7eef7;
}

.flow-ai-result-icon {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: grid;
    place-items: center;

    border: 1px solid #ccebd9;
    border-radius: 11px;

    background: #ecfdf3;

    color: #12b76a;

    font-size: 17px;
    font-weight: 900;
}

.flow-ai-result-heading
.eyebrow {
    display: block;

    margin-bottom: 4px;

    color: #087cff;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 0.9px;
}

.flow-ai-result-heading
h3 {
    margin: 0;

    color: #07152d;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.3;
}

.flow-ai-result-heading
p {
    margin: 5px 0 0;

    color: #6b7a90;

    font-size: 11.5px;
    line-height: 1.5;
}


/* RESULTAAT BLOKKEN */

.flow-ai-usp-panel
.ai-result-block {
    margin-bottom: 12px;

    padding: 14px 15px;

    border: 1px solid #e4ebf4;
    border-radius: 12px;

    background: #ffffff;
}

.flow-ai-usp-panel
.ai-result-block > strong {
    display: block;

    margin-bottom: 8px;

    color: #344054;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.35px;
}

.flow-ai-usp-panel
.ai-result-block p {
    margin: 0;

    color: #344054;

    font-size: 12.5px;
    line-height: 1.6;
}


/* AI OFFERTEPOSTEN */

.flow-ai-usp-panel
.ai-suggestion-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;

    padding: 10px 0;

    border-bottom: 1px solid #edf1f6;
}

.flow-ai-usp-panel
.ai-suggestion-line:first-child {
    padding-top: 0;
}

.flow-ai-usp-panel
.ai-suggestion-line:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.flow-ai-usp-panel
.ai-suggestion-line strong {
    color: #0b1930;

    font-size: 12.5px;
    font-weight: 700;
}

.flow-ai-usp-panel
.ai-suggestion-line span {
    flex-shrink: 0;

    color: #718096;

    font-size: 11px;
    font-weight: 600;

    text-align: right;
}


/* AANDACHTSPUNTEN */

.flow-ai-usp-panel
#aiAannames {
    margin: 0;
    padding: 0;

    list-style: none;
}

.flow-ai-usp-panel
#aiAannames li {
    position: relative;

    margin-bottom: 7px;
    padding-left: 18px;

    color: #5d6b82;

    font-size: 12px;
    line-height: 1.5;
}

.flow-ai-usp-panel
#aiAannames li:last-child {
    margin-bottom: 0;
}

.flow-ai-usp-panel
#aiAannames li::before {
    content: "!";

    position: absolute;

    top: 2px;
    left: 0;

    width: 13px;
    height: 13px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #fff5e8;

    color: #d97706;

    font-size: 8px;
    font-weight: 900;
}


/* NOTITIE */

.flow-ai-usp-panel
.ai-result-block:last-of-type {
    background: #f8fbff;
}


/* OVERNEMEN */

.flow-ai-usp-panel
#overnemenAiKnop {
    width: 100%;

    min-height: 46px;

    margin-top: 4px;

    border: 1px solid #087cff;
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #087cff,
            #1294ff
        );

    color: #ffffff;

    font-size: 12.5px;
    font-weight: 800;

    box-shadow:
        0 8px 20px
        rgba(8, 124, 255, 0.18);
}

.flow-ai-usp-panel
#overnemenAiKnop:hover {
    transform: translateY(-1px);

    box-shadow:
        0 11px 24px
        rgba(8, 124, 255, 0.22);
}


/* AI STATUS */

.flow-ai-usp-panel
.ai-status {
    margin-top: 10px;

    color: #64738a;

    font-size: 11px;
    line-height: 1.5;
}


/* MOBIEL */

@media (max-width: 650px) {

    .flow-ai-usp-panel
    .ai-result {
        padding: 15px;
    }

    .flow-ai-result-heading {
        gap: 10px;
    }

    .flow-ai-result-icon {
        width: 32px;
        height: 32px;

        flex-basis: 32px;
    }

    .flow-ai-result-heading
    h3 {
        font-size: 15px;
    }

    .flow-ai-usp-panel
    .ai-result-block {
        padding: 13px;
    }

    .flow-ai-usp-panel
    .ai-suggestion-line {
        flex-direction: column;

        gap: 4px;
    }

    .flow-ai-usp-panel
    .ai-suggestion-line span {
        text-align: left;
    }
}


/* CJV FLOW - DYNAMISCHE OFFERTE BEWERKMODUS */

.flow-offerte-context {
    margin-top: 12px;

    display: flex;
    align-items: center;

    gap: 8px;
}

.flow-offerte-context[hidden] {
    display: none;
}

.flow-offerte-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding: 4px 10px;

    border: 1px solid #dfe6ef;
    border-radius: 999px;

    background: #f6f8fb;

    color: #536176;

    font-size: 10px;
    font-weight: 800;
}

.flow-offerte-status.status-concept {
    border-color: #dfe6ef;

    background: #f4f6f8;

    color: #536176;
}

.flow-offerte-status.status-verstuurd {
    border-color: #cfe4ff;

    background: #edf6ff;

    color: #087cff;
}

.flow-offerte-status.status-akkoord {
    border-color: #ccebd9;

    background: #ecfdf3;

    color: #128a51;
}



/* =========================================================
   CJV FLOW - KLANTDETAIL V1
   ========================================================= */

.flow-klantdetail-page {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 38px 34px 64px;
    box-sizing: border-box;
}

.flow-klantdetail-state {
    padding: 28px;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
    background: #ffffff;
    color: #667085;
    box-shadow: 0 8px 28px rgba(6, 21, 47, 0.04);
}

.flow-klantdetail-not-found h1 {
    margin: 0 0 8px;
    color: #06152f;
}

.flow-klantdetail-not-found p {
    color: #667085;
}

.flow-klantdetail-not-found a {
    color: #087cff;
    font-weight: 700;
    text-decoration: none;
}

.flow-klantdetail-page .klant-detail-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.flow-klantdetail-heading {
    min-width: 0;
}

.flow-klantdetail-page .flow-overline {
    display: block;
    margin-bottom: 11px;
    color: #087cff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.flow-klantdetail-page .klant-detail-terug {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.flow-klantdetail-page .klant-detail-terug:hover {
    color: #087cff;
}

.flow-klantdetail-page .klant-detail-naam {
    margin: 0;
    color: #06152f;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.flow-klantdetail-page .klant-detail-sub {
    margin: 10px 0 0;
    color: #667085;
    font-size: 15px;
}

.flow-klantdetail-page .klant-detail-acties {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.flow-klantdetail-page .klant-detail-actie {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border: 1px solid #dce4ee;
    border-radius: 11px;
    background: #ffffff;
    color: #334155;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(6, 21, 47, 0.03);
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.flow-klantdetail-page .klant-detail-actie:hover {
    transform: translateY(-1px);
    border-color: #bcd6f6;
    box-shadow: 0 5px 16px rgba(6, 21, 47, 0.07);
}

.flow-klantdetail-page .klant-detail-actie-primair {
    border-color: transparent;
    background: linear-gradient(
        135deg,
        #087cff 0%,
        #1294ff 55%,
        #6d3bff 100%
    );
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(8, 124, 255, 0.20);
}

.flow-klantdetail-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 7px 24px rgba(6, 21, 47, 0.045);
}

.flow-klantdetail-contact-card {
    margin-bottom: 20px;
}

.flow-klantdetail-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.flow-klantdetail-card-heading h2 {
    margin: 3px 0 0;
    color: #06152f;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.flow-klantdetail-kicker {
    display: block;
    color: #8a98aa;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.flow-klantdetail-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.flow-klantdetail-contact-item {
    min-width: 0;
    padding: 16px 17px;
    border: 1px solid #edf0f4;
    border-radius: 13px;
    background: #f8fafc;
}

.flow-klantdetail-contact-item > span {
    display: block;
    margin-bottom: 6px;
    color: #8491a3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.flow-klantdetail-contact-item p {
    margin: 0;
    color: #172033;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    word-break: break-word;
}

.flow-klantdetail-relaties {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.flow-klantdetail-list {
    min-height: 44px;
    color: #667085;
    font-size: 14px;
}

/* bestaande dynamische links binnen het dossier */
.flow-klantdetail-list > a {
    transition:
        background 0.15s ease,
        padding 0.15s ease;
}

.flow-klantdetail-list > a:hover {
    background: #f8fbff !important;
}

@media (max-width: 1050px) {
    .flow-klantdetail-relaties {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .flow-klantdetail-page {
        padding: 26px 18px 52px;
    }

    .flow-klantdetail-page .klant-detail-header {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    .flow-klantdetail-page .klant-detail-acties {
        width: 100%;
    }

    .flow-klantdetail-page .klant-detail-actie {
        flex: 1 1 0;
    }

    .flow-klantdetail-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .flow-klantdetail-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .flow-klantdetail-page .klant-detail-acties {
        display: grid;
        grid-template-columns: 1fr;
    }

    .flow-klantdetail-page .klant-detail-actie {
        width: 100%;
    }

    .flow-klantdetail-card {
        padding: 20px 17px;
        border-radius: 16px;
    }
}



/* =========================================================
   CJV FLOW - KLANTDETAIL V3 DOSSIERLIJSTEN
   ========================================================= */

.flow-klantdetail-list {
    display: grid;
    gap: 8px;
}

.flow-klantdetail-row {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 12px 13px;

    border: 1px solid transparent;
    border-radius: 11px;

    color: inherit;
    text-decoration: none;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.flow-klantdetail-row:hover {
    background: #f8fbff;
    border-color: #e1ecfa;
    transform: translateY(-1px);
}

.flow-klantdetail-row-main {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.flow-klantdetail-row-title {
    color: #172033;

    font-size: 14px;
    font-weight: 750;
}

.flow-klantdetail-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 24px;

    padding: 3px 8px;

    border: 1px solid #e1e6ed;
    border-radius: 999px;

    background: #f5f7fa;
    color: #667085;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.flow-klantdetail-status.status-concept {
    border-color: #e1e6ed;
    background: #f5f7fa;
    color: #667085;
}

.flow-klantdetail-status.status-verstuurd,
.flow-klantdetail-status.status-gepland {
    border-color: #cde3ff;
    background: #edf6ff;
    color: #087cff;
}

.flow-klantdetail-status.status-akkoord,
.flow-klantdetail-status.status-afgerond,
.flow-klantdetail-status.status-betaald {
    border-color: #c8ead7;
    background: #ecfdf3;
    color: #128a51;
}

.flow-klantdetail-status.status-in-uitvoering {
    border-color: #ddd2ff;
    background: #f3efff;
    color: #6d3bff;
}

.flow-klantdetail-status.status-openstaand {
    border-color: #ddd2ff;
    background: #f5f2ff;
    color: #6340d8;
}

.flow-klantdetail-status.status-te-laat {
    border-color: #ffd3d3;
    background: #fff1f1;
    color: #d92d20;
}

.flow-klantdetail-status.status-geannuleerd {
    border-color: #e4e7ec;
    background: #f2f4f7;
    color: #667085;
}

.flow-klantdetail-open {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #087cff;

    font-size: 12px;
    font-weight: 750;
}

.flow-klantdetail-row:hover .flow-klantdetail-open span {
    transform: translateX(2px);
}

.flow-klantdetail-open span {
    transition: transform 0.15s ease;
}

.flow-klantdetail-empty {
    padding: 14px 0;

    color: #8a98aa;

    font-size: 13px;
}

@media (max-width: 520px) {

    .flow-klantdetail-row {
        align-items: flex-start;
    }

    .flow-klantdetail-row-main {
        display: grid;
        gap: 7px;
    }

    .flow-klantdetail-status {
        width: fit-content;
    }

}



/* =========================================================
   CJV FLOW - KLANTDETAIL V3.1 COMPACTE DOSSIERBLOKKEN
   ========================================================= */

.flow-klantdetail-list {
    gap: 10px;
}

.flow-klantdetail-row {
    min-height: 58px;

    padding: 11px 12px;

    border: 1px solid #e7edf5;
    border-radius: 12px;

    background: #f8fafc;

    box-sizing: border-box;

    box-shadow: none;
}

.flow-klantdetail-row:hover {
    background: #f4f9ff;

    border-color: #cfe3fb;

    transform: translateY(-1px);

    box-shadow:
        0 4px 12px
        rgba(6, 21, 47, 0.05);
}

.flow-klantdetail-row-main {
    gap: 8px;
}

.flow-klantdetail-row-title {
    color: #06152f;

    font-size: 14px;
    font-weight: 800;
}

.flow-klantdetail-open {
    min-height: 32px;

    padding: 0 11px;

    border: 1px solid #cfe3fb;
    border-radius: 9px;

    background: #ffffff;

    color: #087cff;

    font-size: 11px;
    font-weight: 800;

    box-shadow:
        0 1px 2px
        rgba(6, 21, 47, 0.03);
}

.flow-klantdetail-row:hover .flow-klantdetail-open {
    border-color: #9dccff;

    background: #edf6ff;
}

@media (max-width: 520px) {

    .flow-klantdetail-list {
        gap: 9px;
    }

    .flow-klantdetail-row {
        min-height: 64px;

        align-items: center;

        padding: 10px 11px;
    }

    .flow-klantdetail-row-main {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 6px;
    }

    .flow-klantdetail-open {
        min-height: 34px;

        padding-left: 10px;
        padding-right: 10px;

        border-radius: 9px;
    }

}



/* =========================================================
   CJV FLOW - KLANT WIJZIGEN V1
   ========================================================= */

.flow-klant-bewerken-page {
    width: 100%;
    max-width: 940px;

    margin: 0 auto;

    padding: 38px 34px 64px;

    box-sizing: border-box;
}

.flow-klant-bewerken-page #laden {
    padding: 26px;

    border: 1px solid #e5eaf1;
    border-radius: 18px;

    background: #ffffff;

    color: #667085;

    box-shadow:
        0 8px 28px
        rgba(6, 21, 47, 0.04);
}

.flow-klant-bewerken-page .bewerken-terug {
    display: inline-flex;
    align-items: center;

    margin-bottom: 16px;

    color: #667085;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.flow-klant-bewerken-page .bewerken-terug:hover {
    color: #087cff;
}

.flow-klant-bewerken-page .bewerken-header {
    margin-bottom: 26px;
}

.flow-klant-bewerken-page .flow-overline {
    display: block;

    margin-bottom: 10px;

    color: #087cff;

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.flow-klant-bewerken-page .bewerken-header h1 {
    margin: 0;

    color: #06152f;

    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.08;

    letter-spacing: -0.035em;
}

.flow-klant-bewerken-page .bewerken-header p {
    margin: 10px 0 0;

    color: #667085;

    font-size: 15px;
}

.flow-klant-bewerken-page .bewerken-kaart {
    padding: 28px;

    border: 1px solid #e5eaf1;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 7px 24px
        rgba(6, 21, 47, 0.045);
}

.flow-bewerken-card-heading {
    margin-bottom: 26px;
    padding-bottom: 20px;

    border-bottom: 1px solid #edf0f4;
}

.flow-bewerken-kicker {
    display: block;

    margin-bottom: 5px;

    color: #8a98aa;

    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.flow-bewerken-card-heading h2 {
    margin: 0;

    color: #06152f;

    font-size: 19px;
    letter-spacing: -0.015em;
}

.flow-bewerken-card-heading p {
    margin: 7px 0 0;

    color: #7a8798;

    font-size: 13px;
}

.flow-klant-bewerken-page #klantForm {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px 18px;
}

.flow-klant-bewerken-page .form-groep {
    margin: 0;
}

.flow-klant-bewerken-page .form-groep:nth-of-type(1),
.flow-klant-bewerken-page .form-groep:nth-of-type(2) {
    grid-column: 1 / -1;
}

.flow-klant-bewerken-page .form-groep label {
    display: block;

    margin-bottom: 7px;

    color: #344054;

    font-size: 12px;
    font-weight: 750;
}

.flow-klant-bewerken-page .form-groep input {
    width: 100%;
    min-height: 48px;

    box-sizing: border-box;

    padding: 11px 13px;

    border: 1px solid #dce4ee;
    border-radius: 11px;

    background: #ffffff;

    color: #172033;

    font: inherit;
    font-size: 14px;

    outline: none;

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

.flow-klant-bewerken-page .form-groep input:focus {
    border-color: #75b8ff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.10);
}

.flow-klant-bewerken-page .bewerken-acties {
    grid-column: 1 / -1;

    display: flex;
    justify-content: flex-end;

    gap: 10px;

    margin-top: 6px;
    padding-top: 22px;

    border-top: 1px solid #edf0f4;
}

.flow-klant-bewerken-page .bewerken-knop {
    min-height: 44px;

    padding: 0 17px;

    border: 1px solid #dce4ee;
    border-radius: 10px;

    background: #ffffff;

    color: #344054;

    font: inherit;
    font-size: 13px;
    font-weight: 750;

    cursor: pointer;
}

.flow-klant-bewerken-page .bewerken-knop:hover {
    background: #f8fafc;
}

.flow-klant-bewerken-page .bewerken-knop-primair {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #087cff 0%,
            #1294ff 55%,
            #6d3bff 100%
        );

    color: #ffffff;

    box-shadow:
        0 7px 18px
        rgba(8, 124, 255, 0.18);
}

.flow-klant-bewerken-page .bewerken-knop-primair:hover {
    background:
        linear-gradient(
            135deg,
            #087cff 0%,
            #1294ff 55%,
            #6d3bff 100%
        );
}

.flow-klant-bewerken-page .bewerken-status {
    grid-column: 1 / -1;

    min-height: 20px;
    margin: 0;

    color: #128a51;

    font-size: 13px;
    font-weight: 700;
}

.flow-klant-bewerken-page .foutmelding {
    margin-bottom: 22px;

    border: 1px solid #ffd3d3;
    border-radius: 11px;

    background: #fff1f1;

    color: #b42318;
}

@media (max-width: 700px) {

    .flow-klant-bewerken-page {
        padding:
            26px 16px
            52px;
    }

    .flow-klant-bewerken-page .bewerken-kaart {
        padding: 21px 17px;
    }

    .flow-klant-bewerken-page #klantForm {
        grid-template-columns: 1fr;

        gap: 17px;
    }

    .flow-klant-bewerken-page .form-groep:nth-of-type(1),
    .flow-klant-bewerken-page .form-groep:nth-of-type(2),
    .flow-klant-bewerken-page .bewerken-acties,
    .flow-klant-bewerken-page .bewerken-status {
        grid-column: auto;
    }

    .flow-klant-bewerken-page .bewerken-acties {
        display: grid;

        grid-template-columns: 1fr;

        flex-direction: initial;
    }

    .flow-klant-bewerken-page .bewerken-knop {
        width: 100%;
    }

}



/* =========================================================
   CJV FLOW - KLUSDETAIL V1
   ========================================================= */

.flow-klusdetail-page {
    width: 100%;
    max-width: 1240px;

    margin: 0 auto;

    padding: 38px 34px 64px;

    box-sizing: border-box;
}

.flow-klusdetail-page .klus-detail-terug {
    display: inline-flex;
    align-items: center;

    margin-bottom: 16px;

    color: #667085;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.flow-klusdetail-page .klus-detail-terug:hover {
    color: #087cff;
}

.flow-klusdetail-page .klus-detail-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 28px;
}

.flow-klusdetail-heading {
    min-width: 0;
}

.flow-klusdetail-page .flow-overline {
    display: block;

    margin-bottom: 10px;

    color: #087cff;

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.flow-klusdetail-page .klus-detail-header h1 {
    margin: 0;

    color: #06152f;

    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.08;

    letter-spacing: -0.035em;
}

.flow-klusdetail-page .klus-detail-subtitle {
    margin: 10px 0 0;

    color: #667085;

    font-size: 15px;
}

.flow-klusdetail-page .klus-detail-status {
    min-height: 29px;

    padding: 4px 10px;

    border: 1px solid #e1e6ed;
    border-radius: 999px;

    background: #f5f7fa;

    font-size: 11px;
    font-weight: 800;
}

.flow-klusdetail-page .klus-detail-status::before {
    width: 7px;
    height: 7px;
    min-width: 7px;
}

.flow-klusdetail-page .klus-detail-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.flow-klusdetail-page .klus-detail-card {
    min-width: 0;

    padding: 24px;

    border: 1px solid #e5eaf1;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 7px 24px
        rgba(6, 21, 47, 0.045);
}

.flow-klusdetail-page .klus-detail-card h2 {
    margin: 0 0 20px;

    color: #06152f;

    font-size: 18px;

    letter-spacing: -0.015em;
}

.flow-klusdetail-page .klus-detail-label {
    color: #8491a3;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.flow-klusdetail-page .klus-detail-waarde {
    color: #172033;

    font-size: 14px;
    font-weight: 650;

    line-height: 1.5;
}

.flow-klusdetail-page .klus-detail-input,
.flow-klusdetail-page .klus-detail-select,
.flow-klusdetail-page .klus-detail-textarea {
    border: 1px solid #dce4ee;
    border-radius: 11px;

    background: #ffffff;

    color: #172033;

    font-size: 14px;

    outline: none;
}

.flow-klusdetail-page .klus-detail-input:focus,
.flow-klusdetail-page .klus-detail-select:focus,
.flow-klusdetail-page .klus-detail-textarea:focus {
    border-color: #75b8ff;

    box-shadow:
        0 0 0 3px
        rgba(8, 124, 255, 0.10);
}

.flow-klusdetail-page .klus-detail-textarea {
    min-height: 130px;
}

.flow-klusdetail-page .klus-detail-acties {
    display: flex;
    justify-content: flex-end;

    gap: 10px;

    margin-top: 24px;
}

.flow-klusdetail-page #klusOpslaan {
    min-height: 44px;

    padding: 0 17px;

    border: 0;
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #087cff 0%,
            #1294ff 55%,
            #6d3bff 100%
        );

    color: #ffffff;

    font-size: 13px;
    font-weight: 750;

    box-shadow:
        0 7px 18px
        rgba(8, 124, 255, 0.18);
}

.flow-klusdetail-page #klusFactuurActie {
    min-height: 44px;

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

    padding: 0 17px;

    border: 1px solid #dce4ee;
    border-radius: 10px;

    background: #ffffff;

    color: #344054;

    font-size: 13px;
    font-weight: 750;

    text-decoration: none;
}

@media (max-width: 780px) {

    .flow-klusdetail-page {
        padding: 26px 16px 52px;
    }

    .flow-klusdetail-page .klus-detail-header {
        align-items: flex-start;
        flex-direction: column;

        gap: 16px;
    }

    .flow-klusdetail-page .klus-detail-grid,
    .flow-klusdetail-page .klus-detail-datums {
        grid-template-columns: 1fr;
    }

    .flow-klusdetail-page .klus-detail-acties {
        display: grid;

        grid-template-columns: 1fr;
    }

    .flow-klusdetail-page #klusOpslaan,
    .flow-klusdetail-page #klusFactuurActie {
        width: 100%;

        box-sizing: border-box;
    }

}



/* =========================================================
   CJV FLOW - KLUSDETAIL V2 COMPACTE KAARTEN
   ========================================================= */

/* kaarten niet meer kunstmatig even hoog maken */
.flow-klusdetail-page .klus-detail-grid {
    align-items: start;
}


/* ==========================================
   KLANTKAART
   ========================================== */

.flow-klusdetail-page
.klus-detail-grid
> .klus-detail-card:nth-child(1) {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.flow-klusdetail-page
.klus-detail-grid
> .klus-detail-card:nth-child(1)
> h2 {
    grid-column: 1 / -1;

    margin-bottom: 4px;
}

.flow-klusdetail-page
.klus-detail-grid
> .klus-detail-card:nth-child(1)
.klus-detail-veld {
    margin: 0;

    padding: 13px 14px;

    border: 1px solid #edf1f5;
    border-radius: 12px;

    background: #f8fafc;
}

.flow-klusdetail-page
.klus-detail-grid
> .klus-detail-card:nth-child(1)
.klus-detail-veld:last-of-type {
    grid-column: 1 / -1;
}


/* ==========================================
   GEKOPPELDE OFFERTE
   ========================================== */

.flow-klusdetail-page
.klus-detail-grid
> .klus-detail-card:nth-child(2)
.klus-detail-veld {
    margin-bottom: 12px;

    padding: 13px 14px;

    border: 1px solid #edf1f5;
    border-radius: 12px;

    background: #f8fafc;
}

.flow-klusdetail-page
.klus-detail-grid
> .klus-detail-card:nth-child(2)
.klus-detail-veld:last-child {
    margin-bottom: 0;
}


/* ==========================================
   WERKGEGEVENS
   ========================================== */

.flow-klusdetail-page
.klus-detail-grid
> .klus-detail-card:nth-child(4)
.klus-detail-veld {
    margin: 0;

    padding: 14px;

    border: 1px solid #edf1f5;
    border-radius: 12px;

    background: #f8fafc;
}


/* ==========================================
   MOBIEL
   ========================================== */

@media (max-width: 780px) {

    .flow-klusdetail-page
    .klus-detail-grid
    > .klus-detail-card:nth-child(1) {
        grid-template-columns: 1fr;
    }

    .flow-klusdetail-page
    .klus-detail-grid
    > .klus-detail-card:nth-child(1)
    .klus-detail-veld:last-of-type {
        grid-column: auto;
    }

}



/* =========================================================
   CJV FLOW - FACTUURDETAIL HEADER V1
   ========================================================= */

.flow-factuurdetail-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 44px 32px 70px;
}


/* -----------------------------------------
   BOVENSTE DETAILZONE
   ----------------------------------------- */

.flow-factuurdetail-page
.factuur-detail-inhoud {
    position: relative;
}

.flow-factuurdetail-terug {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;

    color: #53627a;
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.flow-factuurdetail-terug:hover {
    color: #087cff;
}


/* -----------------------------------------
   KOP
   ----------------------------------------- */

.flow-factuurdetail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;

    min-height: 92px;
    margin-bottom: 28px;

    padding-right: 430px;
}

.flow-factuurdetail-heading {
    min-width: 0;
}

.flow-factuurdetail-heading
.flow-overline {
    display: block;
    margin-bottom: 10px;
}

.flow-factuurdetail-title-row {
    display: flex;
    align-items: baseline;
    gap: 10px;

    flex-wrap: wrap;
}

.flow-factuurdetail-title-prefix {
    color: #53627a;

    font-size: 18px;
    font-weight: 600;
}

.flow-factuurdetail-title-row h1 {
    margin: 0;

    color: #06152f;

    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}


/* -----------------------------------------
   STATUS
   ----------------------------------------- */

.flow-factuurdetail-status {
    display: inline-flex;
    align-items: center;

    min-height: 32px;

    padding: 6px 12px;

    border: 1px solid #e4e9f0;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}


/* -----------------------------------------
   ACTIEKNOPPEN
   ----------------------------------------- */

.flow-factuurdetail-actions {
    position: absolute;

    top: 0;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;

    flex-wrap: wrap;
}

.flow-factuurdetail-actions
button {
    min-height: 44px;

    padding: 0 16px;

    border-radius: 11px;

    font-weight: 700;
}

.flow-factuurdetail-actions
.primary-button {
    background:
        linear-gradient(
            135deg,
            #087cff 0%,
            #1294ff 58%,
            #6d3bff 100%
        );

    border: 0;
}


/* -----------------------------------------
   MOBIEL
   ----------------------------------------- */

@media (max-width: 780px) {

    .flow-factuurdetail-page {
        padding:
            30px 18px
            50px;
    }

    .flow-factuurdetail-header {
        min-height: 0;

        padding-right: 0;

        flex-direction: column;

        margin-bottom: 18px;
    }

    .flow-factuurdetail-title-row {
        gap: 6px;
    }

    .flow-factuurdetail-title-prefix {
        font-size: 16px;
    }

    .flow-factuurdetail-title-row h1 {
        font-size: 29px;
    }

    .flow-factuurdetail-actions {
        position: static;

        width: 100%;

        justify-content: flex-start;

        margin-bottom: 22px;
    }

    .flow-factuurdetail-actions
    button {
        flex: 1 1 auto;
    }

}



/* =========================================================
   CJV FLOW - FACTUURDETAIL INFO V1
   ========================================================= */

.flow-factuurdetail-info-card {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 20px;
}


/* -----------------------------------------
   KOLOMMEN
   ----------------------------------------- */

.flow-factuurdetail-info-column {
    padding: 22px;

    background: #ffffff;

    border: 1px solid #e7ecf2;
    border-radius: 16px;

    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.03);
}

.flow-factuurdetail-card-label {
    display: block;

    margin-bottom: 6px;

    color: #087cff;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.flow-factuurdetail-info-column h2 {
    margin:
        0 0 16px;

    color: #06152f;

    font-size: 19px;
}


/* -----------------------------------------
   INFORMATIEBLOKKEN
   ----------------------------------------- */

.flow-factuurdetail-info-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.flow-factuurdetail-info-item {
    min-width: 0;

    padding: 12px 13px;

    background: #f8fafc;

    border: 1px solid #edf1f5;
    border-radius: 11px;
}

.flow-factuurdetail-info-item > span {
    display: block;

    margin-bottom: 4px;

    color: #7a8799;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.flow-factuurdetail-info-item > strong {
    display: block;

    min-height: 19px;

    color: #162238;

    font-size: 14px;
    font-weight: 650;

    line-height: 1.4;

    overflow-wrap: anywhere;
}

.flow-factuurdetail-info-wide {
    grid-column: 1 / -1;
}


/* -----------------------------------------
   BETAALINSTRUCTIE
   ----------------------------------------- */

.flow-factuurdetail-betaalinstructie {
    margin:
        12px 0 0;

    padding: 13px 14px;

    background: #f7f9fc;

    border: 1px solid #edf1f5;
    border-radius: 11px;

    color: #53627a;

    font-size: 13px;
    line-height: 1.55;
}


/* -----------------------------------------
   MOBIEL
   ----------------------------------------- */

@media (max-width: 780px) {

    .flow-factuurdetail-info-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .flow-factuurdetail-info-column {
        padding: 18px;
    }

    .flow-factuurdetail-info-grid {
        grid-template-columns: 1fr;
    }

    .flow-factuurdetail-info-wide {
        grid-column: auto;
    }

}



/* =========================================================
   CJV FLOW - FACTUURREGELS V1
   ========================================================= */

.flow-factuurdetail-regels-card {
    margin-bottom: 20px;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #e7ecf2;
    border-radius: 16px;

    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.03);
}


/* -----------------------------------------
   HEADER
   ----------------------------------------- */

.flow-factuurdetail-regels-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 16px;
}

.flow-factuurdetail-regels-header h2 {
    margin: 0;

    color: #06152f;

    font-size: 20px;
}


/* -----------------------------------------
   TABEL
   ----------------------------------------- */

.flow-factuurdetail-regels-card
.factuur-detail-table-wrap {
    overflow-x: auto;

    border: 1px solid #edf1f5;
    border-radius: 12px;
}

.flow-factuurdetail-regels-card
.factuur-detail-table {
    width: 100%;

    border-collapse: separate;
    border-spacing: 0;

    background: #ffffff;
}

.flow-factuurdetail-regels-card
.factuur-detail-table th {
    padding: 12px 14px;

    background: #f8fafc;

    border-bottom: 1px solid #edf1f5;

    color: #657389;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.flow-factuurdetail-regels-card
.factuur-detail-table td {
    padding: 13px 14px;

    border-bottom: 1px solid #edf1f5;

    color: #162238;

    font-size: 14px;
}

.flow-factuurdetail-regels-card
.factuur-detail-table tbody tr:last-child td {
    border-bottom: 0;
}


/* -----------------------------------------
   TOTALEN
   ----------------------------------------- */

.flow-factuurdetail-totalen-zone {
    display: flex;
    justify-content: flex-end;

    margin-top: 18px;
}

.flow-factuurdetail-totalen {
    width: 100%;
    max-width: 360px;

    padding: 16px;

    background: #f8fafc;

    border: 1px solid #edf1f5;
    border-radius: 12px;
}

.flow-factuurdetail-totaal-regel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 7px 0;

    color: #53627a;

    font-size: 14px;
}

.flow-factuurdetail-totaal-regel strong {
    color: #162238;
}

.flow-factuurdetail-eindtotaal {
    margin-top: 6px;

    padding-top: 13px;

    border-top: 1px solid #dfe5ec;

    color: #06152f;

    font-size: 18px;
    font-weight: 800;
}

.flow-factuurdetail-eindtotaal strong {
    color: #06152f;

    font-size: 20px;
}


/* -----------------------------------------
   MOBIEL
   ----------------------------------------- */

@media (max-width: 780px) {

    .flow-factuurdetail-regels-card {
        padding: 18px;
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table {
        min-width: 620px;
    }

    .flow-factuurdetail-totalen-zone {
        justify-content: stretch;
    }

    .flow-factuurdetail-totalen {
        max-width: none;
    }

}



/* =========================================================
   CJV FLOW - FACTUURREGELS MOBIEL V2
   ========================================================= */

@media (max-width: 780px) {

    .flow-factuurdetail-regels-card
    .factuur-detail-table-wrap {
        overflow: visible;

        border: 0;
        border-radius: 0;
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table {
        display: block;

        min-width: 0;
        width: 100%;

        background: transparent;
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table thead {
        display: none;
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table tbody {
        display: grid;
        gap: 10px;
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table tr {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

        padding: 13px;

        background: #f8fafc;

        border: 1px solid #edf1f5;
        border-radius: 11px;
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table td {
        display: block;

        padding: 0;

        border: 0;

        text-align: left !important;

        font-size: 14px;
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table td:first-child {
        grid-column: 1 / -1;

        padding-bottom: 10px;

        border-bottom: 1px solid #e7ecf2;

        font-weight: 700;
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table td:nth-child(4) {
        grid-column: 1 / -1;
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table td::before {
        display: block;

        margin-bottom: 3px;

        color: #7a8799;

        font-size: 10px;
        font-weight: 800;

        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table td:nth-child(2)::before {
        content: "Aantal";
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table td:nth-child(3)::before {
        content: "Prijs";
    }

    .flow-factuurdetail-regels-card
    .factuur-detail-table td:nth-child(4)::before {
        content: "Totaal";
    }

}



/* =========================================================
   CJV FLOW - LOGIN V1
   ========================================================= */

.flow-login-body {
    margin: 0;

    min-height: 100vh;
    min-height: 100svh;

    background: #f4f7fb;

    color: #06152f;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* -----------------------------------------
   HOOFDLAYOUT
   ----------------------------------------- */

.flow-login-shell {
    display: grid;

    grid-template-columns:
        minmax(420px, 46%)
        minmax(0, 1fr);

    min-height: 100vh;
    min-height: 100svh;
}


/* -----------------------------------------
   LINKER BRANDPANEL
   ----------------------------------------- */

.flow-login-brand-panel {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 100%;

    padding: 54px 58px 42px;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(25, 215, 242, 0.22),
            transparent 28%
        ),
        radial-gradient(
            circle at 75% 75%,
            rgba(109, 59, 255, 0.30),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #06152f 0%,
            #071c3d 45%,
            #0b2854 100%
        );
}

.flow-login-brand-panel::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    bottom: 80px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(18, 148, 255, 0.48),
            rgba(109, 59, 255, 0.18)
        );

    filter: blur(2px);

    pointer-events: none;
}

.flow-login-brand-panel::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            115deg,
            transparent 0%,
            transparent 62%,
            rgba(255,255,255,0.035) 62%,
            rgba(255,255,255,0.035) 63%,
            transparent 63%
        );

    pointer-events: none;
}

.flow-login-brand-content {
    position: relative;
    z-index: 1;

    max-width: 540px;
}

.flow-login-logo {
    display: block;

    width: 190px;
    max-width: 58%;

    margin-bottom: 86px;
}

.flow-login-brand-copy {
    max-width: 520px;
}

.flow-login-overline {
    display: block;

    margin-bottom: 20px;

    color: #8deeff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.18em;
}

.flow-login-brand-copy h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(40px, 4.2vw, 62px);
    line-height: 1.02;

    letter-spacing: -0.045em;
}

.flow-login-brand-copy p {
    max-width: 480px;

    margin: 26px 0 0;

    color: rgba(255,255,255,0.78);

    font-size: 18px;
    line-height: 1.65;
}

.flow-login-brand-footer {
    position: relative;
    z-index: 1;

    color: rgba(255,255,255,0.58);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.04em;
}


/* -----------------------------------------
   RECHTER LOGINPANEL
   ----------------------------------------- */

.flow-login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;

    background:
        radial-gradient(
            circle at 70% 15%,
            rgba(18, 148, 255, 0.06),
            transparent 30%
        ),
        #f7f9fc;
}

.flow-login-card {
    width: 100%;
    max-width: 470px;

    padding: 42px;

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

    border: 1px solid #e5eaf1;
    border-radius: 22px;

    box-shadow:
        0 24px 70px rgba(6, 21, 47, 0.09),
        0 2px 8px rgba(6, 21, 47, 0.04);
}

.flow-login-mobile-brand {
    display: none;
}

.flow-login-heading {
    margin-bottom: 30px;
}

.flow-login-kicker {
    display: block;

    margin-bottom: 9px;

    color: #087cff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.1em;
}

.flow-login-heading h2 {
    margin: 0;

    color: #06152f;

    font-size: 34px;
    line-height: 1.08;

    letter-spacing: -0.035em;
}

.flow-login-heading p {
    margin: 10px 0 0;

    color: #657389;

    font-size: 15px;
    line-height: 1.6;
}


/* -----------------------------------------
   VELDEN
   ----------------------------------------- */

.flow-login-form {
    display: grid;
    gap: 18px;
}

.flow-login-field {
    display: grid;
    gap: 7px;
}

.flow-login-field label {
    margin: 0;

    color: #162238;

    font-size: 14px;
    font-weight: 700;
}

.flow-login-field input {
    width: 100%;
    height: 50px;

    box-sizing: border-box;

    padding: 0 14px;

    background: #ffffff;

    border: 1px solid #d9e1eb;
    border-radius: 11px;

    outline: none;

    color: #06152f;

    font: inherit;
    font-size: 15px;

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

.flow-login-field input::placeholder {
    color: #98a2b3;
}

.flow-login-field input:focus {
    border-color: #1294ff;

    box-shadow:
        0 0 0 4px rgba(18, 148, 255, 0.10);
}


/* -----------------------------------------
   LOGIN KNOP
   ----------------------------------------- */

.flow-login-button {
    width: 100%;
    min-height: 50px;

    margin: 4px 0 0;

    border: 0;
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #087cff 0%,
            #1294ff 52%,
            #6d3bff 100%
        );

    box-shadow:
        0 10px 24px rgba(8, 124, 255, 0.20);

    color: #ffffff;

    font: inherit;
    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        opacity 0.16s ease;
}

.flow-login-button:hover:not(:disabled) {
    transform: translateY(-1px);

    box-shadow:
        0 14px 28px rgba(8, 124, 255, 0.25);
}

.flow-login-button:active:not(:disabled) {
    transform: translateY(0);
}

.flow-login-button:disabled {
    cursor: wait;
    opacity: 0.72;
}


/* -----------------------------------------
   MELDING
   ----------------------------------------- */

.flow-login-melding {
    min-height: 0;

    padding: 11px 13px;

    background: #f5f8fc;

    border: 1px solid #e7edf4;
    border-radius: 10px;

    color: #53627a;

    font-size: 13px;
    line-height: 1.45;
}

.flow-login-melding:empty {
    display: none;
}


/* -----------------------------------------
   TABLET / MOBIEL
   ----------------------------------------- */

@media (max-width: 900px) {

    .flow-login-shell {
        grid-template-columns: 1fr;
    }

    .flow-login-brand-panel {
        display: none;
    }

    .flow-login-form-panel {
        min-height: 100vh;
        min-height: 100svh;

        padding: 28px 18px;
    }

    .flow-login-card {
        max-width: 430px;

        padding: 30px 24px;

        border-radius: 18px;
    }

    .flow-login-mobile-brand {
        display: block;

        margin-bottom: 42px;
    }

    .flow-login-mobile-brand img {
        display: block;

        width: 150px;
        max-width: 55%;
    }

}


@media (max-width: 480px) {

    .flow-login-form-panel {
        align-items: flex-start;

        padding:
            24px 16px
            34px;
    }

    .flow-login-card {
        margin-top: 10px;

        padding: 24px 20px 26px;

        border-radius: 16px;
    }

    .flow-login-mobile-brand {
        margin-bottom: 34px;
    }

    .flow-login-heading {
        margin-bottom: 26px;
    }

    .flow-login-heading h2 {
        font-size: 30px;
    }

}



/* =========================================================
   CJV FLOW - LOGIN V2 MET KANTOORACHTERGROND
   ========================================================= */


/* ==========================================
   HOOFDLAYOUT
   ========================================== */

.flow-login-v2 {
    grid-template-columns:
        minmax(620px, 53%)
        minmax(0, 47%);
}


/* ==========================================
   LINKER KANTOORPANEL
   ========================================== */

.flow-login-v2
.flow-login-brand-panel {
    position: relative;

    padding:
        46px 64px
        34px;

    background:
        url("/assets/brand/login-office-bg.jpg")
        center center /
        cover
        no-repeat;

    overflow: hidden;
}


/* Donkere blauwe laag over de foto */

.flow-login-v2
.flow-login-brand-panel::before {
    content: "";

    position: absolute;
    inset: 0;

    width: auto;
    height: auto;

    right: auto;
    bottom: auto;

    border-radius: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 20, 48, 0.96) 0%,
            rgba(5, 30, 70, 0.88) 48%,
            rgba(5, 39, 91, 0.64) 100%
        );

    filter: none;

    pointer-events: none;
}


/* Blauwe/paarse gloed zoals voorbeeld */

.flow-login-v2
.flow-login-brand-panel::after {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    left: 58%;
    top: 22%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 35%,
            rgba(18, 148, 255, 0.64),
            rgba(87, 67, 255, 0.38) 48%,
            rgba(109, 59, 255, 0.08) 69%,
            transparent 71%
        );

    pointer-events: none;
}


/* ==========================================
   LINKER INHOUD
   ========================================== */

.flow-login-v2
.flow-login-brand-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 610px;
}

.flow-login-v2
.flow-login-logo {
    width: 190px;

    margin-bottom: 52px;
}

.flow-login-v2
.flow-login-overline {
    margin-bottom: 16px;

    color: #b7efff;

    font-size: 11px;
    letter-spacing: 0.22em;
}

.flow-login-v2
.flow-login-brand-copy {
    max-width: 570px;
}

.flow-login-v2
.flow-login-brand-copy h1 {
    max-width: 560px;

    font-size:
        clamp(
            38px,
            3.35vw,
            54px
        );

    line-height: 1.04;

    letter-spacing: -0.045em;
}

.flow-login-v2
.flow-login-brand-copy p {
    max-width: 520px;

    margin-top: 20px;

    color:
        rgba(
            255,
            255,
            255,
            0.88
        );

    font-size: 16px;
    line-height: 1.55;
}


/* ==========================================
   VOORDELEN
   ========================================== */

.flow-login-benefits {
    display: grid;

    gap: 13px;

    margin-top: 28px;
}

.flow-login-benefit {
    display: flex;
    align-items: center;

    gap: 14px;
}

.flow-login-benefit-icon {
    display: grid;
    place-items: center;

    flex:
        0 0
        46px;

    width: 46px;
    height: 46px;

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

    border-radius: 11px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 148, 255, 0.42),
            rgba(8, 124, 255, 0.16)
        );

    box-shadow:
        inset 0 1px 0
        rgba(
            255,
            255,
            255,
            0.10
        );

    backdrop-filter:
        blur(6px);
}

.flow-login-benefit-icon svg {
    width: 24px;
    height: 24px;

    fill: none;

    stroke: #ffffff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flow-login-benefit > span:last-child {
    display: grid;
    gap: 2px;
}

.flow-login-benefit strong {
    color: #ffffff;

    font-size: 15px;
    font-weight: 750;
}

.flow-login-benefit small {
    color:
        rgba(
            255,
            255,
            255,
            0.73
        );

    font-size: 13px;
    line-height: 1.35;
}


/* ==========================================
   LINKER FOOTER
   ========================================== */

.flow-login-v2
.flow-login-brand-footer {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 10px;

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );
}

.flow-login-brand-footer span {
    width: 1px;
    height: 14px;

    background:
        rgba(
            255,
            255,
            255,
            0.35
        );
}


/* ==========================================
   RECHTERZIJDE
   ========================================== */

.flow-login-v2
.flow-login-form-panel {
    position: relative;

    padding: 46px;

    background:
        radial-gradient(
            circle at 86% 25%,
            rgba(18, 148, 255, 0.15),
            transparent 31%
        ),
        radial-gradient(
            circle at 80% 88%,
            rgba(109, 59, 255, 0.08),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f3f8ff 100%
        );
}


/* ==========================================
   LOGIN KAART
   ========================================== */

.flow-login-v2
.flow-login-card {
    position: relative;
    z-index: 1;

    max-width: 500px;

    padding:
        38px
        44px
        36px;

    border:
        1px solid
        rgba(
            222,
            229,
            239,
            0.92
        );

    border-radius: 22px;

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

    box-shadow:
        0 28px 80px
            rgba(
                6,
                21,
                47,
                0.11
            ),
        0 2px 8px
            rgba(
                6,
                21,
                47,
                0.035
            );
}


/* Logo boven login */

.flow-login-card-logo {
    display: flex;
    justify-content: center;

    margin-bottom: 34px;
}

.flow-login-card-logo img {
    display: block;

    width: 160px;
    max-width: 52%;
}


/* ==========================================
   LOGIN TITELS
   ========================================== */

.flow-login-v2
.flow-login-heading {
    margin-bottom: 28px;
}

.flow-login-v2
.flow-login-kicker {
    margin-bottom: 8px;

    color: #087cff;

    font-size: 11px;
    letter-spacing: 0.10em;
}

.flow-login-v2
.flow-login-heading h2 {
    font-size: 34px;
}

.flow-login-v2
.flow-login-heading p {
    margin-top: 8px;

    color: #68768b;

    font-size: 14px;
}


/* ==========================================
   INPUTS MET ICONEN
   ========================================== */

.flow-login-input-wrap {
    position: relative;
}

.flow-login-input-icon {
    position: absolute;

    left: 15px;
    top: 50%;

    display: grid;
    place-items: center;

    transform:
        translateY(-50%);

    pointer-events: none;
}

.flow-login-input-icon svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: #60718b;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flow-login-v2
.flow-login-field input {
    height: 54px;

    padding:
        0 15px
        0 48px;

    border-color: #d6dfeb;

    border-radius: 11px;

    background:
        rgba(
            255,
            255,
            255,
            0.92
        );
}


/* ==========================================
   LOGIN KNOP
   ========================================== */

.flow-login-v2
.flow-login-button {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 54px;

    margin-top: 3px;

    border-radius: 11px;

    font-size: 15px;
}

.flow-login-v2
.flow-login-button
span:last-child {
    font-size: 20px;
    line-height: 1;
}


/* ==========================================
   MELDING
   ========================================== */

.flow-login-v2
.flow-login-melding {
    border-color: #e6ecf5;

    background:
        linear-gradient(
            90deg,
            #f2f7ff,
            #f6f3ff
        );
}


/* ==========================================
   TABLET / MOBIEL
   ========================================== */

@media (max-width: 1050px) {

    .flow-login-v2 {
        grid-template-columns:
            minmax(500px, 50%)
            minmax(0, 50%);
    }

    .flow-login-v2
    .flow-login-brand-panel {
        padding:
            42px
            44px
            32px;
    }

    .flow-login-v2
    .flow-login-brand-copy h1 {
        font-size: 42px;
    }

}


@media (max-width: 900px) {

    .flow-login-v2 {
        display: block;
    }

    .flow-login-v2
    .flow-login-brand-panel {
        display: none;
    }

    .flow-login-v2
    .flow-login-form-panel {
        display: flex;

        min-height: 100vh;
        min-height: 100svh;

        padding: 26px 18px;

        background:
            radial-gradient(
                circle at 85% 8%,
                rgba(18, 148, 255, 0.16),
                transparent 28%
            ),
            linear-gradient(
                160deg,
                #ffffff,
                #eef6ff
            );
    }

    .flow-login-v2
    .flow-login-card {
        max-width: 430px;

        padding:
            30px
            24px;

        border-radius: 18px;
    }

    .flow-login-card-logo {
        justify-content:
            flex-start;

        margin-bottom: 38px;
    }

    .flow-login-card-logo img {
        width: 145px;
    }

}


@media (max-width: 480px) {

    .flow-login-v2
    .flow-login-form-panel {
        align-items:
            flex-start;

        padding:
            20px
            16px
            30px;
    }

    .flow-login-v2
    .flow-login-card {
        margin-top: 8px;

        padding:
            24px
            20px
            26px;
    }

    .flow-login-v2
    .flow-login-heading h2 {
        font-size: 30px;
    }

}



/* =========================================================
   CJV FLOW - LOGIN V2.1 PRO
   ========================================================= */


/* ==========================================
   VERHOUDING
   ========================================== */

.flow-login-v2 {
    grid-template-columns:
        minmax(620px, 52%)
        minmax(0, 48%);
}


/* ==========================================
   PROFESSIONELE FOTO
   ========================================== */

.flow-login-v2
.flow-login-brand-panel {
    position: relative;

    padding:
        46px 64px
        34px;

    background-image:
        url("/assets/brand/login-office-bg.jpg");

    background-size: cover;

    background-position:
        center center;

    background-repeat:
        no-repeat;

    isolation: isolate;
}


/* donkere rustige laag */

.flow-login-v2
.flow-login-brand-panel::before {
    content: "";

    position: absolute;
    inset: 0;

    width: auto;
    height: auto;

    background:
        linear-gradient(
            90deg,
            rgba(3, 17, 40, 0.97) 0%,
            rgba(4, 25, 58, 0.91) 47%,
            rgba(5, 34, 77, 0.76) 100%
        );

    border-radius: 0;
    filter: none;

    z-index: -2;
}


/* subtiele blauwe gloed rechts */

.flow-login-v2
.flow-login-brand-panel::after {
    content: "";

    position: absolute;

    width: 560px;
    height: 560px;

    left: 58%;
    top: 23%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(25, 134, 255, 0.38) 0%,
            rgba(70, 79, 255, 0.22) 48%,
            rgba(109, 59, 255, 0.07) 67%,
            transparent 70%
        );

    z-index: -1;

    pointer-events: none;
}


/* ==========================================
   LINKER CONTENT
   ========================================== */

.flow-login-v2
.flow-login-brand-content {
    max-width: 570px;
}

.flow-login-v2
.flow-login-logo {
    width: 170px;
    max-width: none;

    margin-bottom: 48px;
}

.flow-login-v2
.flow-login-brand-copy {
    max-width: 555px;
}

.flow-login-v2
.flow-login-overline {
    margin-bottom: 17px;

    color: #8eeaff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.21em;
}

.flow-login-v2
.flow-login-brand-copy h1 {
    max-width: 545px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            42px,
            3.25vw,
            54px
        );

    line-height: 1.035;

    letter-spacing: -0.042em;

    text-shadow:
        0 2px 18px
        rgba(0, 0, 0, 0.12);
}

.flow-login-v2
.flow-login-brand-copy p {
    max-width: 500px;

    margin-top: 20px;

    color:
        rgba(
            255,
            255,
            255,
            0.84
        );

    font-size: 16px;
    line-height: 1.55;
}


/* ==========================================
   VOORDELEN
   ========================================== */

.flow-login-v2
.flow-login-benefits {
    gap: 12px;

    margin-top: 27px;
}

.flow-login-v2
.flow-login-benefit {
    gap: 14px;
}

.flow-login-v2
.flow-login-benefit-icon {
    flex:
        0 0
        44px;

    width: 44px;
    height: 44px;

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

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 148, 255, 0.36),
            rgba(8, 78, 160, 0.24)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,0.10),
        0 8px 22px
        rgba(0,0,0,0.08);
}

.flow-login-v2
.flow-login-benefit-icon svg {
    width: 22px;
    height: 22px;
}

.flow-login-v2
.flow-login-benefit strong {
    font-size: 14px;
    font-weight: 750;
}

.flow-login-v2
.flow-login-benefit small {
    color:
        rgba(
            255,
            255,
            255,
            0.69
        );

    font-size: 12.5px;
}


/* ==========================================
   FOOTER
   ========================================== */

.flow-login-v2
.flow-login-brand-footer {
    position: relative;
    z-index: 2;

    display: block;

    color:
        rgba(
            255,
            255,
            255,
            0.62
        );

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.02em;
}


/* ==========================================
   RECHTER LOGINPANEL
   ========================================== */

.flow-login-v2
.flow-login-form-panel {
    padding: 48px;

    background:
        radial-gradient(
            circle at 92% 22%,
            rgba(18, 148, 255, 0.13),
            transparent 31%
        ),
        radial-gradient(
            circle at 83% 88%,
            rgba(109, 59, 255, 0.07),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f4f8fd 100%
        );
}

.flow-login-v2
.flow-login-card {
    max-width: 475px;

    padding:
        36px
        42px
        38px;

    border-radius: 20px;

    box-shadow:
        0 28px 70px
        rgba(6, 21, 47, 0.10),
        0 2px 8px
        rgba(6, 21, 47, 0.03);
}

.flow-login-v2
.flow-login-card-logo {
    margin-bottom: 32px;
}

.flow-login-v2
.flow-login-card-logo img {
    width: 150px;
    max-width: none;
}


/* ==========================================
   RECHTER TYPOGRAFIE
   ========================================== */

.flow-login-v2
.flow-login-heading {
    margin-bottom: 27px;
}

.flow-login-v2
.flow-login-heading h2 {
    font-size: 33px;
}

.flow-login-v2
.flow-login-heading p {
    max-width: 390px;

    font-size: 14px;
    line-height: 1.55;
}


/* ==========================================
   MOBIEL
   ========================================== */

@media (max-width: 900px) {

    .flow-login-v2
    .flow-login-card-logo img {
        width: 145px;
    }

}



/* =========================================================
   CJV FLOW - LOGIN MOBIEL V2.2
   ========================================================= */

@media (max-width: 480px) {

    .flow-login-v2
    .flow-login-form-panel {
        padding:
            18px 14px
            28px;
    }

    .flow-login-v2
    .flow-login-card {
        box-sizing: border-box;

        width: 100%;
        max-width: none;

        margin-top: 6px;

        padding:
            24px
            22px
            26px;
    }

    .flow-login-v2
    .flow-login-card-logo {
        margin-bottom: 32px;
    }

    .flow-login-v2
    .flow-login-card-logo img {
        width: 150px;
    }

    .flow-login-v2
    .flow-login-heading p {
        max-width: none;
    }

    .flow-login-v2
    .flow-login-form-panel::after {
        content: "Powered by Bellzsolutions";

        position: absolute;

        left: 0;
        right: 0;
        bottom: 9px;

        text-align: center;

        color: #7a8799;

        font-size: 10px;
        font-weight: 600;
    }

}



/* =========================================================
   CJV FLOW - CJV FORCE FOOTER
   ========================================================= */

/* Desktop */

.flow-login-v2
.flow-login-brand-footer {
    display: grid;
    gap: 3px;
}

.flow-login-v2
.flow-login-brand-footer strong {
    color: rgba(255,255,255,0.88);

    font-size: 13px;
    font-weight: 700;
}

.flow-login-v2
.flow-login-brand-footer span {
    width: auto;
    height: auto;

    background: none;

    color: rgba(255,255,255,0.58);

    font-size: 11px;
    font-weight: 600;
}


/* Mobiel */

@media (max-width: 480px) {

    .flow-login-v2
    .flow-login-form-panel::after {
        content:
            "CJV Flow\A Powered by Bellzsolutions";

        white-space: pre-line;

        margin-top: 24px;

        color: #7a8799;

        font-size: 10px;
        font-weight: 600;

        line-height: 1.7;
    }

}



/* =========================================================
   CJV FLOW KLUSSEN V3 - LOSSE FLOW CARDS
   ========================================================= */

.flow-klussen-list-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#klussenLijst {
    display: grid;
    gap: 14px;
}

.flow-klus-card {
    padding: 20px 22px;
    border: 1px solid #e1e8f1;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 8px 24px
        rgba(7, 28, 61, 0.045);
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease,
        transform 150ms ease;
}

.flow-klus-card:first-child,
.flow-klus-card:last-child {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e8f1;
}

.flow-klus-card:hover {
    border-color: #d3deeb;
    box-shadow:
        0 12px 30px
        rgba(7, 28, 61, 0.07);
    transform: translateY(-1px);
}

.flow-klus-main {
    align-items: center;
}

.flow-klus-info {
    flex: 1;
    padding-right: 18px;
}

.flow-klus-klant {
    font-size: 16px;
    font-weight: 750;
}

.flow-klus-offerte {
    margin-top: 4px;
    color: #6f8098;
    font-size: 12.5px;
}

.flow-klus-omschrijving {
    max-width: 680px;
    margin-top: 8px;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.5;
}

.flow-klus-side {
    min-width: 205px;
    align-items: flex-end;
    text-align: right;
}

.flow-klus-datum {
    white-space: nowrap;
}

.flow-klus-openen {
    min-width: 82px;
}

@media (max-width: 700px) {

    #klussenLijst {
        gap: 12px;
    }

    .flow-klus-card,
    .flow-klus-card:first-child,
    .flow-klus-card:last-child {
        padding: 18px;
    }

    .flow-klus-main {
        align-items: stretch;
    }

    .flow-klus-info {
        padding-right: 0;
    }

    .flow-klus-side {
        align-items: flex-start;
        text-align: left;
    }

    .flow-klus-datum {
        white-space: normal;
    }

    .flow-klus-openen {
        width: 100%;
    }
}



/* ==========================================
   CJV FLOW - WACHTWOORD MODULE
   ========================================== */

.flow-login-input-wrap--password
input {
    padding-right: 52px;
}


.flow-password-toggle {
    position: absolute;

    right: 12px;
    top: 50%;

    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    border-radius: 8px;

    background: transparent;

    color: #60718b;

    transform: translateY(-50%);

    cursor: pointer;

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


.flow-password-toggle:hover {
    background: #eef5ff;
    color: #087cff;
}


.flow-password-toggle:focus-visible {
    outline: 2px solid #087cff;
    outline-offset: 2px;
}


.flow-password-toggle svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    pointer-events: none;
}


.flow-login-forgot {
    display: block;

    margin:
        -2px 0
        2px auto;

    padding: 2px 0;

    border: 0;

    background: transparent;

    color: #087cff;

    font: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color 0.16s ease,
        opacity 0.16s ease;
}


.flow-login-forgot:hover {
    color: #6d3bff;
    text-decoration: underline;
}


.flow-login-forgot:disabled {
    cursor: wait;
    opacity: 0.65;
}


.flow-login-forgot:focus-visible {
    outline: 2px solid #087cff;
    outline-offset: 3px;
    border-radius: 3px;
}
