:root {
    --bs-primary: #9b459c;
    --bs-primary-darken: hsl(298, 39%, 39%);
    --bs-primary-light: hsl(298, 39%, 49%);
    --bs-tertiary-bg-rgb: #fafafa;
    --bg-gray-light: #f8f7f7;

    /* Softens the header background images. The image is shown at this opacity on the fade colour (done with an
       overlay of that colour at 1 - opacity, which looks the same), with slightly less saturated colours.
       Lower opacity / saturation = softer. The dark gradient at the top (for menu and title) comes on top.
       Fade colour as "r, g, b": 109, 48, 109 = #6d306d (dark AdresData purple); 155, 69, 156 = #9b459c is lighter. */
    --header-image-opacity: 0.4;
    --header-image-fade-rgb: 109, 48, 109;
    --header-image-saturation: 80%;
}

html, body {
    font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bs-tertiary-bg-rgb);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-weight: 300;
}

a, .btn-link {
    color: var(--bs-primary);
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover, .btn-link:hover {
    color: var(--bs-primary-darken);
    text-decoration: underline;
    text-decoration-color: rgba(155, 69, 156, 0.4);
    text-underline-offset: 3px;
}

.btn-primary {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);

    /* Bootstrap draws the hover, pressed and disabled states from these, which still hold its default blue
       (its pressed rule also wins from .btn-primary:active below) */
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary-darken);
    --bs-btn-hover-border-color: var(--bs-primary-darken);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary-darken);
    --bs-btn-active-border-color: var(--bs-primary-darken);
    --bs-btn-focus-shadow-rgb: 155, 69, 156;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus {
    border: 0px;
    box-shadow: 3px 3px 5px -4px rgba(0,0,0, 0.6);
}

/* Fields keep their border on focus (same width, so nothing shifts), in the primary colour with a light ring */
.form-control:focus, .form-select:focus, .form-check-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(155, 69, 156, 0.15);
}

.btn-primary:focus, .btn-primary:active, .btn-primary:hover {
    background-color: var(--bs-primary-darken);
    border-color: var(--bs-primary-darken);
    box-shadow: 3px 3px 5px -4px rgba(0,0,0, 0.6);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary-darken);
    --bs-btn-active-border-color: var(--bs-primary-darken);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.bg-adresdata {
    background-color: var(--bs-primary) !important;
}

.bg-adresdata-light {
    background-color: var(--bs-primary-light) !important;
}

.bg-gray {
    background-color: var(--bg-gray-light);
}

.text-adresdata {
    color: var(--bs-primary);
}

.text-adresdata-light {
    color: var(--bs-primary-light);
}

/* Masonry for cards */
.masonry {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .masonry {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .masonry {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.masonry-item {
    margin-bottom: 0;
    cursor: pointer;
    display: block;
}

.masonry {
    align-items: stretch;
}

.masonry-item {
    display: flex;
}

.masonry-item > .card,
.masonry-item .card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: stretch;
}

.masonry-item .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.masonry-item .card-text {
    flex: 0 0 auto;
}

/* Organization card (search results) */

.org-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: .75rem;
    background-color: #fff;
    box-shadow: 0 .35rem 1rem rgba(46, 16, 46, .08);
    cursor: pointer;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.org-card:hover {
    box-shadow: 0 1rem 2rem rgba(46, 16, 46, .18);
    transform: translateY(-4px);
}

/* Fixed-height media block; the image always fills it, whatever its own size */
.org-card-media {
    position: relative;
    flex: 0 0 auto;
    height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #9b459c 0%, #6d306d 100%);
}

.org-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.org-card:hover .org-card-media img {
    transform: scale(1.06);
}

/* No image: brand gradient with soft circles and the initial */
.org-card-media-empty {
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .18) 0 18%, transparent 19%),
        radial-gradient(circle at 10% 95%, rgba(255, 255, 255, .12) 0 26%, transparent 27%),
        linear-gradient(135deg, #b25bb3 0%, #9b459c 45%, #6d306d 100%);
}

.org-card-initial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -62%);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, .28);
    user-select: none;
}

