* { box-sizing: border-box; }
body {
    margin: 0; font-family: 'Inter', system-ui, sans-serif;
    color: #20303a; background: #f6f4ef; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.eyebrow {
    letter-spacing: 0.32em; text-transform: uppercase;
    font-size: 12px; font-weight: 400; color: #6c8f9c; margin: 0 0 18px;
}

/* Hero */
.hero {
    background:
        radial-gradient(120% 90% at 50% -10%, #1d4753 0%, #0d2730 60%, #081c23 100%);
    color: #eef6f8; padding: 16vh 6vw 14vh; text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero .eyebrow { color: #9fd6e0; }
.hero h1 {
    font-family: 'Cormorant Garamond', serif; font-weight: 500;
    font-size: clamp(38px, 6vw, 76px); line-height: 1.05; margin: 0 0 24px;
}
.hero .lead { font-weight: 300; font-size: clamp(15px, 1.7vw, 19px); opacity: 0.86; margin: 0 auto 36px; max-width: 620px; }
.btn {
    display: inline-block; background: #9fd6e0; color: #0d2730;
    text-decoration: none; font-weight: 500; letter-spacing: 0.04em;
    padding: 14px 30px; border-radius: 40px; transition: transform 0.2s, background 0.2s;
}
.btn:hover { background: #c2e8ef; transform: translateY(-2px); }

/* Templates */
.templates { max-width: 1080px; margin: 0 auto; padding: 9vh 6vw; }
.templates h2 {
    font-family: 'Cormorant Garamond', serif; font-weight: 500;
    font-size: clamp(28px, 3.4vw, 44px); text-align: center; margin: 0 0 48px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.card {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(20,40,50,0.08); transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(20,40,50,0.14); }
.swatch { height: 140px; display: block; }
.swatch--water   { background: radial-gradient(120% 100% at 50% 0%, #143a47, #0b1f29); }
.swatch--garden  { background: radial-gradient(120% 100% at 50% 0%, #2a4421, #16280f); }
.swatch--trees   { background: radial-gradient(120% 100% at 50% 0%, #3a2c14, #221808); }
.swatch--blossom { background: radial-gradient(120% 100% at 50% 0%, #4a2438, #2a1622); }
.swatch--photo  { background-size: cover; background-position: center; }
.swatch--plain   { background: conic-gradient(from 210deg, #1d3a45, #2a4421, #3a2731, #414b57, #c9c2b2, #1d3a45); }
.swatch--movie   {
    background: linear-gradient(120deg, #16303d, #2b5a6e, #0e1c26, #1d4753, #16303d);
    background-size: 320% 320%;
    animation: swatch-drift 8s ease-in-out infinite;
}
@keyframes swatch-drift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.swatch--portrait  { background: radial-gradient(60% 60% at 50% 38%, #5a4a3e, #14110f); }
.swatch--fullscreen { background: linear-gradient(135deg, #3a4750, #0a0c0e); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card-body strong { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; }
.card-body em { font-style: normal; font-size: 14px; opacity: 0.7; min-height: 40px; }
.card-body .price { font-weight: 500; color: #2b7a8c; margin-top: 4px; }

.site-footer { text-align: center; padding: 6vh 6vw; color: #7d8a91; font-size: 13px; }

/* ── Navigatie ──────────────────────────────────────────── */
.topnav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 6vw; background: #fff; border-bottom: 1px solid #e7e2d8;
    position: sticky; top: 0; z-index: 50;
}
.topnav .brand {
    font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600;
    color: #143a47; text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: #44535b; text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: #143a47; }
.nav-cta {
    background: #143a47; color: #fff !important; padding: 9px 18px; border-radius: 30px;
}
.nav-cta:hover { background: #1d4f60; }
.inline { display: inline; margin: 0; }
.link-btn {
    background: none; border: none; cursor: pointer; color: #44535b;
    font-size: 14px; font-family: inherit; padding: 0;
}
.link-btn:hover { color: #143a47; }
.link-danger { color: #b5483f; }

/* ── Flash ──────────────────────────────────────────────── */
.flash { padding: 12px 6vw; font-size: 14px; }
.flash-success { background: #e4f1ec; color: #1f6149; }
.flash-error   { background: #fbe7e4; color: #9b362d; }

/* ── Pagina's & formulieren ─────────────────────────────── */
.page { max-width: 1000px; margin: 0 auto; padding: 6vh 6vw 12vh; }
.page-narrow { max-width: 1140px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.page-head h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(28px, 4vw, 44px); margin: 0; }
.muted { color: #7d8a91; font-size: 14px; }

.form-wrap { display: flex; justify-content: center; padding: 8vh 6vw; }
.form-card { background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(20,40,50,0.10); padding: 44px; width: 100%; max-width: 460px; }
.form-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 32px; margin: 0 0 6px; }
.form-sub { color: #7d8a91; margin: 0 0 28px; }
.form-foot { margin-top: 22px; font-size: 14px; color: #7d8a91; text-align: center; }
.form-foot a, .form-card a { color: #2b7a8c; }

.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 13px; font-weight: 500; color: #3a4a52; margin-bottom: 6px; }
.field small { color: #9aa6ac; font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; padding: 11px 13px; border: 1px solid #d4cec3; border-radius: 9px;
    font-family: inherit; font-size: 15px; background: #fcfbf8; color: #20303a;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: #2b7a8c; background: #fff;
    box-shadow: 0 0 0 3px rgba(43,122,140,0.12);
}
.err { display: block; color: #b5483f; font-size: 12.5px; margin-top: 5px; font-style: normal; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2, .row3 { grid-template-columns: 1fr; } }

.btn-block { width: 100%; text-align: center; margin-top: 8px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: #2b7a8c; border: 1px solid #cfe3e7; }
.btn-ghost:hover { background: #eef6f8; transform: none; }
.btn-danger { background: transparent; color: #b5483f; border: 1px solid #e5c8c5; }
.btn-danger:hover { background: #faf0ef; transform: none; }
.pres-actions form { display: inline; margin: 0; }

/* Blokken in het presentatieformulier */
.block { border: none; padding: 0; margin: 0 0 22px; }
.block legend {
    font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600;
    color: #143a47; padding: 0; margin-bottom: 8px;
}
.block-standalone { margin-top: 22px; padding-top: 16px; border-top: 1px solid #e7e2d8; }
.form-actions { display: flex; gap: 12px; align-items: center; margin: 14px 0 4px; }
/* Eerste blok-met-lijn in een tabblad: minder ruimte boven de lijn. */
.tabpanel > .block-standalone:first-child { margin-top: 8px; }
.autosave-status { margin-right: auto; font-size: 13px; color: #7d8a91; transition: color 0.2s; }
.autosave-status.ok { color: #2f8f64; }
.autosave-status.fail { color: #b5483f; }

/* Op brede pagina's losse velden niet onnodig laten uitrekken. */
.page-narrow .block > .field > input,
.page-narrow .block > .field > textarea { max-width: 720px; }

/* Templatekeuze */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tpl-card {
    position: relative; cursor: pointer; border: 2px solid #e2ddd3; border-radius: 12px;
    overflow: hidden; background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column;
}
.tpl-card:hover { box-shadow: 0 8px 22px rgba(20,40,50,0.1); }
.tpl-card.is-selected { border-color: #2b7a8c; box-shadow: 0 0 0 3px rgba(43,122,140,0.14); }
.tpl-card input { position: absolute; opacity: 0; pointer-events: none; }
.tpl-swatch { height: 72px; display: block; }
.tpl-name { font-weight: 600; padding: 10px 12px 2px; font-size: 15px; }
.tpl-desc { padding: 0 12px 12px; font-size: 12px; color: #7d8a91; line-height: 1.4; }

.hobby-input {
    width: 100%; padding: 10px 13px; border: 1px solid #d4cec3; border-radius: 9px;
    font-family: inherit; font-size: 15px; background: #fcfbf8; margin-bottom: 10px;
}
.hobby-input:focus { outline: none; border-color: #2b7a8c; background: #fff; }

/* Schuifregelaar tijd per dia */
input[type="range"] {
    -webkit-appearance: none; appearance: none; width: 100%; max-width: 420px;
    height: 6px; border-radius: 4px; background: #d9e6e9; outline: none; padding: 0;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
    border-radius: 50%; background: #2b7a8c; cursor: pointer; border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(20,40,50,0.3);
}
input[type="range"]::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%; background: #2b7a8c;
    cursor: pointer; border: 3px solid #fff;
}
.duration-line { margin: 14px 0 0; font-size: 15px; color: #20303a; }
.duration-line strong { color: #2b7a8c; }

/* Voortgang van de video-render */
.progress {
    height: 10px; max-width: 420px; margin: 12px 0 4px;
    border-radius: 6px; background: #e3ded4; overflow: hidden;
}
.progress-bar {
    height: 100%; border-radius: 6px; background: #2b7a8c;
    transition: width 0.6s ease;
}
.progress-bar--wait {
    background: repeating-linear-gradient(45deg, #9fd6e0 0 12px, #c2e8ef 12px 24px);
    animation: progress-wait 1.1s linear infinite;
}
@keyframes progress-wait {
    from { background-position: 0 0; }
    to   { background-position: 34px 0; }
}

/* Achtergrondfoto kiezen */
.bg-photo-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.bg-thumb {
    position: relative; cursor: pointer; border: 2px solid #e2ddd3; border-radius: 9px;
    overflow: hidden; width: 96px; height: 72px; transition: border-color 0.2s, box-shadow 0.2s;
}
.bg-thumb:hover { box-shadow: 0 6px 16px rgba(20,40,50,0.12); }
.bg-thumb.is-selected { border-color: #2b7a8c; box-shadow: 0 0 0 3px rgba(43,122,140,0.16); }
.bg-thumb input { position: absolute; opacity: 0; pointer-events: none; }
.bg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-thumb-none {
    display: flex; align-items: center; justify-content: center;
    background: #f3efe7; color: #7d8a91; font-size: 13px;
}

/* Dashboard */
.empty { text-align: center; padding: 8vh 0; color: #7d8a91; }
.empty .btn { margin-top: 16px; }
.pres-list { display: flex; flex-direction: column; gap: 12px; }
.pres-row {
    display: flex; align-items: center; gap: 16px; background: #fff;
    border-radius: 12px; padding: 14px 18px; box-shadow: 0 6px 18px rgba(20,40,50,0.06);
}
.swatch-sm { width: 46px; height: 46px; border-radius: 9px; flex: none; }
.pres-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pres-main strong { font-size: 16px; }
.pres-actions { display: flex; align-items: center; gap: 14px; }
.pres-actions a { color: #2b7a8c; text-decoration: none; font-size: 14px; }

/* Waarschuwing bij een animatietempo dat niet binnen de diatijd past */
.tempo-warn {
    margin-top: 12px; padding: 10px 14px; border-radius: 8px;
    background: #fbf3e0; border: 1px solid #ecd9ae; color: #8a611b;
    font-size: 14px; line-height: 1.5;
}

/* Vaste kop op de bewerkpagina: titel + tabbladen blijven staan bij scrollen,
   net onder de (eveneens vaste) topnav. De hoogte daarvan zet JS in --topnav-h. */
.page-sticky {
    position: sticky; top: var(--topnav-h, 58px); z-index: 40;
    background: #f6f4ef;
    padding-top: 6px;
}
.page-sticky .page-head { margin-bottom: 8px; }

/* Tabbladen */
.tabs {
    display: flex; flex-wrap: wrap; gap: 4px;
    margin-bottom: 10px; border-bottom: 1px solid #e2ddd0;
}
.tab {
    appearance: none; background: none; border: none; cursor: pointer;
    font: inherit; font-size: 14px; color: #7d8a91;
    padding: 10px 18px; margin-bottom: -1px;
    border-bottom: 2px solid transparent; border-radius: 8px 8px 0 0;
    transition: color 0.15s, background 0.15s;
}
.tab:hover { color: #143038; background: rgba(20,40,50,0.04); }
.tab.is-active { color: #0d2730; font-weight: 600; border-bottom-color: #3a97a8; }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; }

/* Foto-beheer */
.upload-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.photo-item { position: relative; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(20,40,50,0.08); }
.photo-item img { width: 100%; height: 140px; object-fit: cover; display: block; }
.photo-item.dragging { opacity: 0.5; box-shadow: 0 10px 26px rgba(20,40,50,0.22); }
.drag-handle {
    position: absolute; top: 6px; left: 6px; z-index: 2;
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; padding: 0; cursor: grab;
    background: rgba(255,255,255,0.85); color: #4a5560;
    border: 1px solid rgba(20,40,50,0.12); border-radius: 7px;
}
.drag-handle:active { cursor: grabbing; }
.drag-handle:hover { background: #fff; color: #1a2730; }
/* Focus-instelling per foto (ovaal) */
.photo-thumb { position: relative; line-height: 0; cursor: pointer; }
.photo-thumb:hover img { filter: brightness(1.06); }
.photo-item.spot-on .photo-thumb { cursor: crosshair; touch-action: none; }
.spot-ellipse {
    display: none; position: absolute; box-sizing: border-box;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(255,255,255,0.95); border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.4); pointer-events: none; z-index: 2;
}
.photo-item.spot-on .spot-ellipse { display: block; }
.icon-btn.spot-toggle.is-on { color: #c9962b; background: rgba(201,150,43,0.16); }
/* Bijsnijkader (in de pop-up foto-editor) */
.crop-rect {
    position: absolute; box-sizing: border-box; z-index: 3; pointer-events: none;
    border: 2px dashed #fff;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.45), 0 0 0 9999px rgba(0,0,0,0.45);
}

/* Pop-up foto-editor: groot beeld voor bijsnijden, roteren en uitlichten */
.photo-editor { position: fixed; inset: 0; z-index: 200; }
.photo-editor-backdrop { position: absolute; inset: 0; background: rgba(10,20,26,0.62); }
.photo-editor-panel {
    position: relative; margin: 4vh auto; width: min(880px, 94vw);
    max-height: 92vh; display: flex; flex-direction: column;
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(10,20,26,0.4);
}
.photo-editor-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 18px; border-bottom: 1px solid #eee7da;
}
.photo-editor-stage {
    position: relative; background: #101820; min-height: 200px;
    display: flex; align-items: center; justify-content: center;
    touch-action: none; cursor: crosshair; padding: 12px;
}
.pe-canvas { position: relative; line-height: 0; overflow: hidden; }
.pe-canvas img {
    max-width: 100%; max-height: 60vh; display: block;
    user-select: none; -webkit-user-drag: none;
}
.photo-editor-tools { padding: 12px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.photo-editor-tools .muted { margin: 0; font-size: 13px; }
.pe-modes, .pe-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pe-modes .btn.is-on { background: #2b7a8c; color: #fff; }
.pe-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; }
.pe-row > span:first-child { min-width: 170px; }
.pe-row input[type="range"] { flex: 1; min-width: 140px; }
.pe-default { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #5c6b73; }
/* Live voorbeeld van de vloeiende (transparant uitlopende) rand in de editor */
.pe-canvas img.pe-fade {
    -webkit-mask-image:
        linear-gradient(to right,  transparent, #000 var(--photo-fade, 10%), #000 calc(100% - var(--photo-fade, 10%)), transparent),
        linear-gradient(to bottom, transparent, #000 var(--photo-fade, 10%), #000 calc(100% - var(--photo-fade, 10%)), transparent);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right,  transparent, #000 var(--photo-fade, 10%), #000 calc(100% - var(--photo-fade, 10%)), transparent),
        linear-gradient(to bottom, transparent, #000 var(--photo-fade, 10%), #000 calc(100% - var(--photo-fade, 10%)), transparent);
    mask-composite: intersect;
}
/* Wegvouw-stapels: beheerbalk + per-foto keuze */
.stack-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.stack-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(20,40,50,0.06); border: 1px solid #ddd6ca;
    padding: 5px 6px 5px 12px; border-radius: 20px; font-size: 13px; color: #33434b;
}
.stack-chip .stack-del { margin: 0; line-height: 0; }
.chip-x {
    border: none; background: rgba(20,40,50,0.10); color: #4a5560; cursor: pointer;
    width: 20px; height: 20px; border-radius: 50%; font-size: 15px; line-height: 18px; padding: 0;
}
.chip-x:hover { background: #d9534f; color: #fff; }
.stack-select, .trans-select, .fade-select {
    width: 100%; padding: 5px 8px; border: 1px solid #ddd6ca; border-radius: 6px;
    font-size: 12px; background: #fff; color: #33434b;
}

/* Kleurenpalet voor het effen-kleurtemplate */
.color-palette { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.color-swatch {
    width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
    border: 3px solid #fff; box-shadow: 0 0 0 1px #d5cebf, 0 2px 6px rgba(20,40,50,0.15);
    padding: 0; transition: transform 0.15s, box-shadow 0.15s;
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.is-selected { box-shadow: 0 0 0 3px #2b7a8c, 0 2px 6px rgba(20,40,50,0.2); }
.color-custom {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    font-size: 13px; color: #33434b;
}
.color-custom input[type="color"] {
    width: 42px; height: 42px; padding: 0; border: 3px solid #fff; border-radius: 50%;
    box-shadow: 0 0 0 1px #d5cebf, 0 2px 6px rgba(20,40,50,0.15); cursor: pointer;
    background: none;
}

/* Achtergrondvideo-keuze voor het film-template */
#movieSelect { max-width: 420px; }
.movie-preview {
    display: block; margin-top: 16px; width: min(520px, 100%);
    border-radius: 10px; background: #101820;
    box-shadow: 0 10px 30px rgba(20,40,50,0.15);
}
.photo-tools { display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.cap-form { margin: 0; }
.cap-form input { width: 100%; padding: 6px 8px; border: 1px solid #ddd6ca; border-radius: 6px; font-size: 13px; }
.photo-actions { display: flex; align-items: center; gap: 6px; min-height: 32px; }
.cap-status { margin-right: auto; font-size: 12px; color: #7d8a91; transition: color 0.2s; }
.cap-status.ok { color: #2f8f64; }
.cap-status.fail { color: #b5483f; }
.del-form { margin: 0; }
.icon-btn {
    flex: none; width: 32px; height: 32px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #ddd6ca; background: #fff; border-radius: 7px;
    color: #2b7a8c; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { background: #eef6f8; border-color: #aacdd5; }
.icon-btn.icon-danger { color: #b5483f; }
.icon-btn.icon-danger:hover { background: #fbe7e4; border-color: #ecbfb8; }

/* Muziek-beheer */
.music-list { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.music-item {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid #e7e1d5; border-radius: 8px; padding: 8px 12px;
}
.music-note { color: #2b7a8c; font-size: 16px; flex: none; }
.music-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music-dur { flex: none; color: #7d8a91; font-size: 14px; font-variant-numeric: tabular-nums; }
.music-item form { margin: 0; flex: none; }
#musicAdvice a { color: #2b7a8c; }

/* ── Informatie-icoontjes met korte uitleg ─────────────── */
.info-tip {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 15px; height: 15px; margin-left: 6px; flex: none; vertical-align: 1px;
    border-radius: 50%; background: #cfe3e7; color: #14505e;
    font-family: Georgia, serif; font-size: 10.5px; font-style: italic; font-weight: 700;
    line-height: 1; cursor: help; user-select: none;
}
.info-tip:hover, .info-tip:focus { background: #2b7a8c; color: #fff; outline: none; }
.info-tip::after {
    content: attr(data-tip);
    position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%);
    width: max-content; max-width: 280px;
    background: #20303a; color: #fff;
    font-family: 'Inter', system-ui, sans-serif; font-style: normal; font-weight: 400;
    font-size: 12.5px; line-height: 1.5; text-align: left; letter-spacing: normal;
    padding: 8px 12px; border-radius: 8px;
    box-shadow: 0 10px 26px rgba(20,40,50,0.28);
    opacity: 0; visibility: hidden; transition: opacity 0.15s; pointer-events: none; z-index: 120;
}
.info-tip::before {
    content: ''; position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(-50%);
    border: 6px solid transparent; border-top-color: #20303a;
    opacity: 0; visibility: hidden; transition: opacity 0.15s; pointer-events: none; z-index: 120;
}
.info-tip:hover::after, .info-tip:focus::after,
.info-tip:hover::before, .info-tip:focus::before { opacity: 1; visibility: visible; }
legend .info-tip { font-weight: 700; }

/* ── Sfeerkaarten: bewegend voorbeeld en voorbeeldfoto ── */
.tpl-swatch { position: relative; overflow: hidden; }
.tpl-swatch-video { background: #101820; }
.tpl-swatch-video video {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.tpl-swatch-image { background-size: cover; background-position: center; }

/* ── Bewegende achtergrond: keuzegrid met voorbeelden ── */
.movie-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px; margin-top: 10px;
}
.movie-card {
    display: flex; flex-direction: column; padding: 0; cursor: pointer;
    border: 2px solid #e2ddd3; border-radius: 10px; overflow: hidden;
    background: #101820; font: inherit; text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.movie-card:hover { box-shadow: 0 8px 22px rgba(20,40,50,0.14); }
.movie-card.is-selected { border-color: #2b7a8c; box-shadow: 0 0 0 3px rgba(43,122,140,0.14); }
.movie-card video { width: 100%; height: 100px; object-fit: cover; display: block; pointer-events: none; }
.movie-card .movie-name {
    display: block; padding: 7px 10px; font-size: 13px;
    color: #33434b; background: #fff;
}
.movie-card.is-selected .movie-name { color: #14505e; font-weight: 600; }

/* Ingekort videogrid: eerst een selectie tonen; gekozen kaart blijft altijd zichtbaar */
.movie-grid--collapsed .movie-card:nth-child(n+13) { display: none; }
.movie-grid--collapsed .movie-card.is-selected { display: flex; }

/* Homepagina-kaarten: bewegend voorbeeld en voorbeeldfoto */
.swatch { position: relative; overflow: hidden; }
.swatch-video { background: #101820; }
.swatch-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Inloggen met Google ────────────────────────────────── */
.or-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 18px 0 14px; color: #9aa6ac; font-size: 13px;
}
.or-divider::before, .or-divider::after {
    content: ''; flex: 1; height: 1px; background: #e2ddd3;
}
.btn-google {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 12px 16px; border-radius: 40px;
    border: 1px solid #d4cec3; background: #fff; color: #20303a;
    font-weight: 500; font-size: 15px; text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-google:hover { background: #f7f9fa; box-shadow: 0 4px 14px rgba(20,40,50,0.10); }
.btn-google svg { flex: none; }

/* Waarschuwingsbanner (bv. e-mailadres nog niet bevestigd) */
.flash-warn {
    background: #fbf3e0; color: #8a611b;
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.flash-warn .link-btn { color: #8a611b; text-decoration: underline; }

/* Honeypot-veld: onzichtbaar voor mensen, lokmiddel voor bots */
.hp-field {
    position: absolute !important; left: -9999px !important;
    width: 1px; height: 1px; overflow: hidden; opacity: 0;
}
