﻿:root {
    --brand: #0fa3a6; /* primair */
    --brand-600: #0b8789; /* hover */
    --brand-tint: #e6f6f7; /* zachte bg */
    --accent: #0F595E; /* secundair */
    --danger: #dc3545;
    --border: #e5e7eb;
    --radius: 16px;
    --ring: 0 0 0 .2rem rgba(15,163,166,.25);
    --page-bg: #FFFFFF;
    --hero-bg: #94BFBA; /* hero */
}

/* Basis */
body {
    background: var(--page-bg);
}

a {
    color: var(--brand);
}

    a:hover {
        color: var(--brand-600);
    }

.small-text {
    font-size: 12px;
    margin-left: 6px;
    color: #6b7280;
}

.special-text {
    font-size: 13px;
    margin-left: 5px;
    color: var(--accent);
}

/* Cards (form + preview) */
.card {
    background: #fff;
    border: 0;
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

/* Buttons */
.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
}

    .btn-primary:hover {
        background: var(--brand-600);
        border-color: var(--brand-600);
    }

.border-primary {
    --bs-border-opacity: 1;
    border-color: rgba(15,163,166,var(--bs-border-opacity)) !important;
}

/* Uniforme inputs */
.form-control,
.form-select {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .65rem .9rem;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--brand);
        outline: 0;
    }

    .form-control::placeholder {
        color: #9aa3af;
    }

/* FilePond (zelfde look als inputs) */
.filepond--root .filepond--panel-root {
    background: #fff !important;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.filepond--root:focus-within .filepond--panel-root {
    border-color: var(--brand);
}

.filepond--root .filepond--drop-label {
    color: #6b7280;
}

.filepond--root .filepond--label-action {
    color: var(--brand);
    text-decoration: underline;
}

.filepond--root .filepond--item,
.filepond--root .filepond--image-preview-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
}

.filepond--root .filepond--item-panel {
    background: #fff;
}

/* Afbeeldingskaarten */
.image-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

    .image-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1/1;
        display: block;
    }

.image-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: var(--brand);
    color: #fff;
    padding: .2rem .5rem;
    border-radius: 999px;
    font-size: .7rem;
    line-height: 1;
}

.image-actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    gap: 6px;
    padding: 6px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 85%);
}

.btn-compact {
    padding: .3rem .5rem;
    font-size: .75rem;
    line-height: 1.1;
    border-radius: 10px;
}

.image-actions .btn {
    flex: 1 1 0;
    backdrop-filter: blur(3px);
}

    .image-actions .btn:focus {
        box-shadow: var(--ring);
    }

/* Rich text (preview) */
.rich p {
    margin: 0;
}

    .rich p + p {
        margin-top: 6px;
    }

.rich h1 {
    font-size: 1.5rem;
    margin: .75rem 0 .5rem;
}

.rich h2 {
    font-size: 1.25rem;
    margin: .6rem 0 .4rem;
}

.rich h3 {
    font-size: 1.1rem;
    margin: .5rem 0 .35rem;
}

.rich .ql-align-center {
    text-align: center;
}

.rich .ql-align-right {
    text-align: right;
}

.rich .ql-align-justify {
    text-align: justify;
}

/* Hero */
.brand-hero {
    width: 100%;
    background: var(--hero-bg);
    border: 0;
}

.brand-hero__inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 22px clamp(16px,4vw,48px);
}

.brand-hero__logo {
    height: 60px;
    width: auto;
}

@media (min-width:992px) {
    .brand-hero__logo {
        height: 76px;
    }
}

/* Quill – één nette input met gelijke hoeken + werkende dropdown */
.editor-shell {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: visible; /* dropdown niet afknippen */
}

    .editor-shell:focus-within {
        border-color: var(--brand);
    }

    /* Hoeken visueel doorgezet naar toolbar/container */
    .editor-shell .ql-toolbar.ql-snow {
        border: 0 !important;
        border-bottom: 1px solid var(--border) !important;
        background: #fff;
        padding: .4rem .5rem;
        display: flex;
        gap: .25rem;
        align-items: center;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .editor-shell .ql-container.ql-snow {
        border: 0 !important;
        background: #fff;
        border-radius: 0 0 var(--radius) var(--radius);
    }

    /* Editorvlak */
    .editor-shell .ql-editor {
        min-height: 200px;
        padding: .65rem .9rem; /* gelijk aan inputs */
        font-size: 1rem;
        line-height: 1.5;
        color: #111827;
    }

        .editor-shell .ql-editor.ql-blank::before {
            color: #9aa3af;
            font-style: normal;
        }

    /* Toolbar knoppen/dropdowns */
    .editor-shell .ql-stroke {
        stroke: #6b7280;
    }

    .editor-shell .ql-fill {
        fill: #6b7280;
    }

    .editor-shell .ql-toolbar .ql-picker,
    .editor-shell .ql-toolbar button {
        border: 1px solid transparent;
        border-radius: 10px;
        padding: .35rem .5rem;
    }

    .editor-shell .ql-toolbar .ql-picker {
        padding: 0;
    }
    /* geen dubbele padding */
    .editor-shell .ql-toolbar .ql-picker-label {
        padding: .35rem .5rem;
    }

        .editor-shell .ql-toolbar .ql-picker-label::after {
            border-color: #6b7280;
            opacity: .85;
        }

        .editor-shell .ql-toolbar .ql-picker-label:hover,
        .editor-shell .ql-toolbar .ql-picker-item:hover,
        .editor-shell .ql-toolbar button:hover {
            background: var(--brand-tint);
        }

        .editor-shell .ql-toolbar button.ql-active,
        .editor-shell .ql-toolbar .ql-picker-label.ql-active,
        .editor-shell .ql-toolbar .ql-picker-item.ql-selected {
            color: var(--brand);
            background: var(--brand-tint);
            border-color: rgba(15,163,166,.25);
        }

            .editor-shell .ql-toolbar button:hover .ql-stroke,
            .editor-shell .ql-toolbar button.ql-active .ql-stroke {
                stroke: var(--brand);
            }

            .editor-shell .ql-toolbar button:hover .ql-fill,
            .editor-shell .ql-toolbar button.ql-active .ql-fill {
                fill: var(--brand);
            }

    /* Dropdown altijd boven andere UI */
    .editor-shell .ql-picker-options {
        z-index: 1050;
    }

    /* (optioneel) headings in editor gelijk aan preview */
    .editor-shell .ql-editor h1 {
        font-size: 1.5rem;
        margin: .75rem 0 .5rem;
    }

    .editor-shell .ql-editor h2 {
        font-size: 1.25rem;
        margin: .6rem 0 .4rem;
    }

    .editor-shell .ql-editor h3 {
        font-size: 1.1rem;
        margin: .5rem 0 .35rem;
    }