/* Darkens the bottom only, so the title is readable and the image stays visible */
.org-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 6, 20, .25) 0%, rgba(20, 6, 20, 0) 30%, rgba(20, 6, 20, .15) 50%, rgba(20, 6, 20, .85) 100%);
}

.org-card-tag {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 2;
    max-width: calc(100% - 4.5rem);
    padding: .3rem .7rem;
    overflow: hidden;
    border-radius: 999px;
    background-color: var(--bs-primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.org-card-heading {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 1rem 1.1rem .9rem;
    color: #fff;
}

.org-card-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.org-card-title a,
.org-card-title a:hover {
    color: #fff;
    text-decoration: none;
}

.org-card-subtitle {
    margin-top: .2rem;
    font-size: .85rem;
    opacity: .85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.favorite-btn {
    position: absolute;
    top: .6rem;
    right: .6rem;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 3px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--bs-primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    transition: transform 150ms ease, background-color 150ms ease;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn i {
    font-size: 1.05rem;
}

.favorite-btn.favorited {
    background: #fff;
    color: #dc3545;
}

.org-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1rem 1.1rem;
    font-size: .875rem;
    color: #495057;
}

.org-card-place {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
}

.org-card-place > .bi {
    color: var(--bs-primary);
    font-size: 1.05rem;
    line-height: 1.3;
}

.org-card-place strong {
    display: block;
    color: #212529;
    font-size: .95rem;
}

.org-card-place span {
    font-size: .8rem;
    color: #6c757d;
}

.org-card-description {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
}

.org-card-contact {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin: 0;
    padding: .65rem 0 0;
    list-style: none;
    border-top: 1px dashed #e6dbe6;
}

.org-card-contact li {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
}

.org-card-contact .bi {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5ecf5;
    color: var(--bs-primary);
    font-size: .8rem;
}

.org-card-contact span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.org-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: auto;
}

.org-card-chip {
    padding: .25rem .6rem;
    border-radius: 999px;
    background-color: #f5ecf5;
    color: #7a347b;
    font-size: .75rem;
    font-weight: 600;
}

.org-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem 1.1rem;
    border-top: 1px solid #f0e6f0;
    color: var(--bs-primary);
    font-size: .85rem;
    font-weight: 700;
    transition: background-color 200ms ease, color 200ms ease;
}

.org-card-footer .bi {
    transition: transform 200ms ease;
}

.org-card:hover .org-card-footer {
    background-color: var(--bs-primary);
    color: #fff;
}

.org-card:hover .org-card-footer .bi {
    transform: translateX(4px);
}

.org-card-loading {
    cursor: default;
}

.org-card-loading:hover {
    box-shadow: 0 .35rem 1rem rgba(46, 16, 46, .08);
    transform: none;
}

.org-card-loading .org-card-media {
    opacity: .35;
}

@media (prefers-reduced-motion: reduce) {
    .org-card,
    .org-card-media img,
    .org-card-footer,
    .org-card-footer .bi {
        transition: none;
    }

    .org-card:hover,
    .org-card:hover .org-card-media img {
        transform: none;
    }
}

.card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    transition: box-shadow 200ms ease, transform 200ms ease;
    background-color: #fff;
}

.card:hover {
    box-shadow: 0 1rem 1.75rem rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* A card that only shows information (nothing to click on the card itself): no lift on hover */
.card.card-static,
.card.card-static:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    transform: none;
}

/* Layout overrides */

.bb-top-row {
    margin: 0;
    padding: 0 !important;
    height: auto;
}

.content-container {
    padding: 0 !important;
}

.container-fluid {
    --bs-gutter-x: 0rem;
}

.navbar a {
    text-decoration: none;
}

.navbar .dropdown-menu a {
    color: var(--bs-primary);
}

.navbar .nav-pill {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    background: transparent;
    border: none;
    box-shadow: none !important;
    text-decoration: none;
    transition: background-color 150ms ease, color 150ms ease;
    cursor: pointer;
}

.navbar .nav-pill:hover,
.navbar .nav-pill:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.14);
    text-decoration: none;
}

.navbar .nav-pill.active {
    background-color: var(--bs-primary);
    color: #fff;
}

/* Reset button chrome when a .btn is used as a nav-pill (e.g. DropdownToggleButton) */
.navbar .nav-pill.btn {
    background-color: transparent !important;
    border-color: transparent !important;
    color: rgba(255, 255, 255, 0.88) !important;
}

.navbar .nav-pill.btn:hover,
.navbar .nav-pill.btn:focus {
    background-color: rgba(255, 255, 255, 0.14) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.navbar .nav-pill.btn.active {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
}

.navbar .nav-pill.nav-pill-accent,
.navbar .nav-pill.btn.nav-pill-accent {
    color: #fff !important;
    background-color: #e62d3b !important;
    border-color: #e62d3b !important;
}

.navbar .nav-pill.nav-pill-accent:hover,
.navbar .nav-pill.nav-pill-accent:focus,
.navbar .nav-pill.btn.nav-pill-accent:hover,
.navbar .nav-pill.btn.nav-pill-accent:focus {
    color: #fff !important;
    background-color: #c9222f !important;
    border-color: #c9222f !important;
}

.bb-footer {
    padding: 0 !important
}

.bb-footer a {
    color: white;
    font-weight: 400;
}

.bb-footer a:hover, .bb-footer a:active {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

/* "Cookie-instellingen" is a button (it opens the banner) but looks like the other footer links */
.bb-footer .footer-link-button {
    color: white;
    font-weight: 400;
    text-decoration: none;
    vertical-align: baseline;
}

.bb-footer .footer-link-button:hover,
.bb-footer .footer-link-button:focus {
    color: white;
    font-weight: 600;
}

/* Filter group that narrows the selection (AND), on the search and download pages */
.filter-match-all-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-left: .4rem;
    padding: .1rem .5rem;
    border-radius: 999px;
    background-color: #f5ecf5;
    color: #7a347b;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    vertical-align: middle;
    cursor: help;
}

.filter-match-all-badge .bi {
    font-size: .65rem;
}

/* Size of the selection in the last download step */
.download-count {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--bs-primary);
    border-radius: .5rem;
    background-color: #f8f4f8;
    color: #495057;
}

.download-count-figure {
    display: flex;
    align-items: baseline;
    gap: .4rem;
}

.download-count-figure strong {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--bs-primary);
}

/* Cookie banner */

.cookie-consent {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1080;
    padding: 0 0 1rem;
    pointer-events: none;
}

.cookie-consent-panel {
    pointer-events: auto;
    max-width: 760px;
    margin-left: auto;
    padding: 1.25rem 1.4rem;
    border-top: 4px solid var(--bs-primary);
    border-radius: .75rem;
    background-color: #fff;
    box-shadow: 0 .75rem 2.5rem rgba(46, 16, 46, .28);
    font-size: .9rem;
    color: #495057;
}

.cookie-consent-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #212529;
}

.cookie-consent-title .bi {
    color: var(--bs-primary);
}

.cookie-consent-link {
    color: var(--bs-primary);
    font-weight: 600;
}

.cookie-consent-options {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-top: 1rem;
}

.cookie-consent-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .65rem .8rem;
    border-radius: .5rem;
    background-color: #f8f4f8;
}

.cookie-consent-option .form-check-input {
    width: 2.5em;
    height: 1.3em;
    cursor: pointer;
}

.cookie-consent-option .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
}

.cookie-consent-actions .btn-link {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .cookie-consent {
        padding-bottom: 0;
    }

    .cookie-consent .container {
        padding: 0;
    }

    .cookie-consent-panel {
        border-radius: .75rem .75rem 0 0;
    }

    .cookie-consent-actions .btn {
        flex: 1 1 auto;
    }
}

/* Social media embeds (organization page) */

.social-embed {
    overflow: hidden;
    border-radius: .75rem;
    background-color: #fff;
    box-shadow: 0 .35rem 1rem rgba(46, 16, 46, .08);
}

.social-embed-head {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-bottom: 1px solid #f0e6f0;
    font-weight: 700;
    color: #212529;
}

.social-embed-head > .bi {
    color: var(--bs-primary);
    font-size: 1.1rem;
}

.social-embed-open {
    margin-left: auto;
    color: var(--bs-secondary-color);
}

.social-embed-open:hover {
    color: var(--bs-primary);
}

.social-embed-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.social-embed-frame.is-video {
    aspect-ratio: 16 / 9;
    background-color: #000;
}

/* Widgets build their own content; long ones scroll within the block */
.social-embed-widget {
    overflow-y: auto;
    padding: .5rem;
}

.social-embed-widget blockquote.tiktok-embed {
    margin: 0 auto;
}

.social-embed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 220px;
    padding: 1.5rem;
    text-align: center;
    background:
        radial-gradient(circle at 90% 10%, rgba(155, 69, 156, .10) 0 20%, transparent 21%),
        #faf6fa;
    color: #495057;
    font-size: .9rem;
}

.social-embed-placeholder p {
    max-width: 360px;
    margin: 0;
}

.social-embed-placeholder-icon {
    font-size: 2rem;
    color: var(--bs-primary);
    opacity: .6;
}

.social-embed-placeholder .btn-link {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
}

.bb-footer .btn-light {
    color: var(--bs-primary);
}

.bb-footer .btn-light:hover, .bb-footer .btn-light:active {
    color: var(--bs-primary-light);
}

/* Header styles */

.search-container {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: var(--main-nav-height, 80px);
    z-index: 1020;
}

.search-container .input-group:focus-within .input-group-text,
.search-container .input-group:focus-within .form-control {
    border-color: var(--bs-primary);
    box-shadow: none;
}

.search-container .input-group .input-group-text {
    border-right: none;
    transition: border-color 0.15s;
}

.search-container .input-group .form-control {
    border-left: none;
    transition: border-color 0.15s;
}

/* The search field joins the icon on its left: no left border when focused */
.search-container .input-group .form-control:focus {
    border: var(--bs-border-width) solid var(--bs-primary);
    border-left: none;
}

/* A search term isn't a validated field: no green "valid" outline after typing */
.search-container .input-group .form-control.valid.modified {
    outline: none;
}

.category-container {
    color: white;
}

/* Search: results, filters and pager */

.search-results {
    scroll-margin-top: var(--search-header-height, 9rem);
}

.search-filter-button {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* Result count plus the active filters as removable chips, so a filter hidden in the panel is never forgotten */
.search-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

.search-result-count {
    font-weight: 600;
    color: #495057;
    margin-right: .25rem;
}

.search-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem .65rem;
    border: 1px solid rgba(155, 69, 156, .35);
    border-radius: 1rem;
    background: rgba(155, 69, 156, .08);
    color: var(--bs-primary);
    font-size: .8rem;
    line-height: 1.4;
}

.search-filter-chip:hover {
    background: rgba(155, 69, 156, .16);
}

.search-filter-chip .bi {
    font-size: .65rem;
}

.search-filter-reset {
    font-size: .8rem;
}

/* Right-aligned in the toolbar; wraps to its own line on narrow screens */
.search-download-button {
    margin-left: auto;
    white-space: nowrap;
}

/* Number of active filters; inverts when the outline button itself turns purple on hover */
.search-filter-badge {
    background-color: var(--bs-primary);
    color: #fff;
    font-weight: 600;
}

.search-filter-button:hover .search-filter-badge,
.search-filter-button:focus-visible .search-filter-badge,
.search-filter-button:active .search-filter-badge {
    background-color: #fff;
    color: var(--bs-primary);
}

/* Pager: separate round buttons in AdresData purple instead of Bootstrap's joined blue boxes.
   The class may end up on the <nav> or on the <ul class="pagination">, so both are covered. */
.search-pager,
.search-pager .pagination {
    --bs-pagination-color: var(--bs-primary);
    --bs-pagination-bg: #fff;
    --bs-pagination-border-width: 1px;
    --bs-pagination-border-color: #ece3ec;
    --bs-pagination-hover-color: var(--bs-primary-darken);
    --bs-pagination-hover-bg: rgba(155, 69, 156, .10);
    --bs-pagination-hover-border-color: rgba(155, 69, 156, .35);
    --bs-pagination-focus-color: var(--bs-primary-darken);
    --bs-pagination-focus-bg: rgba(155, 69, 156, .10);
    --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(155, 69, 156, .25);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: var(--bs-primary);
    --bs-pagination-active-border-color: var(--bs-primary);
    --bs-pagination-disabled-color: #cbbccb;
    --bs-pagination-disabled-bg: transparent;
    --bs-pagination-disabled-border-color: transparent;
}

.search-pager {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.search-pager .pagination,
.pagination.search-pager {
    flex-wrap: wrap;
    gap: .4rem;
}

.search-pager .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 .75rem;
    margin: 0;
    border-radius: 2rem !important;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}

.search-pager .page-item:not(.active):not(.disabled) .page-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 .25rem .6rem rgba(155, 69, 156, .18);
}

.search-pager .page-item.active .page-link {
    box-shadow: 0 .35rem .9rem rgba(155, 69, 156, .35);
}

.search-pager .page-item.disabled .page-link {
    box-shadow: none;
}

.search-pager .page-link .bi {
    font-size: .8rem;
}

/* The slide-in filter panel */
.search-filter-panel .offcanvas-title {
    font-weight: 700;
}

.search-filter-panel .offcanvas-footer {
    border-top: 1px solid #e9ecef;
    padding: .75rem 1rem;
}

.search-filter-group {
    border-bottom: 1px solid #f0f0f0;
}

.search-filter-group:last-child {
    border-bottom: none;
}

.search-filter-download-note {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
    padding: .75rem .9rem;
    border-left: 3px solid var(--bs-primary);
    border-radius: .375rem;
    background-color: #f8f4f8;
    font-size: .875rem;
    color: #495057;
}

.search-filter-download-note .bi {
    color: var(--bs-primary);
    font-size: 1rem;
    line-height: 1.3;
}

.search-filter-download-note a {
    color: var(--bs-primary);
    font-weight: 600;
}

.search-filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    width: 100%;
    padding: .65rem 0;
    background: none;
    border: 0;
    text-align: left;
    font-size: .9rem;
    font-weight: 700;
    color: #495057;
}

.search-filter-group-header:hover {
    color: var(--bs-primary);
}

.search-filter-group-meta {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: .4rem;
    font-size: .75rem;
}

.search-filter-count {
    min-width: 1.25rem;
    padding: 0 .35rem;
    border-radius: 1rem;
    background: var(--bs-primary);
    color: #fff;
    text-align: center;
    font-weight: 600;
}

.search-filter-items {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    padding-bottom: .85rem;
}

.search-filter-option {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .9rem;
    color: #495057;
    cursor: pointer;
}

.search-filter-option:hover {
    color: var(--bs-primary);
}

.search-filter-option .form-check-input {
    flex-shrink: 0;
    margin-top: .2rem;
    cursor: pointer;
}

/* Accordion */

.accordion-button:not(.collapsed) {
    background-color: rgba(155, 69, 156, 0.08);
    color: var(--bs-primary);
    box-shadow: inset 0 -1px 0 rgba(155, 69, 156, 0.15);
}

.accordion-button:not(.collapsed)::after {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239b459c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(155, 69, 156, 0.2);
    border-color: rgba(155, 69, 156, 0.3);
}

/* No results */

.noresults {
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.noresults-icon {
    font-size: 10rem;
    text-align: center;
    color: var(--bs-gray);
}

.noresults-content {
    color: var(--bs-gray);
    text-align: center;
}

/* Home */

.page-header-wrapper {
    
    width: 100%;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center center;
    position: relative;
    
}

.page-header-wrapper .background-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    background-color: rgba(var(--header-image-fade-rgb), calc(1 - var(--header-image-opacity)));
    -webkit-backdrop-filter: saturate(var(--header-image-saturation));
    backdrop-filter: saturate(var(--header-image-saturation));
}

.page-header-wrapper .container {
    position: relative;
    z-index: 1;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
    background-color: transparent;
    transition: background-color 200ms ease, box-shadow 200ms ease;
}

.main-nav.scrolled {
    background-color: #2C0C38;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.page-header-wrapper.page-header-tall {
    display: flex;
    align-items: center;
    min-height: clamp(560px, 80vh, 820px);
}

.home-search {
    margin-top: 1.5rem;
}

.home-search .input-group {
    border-radius: var(--bs-border-radius-lg);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.home-search .input-group-text,
.home-search .form-control,
.home-search .form-control:focus {
    background-color: rgba(255, 255, 255, 0.85);
}

.home-search .form-control:focus {
    border-color: var(--bs-border-color);
    box-shadow: none;
}

.page-header-wrapper h1, .page-header-wrapper .content {
    color: #e7e7e8;
}

.page-header-wrapper h4 {
    color: #e62d3b;
}

.page-header-wrapper.background-1 {
    background-image: url('/images/1.jpg');
}

.page-header-wrapper.background-2 {
    background-image: url('/images/2.jpg');
}

.page-header-wrapper.background-3 {
    background-image: url('/images/3.jpg');
}

.page-header-wrapper.background-4 {
    background-image: url('/images/4.jpg');
}

.page-header-wrapper.background-5 {
    background-image: url('/images/5.jpg');
}

.page-header-wrapper.background-6 {
    background-image: url('/images/6.jpg');
}

.page-header-wrapper.background-7 {
    background-image: url('/images/7.jpg');
}

.page-header-wrapper.background-8 {
    background-image: url('/images/8.jpg');
}

/* Pricing */

.pricing-card {
    border-top: 4px solid var(--bg-gray-light);
}

.pricing-card-featured {
    border-top: 4px solid var(--bs-primary);
    transform: scale(1.03);
    z-index: 1;
}

.pricing-card-featured:hover {
    transform: scale(1.03) translateY(-3px);
}

.pricing-header {
    padding: 1.75rem 1.5rem 1rem;
}

.pricing-badge {
    display: inline-block;
    background-color: var(--bs-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.pricing-amount {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--bs-primary);
    line-height: 1;
}

.pricing-period {
    font-size: 0.875rem;
    color: #6c757d;
    margin-left: 0.25rem;
}

.pricing-features {
    margin-top: 1.25rem;
}

.pricing-features li {
    padding: 0.45rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Home */

.home-stats-strip {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.home-stat-item {
    padding: 1.75rem 1rem;
    border-right: 1px solid #f0f0f0;
}

.home-stat-item:last-child {
    border-right: none;
}

.home-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bs-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.home-stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sector-card {
    border-top: 3px solid var(--bs-primary);
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.sector-card-clickable {
    cursor: pointer;
}

.sector-card-clickable:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.sector-card-selected {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 3px rgba(155, 69, 156, 0.18) !important;
}

.sector-card-img {
    height: 140px;
    object-fit: cover;
}

.sector-card-check {
    font-size: 1.4rem;
    color: #adb5bd;
    flex-shrink: 0;
}

.sector-card-check.checked {
    color: var(--bs-primary);
}

.sector-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(155, 69, 156, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--bs-primary);
}

.sector-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bs-primary-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-feature-list li {
    padding: 0.4rem 0;
    font-size: 1rem;
}

.home-stats-col-left {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e2e2e2;
}

@media (min-width: 992px) {
    .home-stats-col-left {
        padding-bottom: 0;
        padding-right: 3rem;
        border-bottom: none;
        border-right: 1px solid #e2e2e2;
    }

    .home-stats-col-right {
        padding-left: 3rem;
    }
}

.home-recent-orgs li + li {
    margin-top: 0.9rem;
}

.home-recent-org-link {
    display: block;
    text-decoration: none;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin: -0.5rem;
    transition: background-color 150ms ease;
}

.home-recent-org-link:hover {
    background-color: rgba(155, 69, 156, 0.08);
    text-decoration: none;
}

.home-recent-org-link:hover .home-recent-org-name {
    color: var(--bs-primary);
}

.home-recent-org-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 300;
    color: #212529;
    transition: color 150ms ease;
}

.home-recent-org-city {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

.home-recent-org-city i {
    margin-right: 0.35rem;
}

.stat-tiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.stat-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
}

.stat-tile:nth-child(odd) {
    padding-right: 1.5rem;
}

.stat-tile:nth-child(even) {
    padding-left: 1.5rem;
}

.stat-tile-icon {
    flex-shrink: 0;
    font-size: 3rem;
    line-height: 1;
    color: var(--bs-primary);
    opacity: 0.2;
    margin-right: 0.75rem;
}

.stat-tile-content {
    min-width: 0;
}

.stat-tile-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--bs-primary);
    line-height: 1;
}

.stat-tile-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    margin-top: 0.25rem;
}

.stat-tile-sublabel {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Contact */

.contact-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(155, 69, 156, 0.1);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--bs-primary);
    flex-shrink: 0;
}

/* Help */

.help-category-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--bs-primary);
    opacity: 0.15;
}

.help-contact-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
}

.help-contact-btn {
    color: var(--bs-primary);
    font-weight: 600;
    padding: .75rem 2rem;
}

/* About */

.about-timeline-item {
    padding-left: 1rem;
    border-left: 3px solid var(--bs-primary);
    margin-bottom: 2rem;
}

.about-timeline-year {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-primary);
    margin-bottom: 0.25rem;
}

/* Terms and conditions */

.terms-article {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.terms-article:last-of-type {
    border-bottom: none;
}

.terms-article h4 {
    color: var(--bs-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.terms-article ol,
.terms-article ul {
    padding-left: 1.25rem;
}

.terms-article li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Header */

.hero-title {
    font-size: 2.4rem;
    text-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

@media (max-width: 576px) {
    .org-hero-title {
        font-size: 1.7rem;
    }
}

.hero-subtitle {
    text-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

.hero-text {
    text-shadow: 0 4px 12px rgba(0,0,0,1);
}

/* An organization description can have paragraphs */
.org-detail-header .hero-text {
    white-space: pre-line;
}

.hero-badge {
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Social media cards */
.social-card {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1rem;
    border-radius: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: opacity 140ms ease, transform 140ms ease;
    min-width: 130px;
}

.social-card:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.social-card-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.social-card-platform {
    font-weight: 700;
    line-height: 1.2;
}

.social-card-handle {
    font-weight: 400;
    opacity: 0.88;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.social-card.twitter    { background: #000; }
.social-card.facebook   { background: #1877F2; }
.social-card.instagram  { background: linear-gradient(135deg, #833AB4 0%, #C13584 45%, #E1306C 75%, #F77737 100%); }
.social-card.youtube    { background: #FF0000; }
.social-card.linkedin   { background: #0A66C2; }
.social-card.tiktok     { background: #010101; }
.social-card.spotify    { background: #1DB954; }
.social-card.vimeo      { background: #1AB7EA; }
.social-card.soundcloud { background: #FF5500; }
.social-card.pinterest  { background: #E60023; }
.social-card.threads    { background: #101010; }
.social-card.snapchat   { background: #FFFC00; color: #000; }
.social-card.tripadvisor{ background: #34E0A1; color: #000; }
.social-card.flickr     { background: #FF0084; }
.social-card.other      { background: #6c757d; }

.social-card.snapchat:hover,
.social-card.tripadvisor:hover {
    color: #000;
}

/* Organization info items (contact / addresses) */

.org-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.org-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.org-info-icon {
    width: 2rem;
    height: 2rem;
    background-color: rgba(155, 69, 156, 0.1);
    border-radius: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--bs-primary);
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.org-info-text {
    font-size: 0.93rem;
    word-break: break-word;
    min-width: 0;
}

/* Twitter timeline embed */

.twitter-timeline-wrapper {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e1e8ed;
    background: #f7f9fa;
    min-height: 80px;
}

/* Facebook page embed */

.fb-page-wrapper {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #dfe3ee;
    background: #f7f9fa;
    min-height: 80px;
}

.fb-page-wrapper .fb-page,
.fb-page-wrapper iframe {
    width: 100% !important;
}

/* Google Maps embed */

/* The map fills its column, as tall as the contact and address cards next to it */
.org-maps-card {
    min-height: 280px;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: var(--bs-box-shadow-sm);
}

.org-maps-iframe {
    border: none;
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: block;
}

/* Pricing: available koppelingen as chips (icon or partner favicon + name) */

.pricing-integration-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid #dee2e6;
    border-radius: 2rem;
    background: #fff;
    font-weight: 600;
}

.pricing-integration-chip i {
    color: var(--bs-primary);
}

.pricing-integration-chip img {
    width: 1.1rem;
    height: 1.1rem;
    object-fit: contain;
}

/* User menu in the top bar: the signed-in email as a pill that opens the account menu */

.navbar .nav-pill.nav-pill-user {
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
}

.navbar .nav-pill-user-email {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar .user-menu {
    min-width: 230px;
    padding: 0.5rem 0;
}

.navbar .user-menu .dropdown-item {
    color: var(--bs-primary);
    padding: 0.5rem 1.1rem;
    font-weight: 500;
}

.navbar .user-menu .dropdown-item i {
    width: 1.1rem;
}

.navbar .user-menu .dropdown-item:hover,
.navbar .user-menu .dropdown-item:focus {
    background-color: rgba(155, 69, 156, 0.08);
}

/* Navigation between the account pages */

.account-page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.account-page-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 2rem;
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
    background: #fff;
}

.account-page-nav-link:hover {
    border-color: var(--bs-primary);
}

.account-page-nav-link.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* Download history: search field next to the status switch */

.download-history-search {
    max-width: 320px;
}

/* Download history: one card per saved selection */

.selection-history-grid {
    background-color: var(--bg-gray-light);
}

.selection-card {
    border-radius: 0.75rem;
    border-color: #e6e1e6;
}

.selection-card-inactive {
    opacity: 0.75;
}

.selection-card-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: var(--bg-gray-light);
}

.selection-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.selection-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.selection-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 2rem;
    background-color: rgba(155, 69, 156, 0.1);
    color: #7a347b;
    font-size: 0.85rem;
}

/* "No filter" (whole sector, all regions, primary contact) */
.selection-chip-all {
    background-color: #e9f6ee;
    color: #1e7a45;
}

/* Koppelingen: the icon (or partner favicon) in front of each integration */

.integration-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: rgba(155, 69, 156, 0.1);
    color: var(--bs-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.integration-icon img {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: contain;
}

/* Download history: why the last delivery failed */

.selection-card-error {
    padding: 0.6rem 0.8rem;
    border-radius: 0.5rem;
    background-color: #fdecec;
    color: #8a1f1f;
    font-size: 0.9rem;
}
