﻿
/* ===== CSS VARIABLES ===== */
:root {
    /* Base colors */
    --primary-color: #ffd000;
    --accent-color: #f1c40f;
    --muted-color: #8a8f92;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    
    /* Background colors */
    --bg-color: #f7fafc;
    --container-bg: #ffffff;
    --dark-bg: #000000;
    
    /* Text colors */
    --text-color: #2d3748;
    --text-muted: #718096;
    --light-text: #ffffff;
    
    /* UI colors */
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Semantic color mappings */
    --button-border-color: var(--accent-color);
    --link-hover-color: var(--accent-color);
    --focus-highlight-color: var(--accent-color);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme='light']) {
        --bg-color: #1a202c;
        --container-bg: #2d3748;
        --text-color: #f7fafc;
        --text-muted: #a0aec0;
        --border-color: #4a5568;
        --shadow-color: rgba(0, 0, 0, 0.25);
    }
}

:root[data-theme='dark'] {
    --bg-color: #1a202c;
    --container-bg: #2d3748;
    --text-color: #f7fafc;
    --text-muted: #a0aec0;
    --border-color: #4a5568;
    --shadow-color: rgba(0, 0, 0, 0.25);
}

/* ===== BASE STYLES ===== */
body.no-scroll {
    overflow: hidden;
}

/* Global list style reset */
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.accent-color {
    color: var(--accent-color);
}

/* ===== LAYOUT COMPONENTS ===== */
.content {
    width: 880px;
    margin: auto;
}

.hero-right {
    text-align: right;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    padding-top: 1em;
    margin: 12em auto 8em auto;
    
    h2 {
        color: var(--accent-color);
        text-transform: uppercase;
        margin: 0;
    }
    
    h1 {
        color: var(--text-color);
        text-transform: uppercase;
        font-size: 6em;
        margin: 0;
    }
}

.cols {
    display: flex;
    
    > div {
        width: 33.33%;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        text-align: right;
        
        > h3 {
            position: relative;
            margin: 0;
            color: #fff;
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            background-color: rgba(0,0,0,0.5);
            
            &::after {
                position: absolute;
                content: '';
                top: 100%;
                left: 0;
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 40px 300px 0 0;
                border-color: rgba(0, 0, 0, 0.5) transparent transparent;
            }
        }
    }
}



.text-right {
    text-align: right;
}

.bottom-img-bar {
    clear: both;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    background-color: var(--dark-bg);
    
    > div {
        /* Chrome doet raar als je vw gebruikt (met zijbalk wel/niet, dus gebruiken we % ipv vw) */
        width: 16.66%;
        height: 16.66vw;
        float: left;
        transition: all 0.5s;
        overflow: hidden;
        
        > img {
            object-fit: cover;
            width: 100%;
            height: 100%;
            transition: all 0.5s;
            opacity: 0.8;
        }
        
        > div {
            display: none;
            text-align: center;
            
            &.b300x300 {
                display: flex;
                width: calc(100% - (2em + 6px));
                height: calc(100% - (2em + 6px));
            }
            
            > h3 {
                font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
                color: var(--accent-color);
                margin: 0;
            }
            
            > a, > a:visited, > a:active {
                display: block;
                color: var(--light-text);
                text-decoration: none;
                transition: all 0.5s;
                
                &:hover {
                    color: var(--accent-color);
                }
            }
            
            > img {
                max-width: 100%;
                max-height: 100%;
                object-fit: scale-down;
            }
        }
        
        &:focus {
            --url: attr(data-large-image);
            position: fixed;
            top: calc((100dvh - (min(100vw, 100dvh) - 2rem)) / 2);
            left: calc((100dvw - (min(100vw, 100dvh) - 2rem)) / 2);
            z-index: 999;
            width: calc(min(100vw, 100dvh) - 2rem);
            height: calc(min(100vw, 100dvh) - 2rem);
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center center;
            
            > img {
                display: none;
            }
            
            > div {
                display: block;
                background-color: var(--dark-bg);
            }
        }
    }
    
    &:hover > div > img {
        opacity: 0.5;
    }
    
    > div > img:hover {
        opacity: 1;
        transform: scale(1.08);
    }
}

.contact-blocks {
    a, a:active, a:visited {
        color: var(--muted-color);
        text-decoration: none;
        transition: color 0.5s;
        
        &:hover {
            color: var(--link-hover-color);
        }
    }
}
/*
nav {
    background-color: rgba(0,0,0,0.9);
    height: 6em;
    display: flex;
    align-items: center;
    border-bottom: solid 1px rgba(255,255,255,0.1);
}
nav.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}
nav > div {
    display: flex;
    justify-content: end;
    width: 100%;
    margin-right: 1rem;
}
nav a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    margin: 1rem;
    white-space: nowrap;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.5s;
    line-height: 6rem;
}
nav > a:first-of-type{
    font-family: 'Lilita One', 'Courier New', Courier, monospace;
    text-transform: none;
    font-size: 6em;
}
nav > a:first-of-type > span { color: #f1c40f; transition: color 0.5s; }
nav > a:first-of-type:hover > span { color: #fff; }
nav a, nav a:visited, nav a:active {
    text-decoration: none;
}
nav > a {
    display: inline-block;
    font-size: 4em;;
}
nav a.active, nav a:hover {
    color: #f1c40f;
}
nav > .hamburger {
    display: none;
}*/

/* Slotted items can only be styled in a very basic way inside the webcomponent (no nested CSS selectors), so style it in the 'parent' */
a[slot="home"] {
    font-family: 'Lilita One', 'Courier New', Courier, monospace;
    text-transform: none;
    font-size: 6em;
    
    > span {
        color: var(--accent-color);
        transition: color 0.5s;
    }
    
    &:hover > span {
        color: var(--light-text);
    }
}

.b300x300 {
    width: 300px;
    height: 300px;
    border: var(--light-text) 3px dashed;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0.5em;
    padding: 0.5em;
    
    h2 {
        color: var(--light-text);
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        text-transform: uppercase;
        font-size: 3.8vw;
        margin: 0;
        
        > span.smaller {
            font-size: 0.7em;
        }
    }
    
    h3 {
        color: var(--accent-color);
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.4vw;
        margin: 0;
    }
    
    .show-on-focus {
        display: none;
    }
}

:focus .b300x300 {
    .show-on-focus {
        display: block;
        overflow: auto;
        margin-top: 1em;
    }
    
    > div > h2 > span.smaller {
        font-size: 1em;
    }
}

.purchase-options {
    margin-top: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    
    > div {
        background-color: var(--dark-bg);
        border-radius: 0.5em;
        border: solid 0.2em rgba(0,0,0,0.3);
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        max-width: 18em;
        
        > h3 {
            text-align: left;
            letter-spacing: 0.2em;
            padding: 0.5rem;
            margin-bottom: 3em;
            
            > span {
                float: right;
                color: var(--accent-color);
                
                > sub {
                    color: var(--muted-color);
                    font-size: 0.5em;
                }
            }
        }
        
        > ul {
            list-style: none;
            text-align: left;
            padding: 0 5px 0 2em;
            
            > li {
                margin-top: 0.5rem;
                list-style: none;
                
                &::before {
                    content: '✓';
                    margin-right: 0.3rem;
                    font-size: 1.5em;
                    line-height: 1em;
                    font-weight: bold;
                    color: var(--accent-color);
                }
            }
        }
        
        > div {
            text-align: left;
            height: 18em;
            
            &:nth-of-type(2) {
                height: 11em;
            }
            
            > h4 {
                text-align: center;
                color: var(--accent-color);
                margin: 0;
            }
            
            &:last-of-type {
                text-align: center;
                height: auto;
                position: relative;
                background-color: rgba(0,0,0,0.5);
                
                &::before {
                    position: absolute;
                    content: '';
                    bottom: 100%;
                    left: 0;
                    width: 0;
                    height: 0;
                    border-style: solid;
                    border-width: 0 0 40px 300px;
                    border-color: transparent transparent rgba(0, 0, 0, 0.5);
                }
                
                > button {
                    padding: 0.5rem 2rem;
                    border-radius: 1rem;
                    background-color: var(--light-text);
                    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
                    color: var(--dark-bg);
                    font-size: 2em;
                    margin: 1rem;
                    text-transform: uppercase;
                    font-weight: bold;
                    cursor: pointer;
                }
            }
        }
        
        &:nth-child(2) {
            margin-top: -1em;
            margin-bottom: -1em;
            
            > h3 {
                margin-bottom: 4em;
            }
            
            > div:last-of-type {
                padding-bottom: 0.5em;
                
                > button {
                    background-color: var(--accent-color);
                    font-size: 3em;
                }
            }
        }
    }
}

.features {
    /* margin-top: 3em; */
    
    > div {
        width: 33%;
        box-sizing: border-box;
        
        > header {
            height: 5em;
        }
        
        > h3 {
            font-size: 2em;
        }
        
        > div {
            height: 6em;
            
            > p {
                overflow: hidden;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                text-overflow: ellipsis;
                -webkit-line-clamp: 4;
            }
        }
        
        > a {
            text-decoration: none;
        }
    }
}

.info-blocks {
    margin-top: 0;
    display: block;
    
    h4 {
        font-size: 2em;
        margin: 0;
        color: var(--accent-color);
    }
    
    > div {
        width: 50%;
        float: left;
        padding: 1em;
        box-sizing: border-box;
    }
    
    a {
        text-decoration: none;
        color: var(--text-color);
    }
}

scroll-marker {
    position: absolute;
    margin-top: -10em;
}

.step-indicator-parent {
    white-space: nowrap;
    overflow: hidden;
}

.step-indicator {
    > span:nth-child(2n-1) {
        margin-left: 5px;
        font-weight: bold;
        color: var(--light-text);
    }
    
    > span:nth-child(2n) {
        color: var(--accent-color);
        margin: 5px;
        
        &::after {
            content: '';
            margin-left: 5px;
            display: inline-block;
            line-height: 1em;
            vertical-align: middle;
            width: 22%;
            height: 3px;
            background-color: var(--border-color);
        }
    }
    
    &.muted {
        > span:nth-child(2n-1) {
            color: var(--muted-color);
        }
        
        > span:nth-child(2n) {
            color: var(--muted-color);
            
            &::after {
                background-color: var(--muted-color);
            }
        }
    }
}

.input {
    margin-top: 1em;
    display: inline-block;
    
    &.transition-margin-bottom, &.transition-margin-bottom-2 {
        margin-bottom: 0;
        transition: margin-bottom 0.5s;
        
        &.transition-on {
            margin-bottom: 20em;
        }
    }
    
    label {
        font-size: 2em;
        margin: 0 0 0.5rem 0.3em;
        color: var(--text-color);
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        display: block;
    }
    
    &.auto label {
        color: var(--accent-color);
        font-weight: bold;
    }
    
    input, textarea {
        font-size: 2em;
        border-radius: 0.5rem;
        padding: 0.3em;
        background-color: var(--container-bg);
        color: var(--text-color);
        border: none;
    }
    
    textarea {
        height: 8em;
        width: 32em;
    }
    
    > div {
        display: flex;
        width: 25rem;
        
        > input {
            width: 4em;
            
            &:last-of-type {
                width: 7em;
                margin-left: 0.6em;
            }
        }
    }
    
    input::placeholder {
        font-style: italic;
        font-size: 0.5em;
    }
    
    input[type="file"] {
        width: 26em;
    }
}

.fields {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-content: start;
    max-width: 900px;
    margin: 3em auto auto auto;
    line-height: 1;
    
    .auto-label {
        display: none;
        opacity: 0;
        fill-rule: evenodd;
        clip-rule: evenodd;
        stroke-linejoin: round;
        stroke-miterlimit: 2;
        position: absolute;
        fill: var(--accent-color);
        
        &:nth-of-type(1) {
            width: 184px;
            height: 48px;
            transform: rotateY(180deg) rotate(5deg);
            top: -0.5em;
            left: 17rem;
        }
        
        &:nth-of-type(2) {
            width: 130px;
            height: 44px;
            transform: rotate(-88deg);
            left: -4rem;
        }
        
        &:nth-of-type(3) {
            width: 130px;
            height: 44px;
            transform: rotate(-159deg);
            left: 21rem;
        }
    }
    
    &.show-message {
        .auto-label {
            &:nth-of-type(1) {
                display: block;
                animation: 1s arrow1 forwards;
            }
            
            &:nth-of-type(2) {
                display: block;
                animation: 0.5s arrow2 forwards;
            }
            
            &:nth-of-type(3) {
                display: block;
                animation: 0.5s arrow3 forwards;
            }
        }
        
        .message {
            top: 9em;
            visibility: visible;
            opacity: 1;
            max-width: calc(100dvw - 3em);
        }
        
        .transition-margin-bottom {
            margin-bottom: 6em;
        }
    }
    
    &.show-message-2 {
        .message-2 {
            top: 40em;
            visibility: visible;
            opacity: 1;
            text-align: center;
        }
        
        .transition-margin-bottom-2 {
            margin-bottom: 6em;
        }
    }
    
    .message, .message-2 {
        visibility: hidden;
        position: absolute;
        top: 0;
        opacity: 0;
        transition: opacity 0.8s 0.2s;
    }
    
    > div {
        margin: 1em;
        width: calc(50% - 2em);
        box-sizing: border-box;
    }
    
    .input > div:not(.message):not(.message-2) {
        width: calc(50% - 2em) /*!important*/;
        box-sizing: border-box;
    }
}

.summary {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.8em;
    color: var(--text-color);
    text-transform: uppercase;
}

    .summary span {
        color: #f1c40f;
        text-transform: none;
        font-weight: bold;
    }

.wijk-popup {
    display: none;
    position: absolute;
    top: 9rem;
    left: 2rem;
    color: #000;
    background-color: #f1c40f;
    border: solid 3px #000;
    border-radius: 1em;
    padding: 1rem;
    width: auto;
    font-size: 3em;
    opacity: 0;
    transition: all 2s;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    line-height: 2em;
    width: auto;
    z-index: 1;
}

    .wijk-popup::before {
        content: 'I❤️';
    }

    .wijk-popup.show {
        display: flex;
        animation: 1.5s fadeup normal;
    }

image-editor {
    width: 100%;
    height: 100%;
    max-width: 100dvw;
    max-height: 100dvh;
}

input[type="file"][name="foto"] + div {
    position: relative;
    width: 850px;
    height: 850px;
    display: none;
    border: solid;
}

    input[type="file"][name="foto"] + div + div {
        display: none;
        margin-top: 1em;
    }

        input[type="file"][name="foto"] + div + div > canvas {
            border: solid;
        }

/* ===== KVK RESULTS ===== */
.kvk-results {
    > div {
        width: 300px;
        height: auto;
        background-color: var(--bg-color);
        color: var(--text-color);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        position: relative;
        border-radius: 0.5em;
        padding: 3em 0 0 0;
        float: left;
        margin: 1em;
        min-height: 260px;
        
        > span {
            position: absolute;
            left: -5px;
            top: 1em;
            background-color: var(--dark-bg);
            color: var(--light-text);
            padding: 0.2em 1em;
            box-shadow: 0 2px 8px var(--shadow-color);
        }
        
        > ul {
            list-style: none;
            padding: 0;
            margin: 0 0 0 1em;
            align-self: start;
        }
        
        > button {
            width: fit-content;
            background-color: var(--dark-bg);
            color: var(--light-text);
            padding: 0.2em 1em;
            border: none;
            align-self: end;
            margin: 1em;
            cursor: pointer;
        }
    }
}

/* ===== LOGO PREVIEWS ===== */
.input > div.logo-previews {
    display: block;
    font-size: 2em;
    width: 100%;
    
    > label {
        font-size: 2em;
        border: solid;
        padding: 1rem;
        border-radius: 1rem;
        
        > input {
            margin-right: 1rem;
        }
    }
    
    .f-roboto {
        font-family: 'Roboto';
        
        &::after {
            content: 'Roboto';
            font-size: 0.5em;
        }
    }
    
    .f-open-sans {
        font-family: 'Open Sans';
        
        &::after {
            content: 'Open Sans';
            font-size: 0.5em;
        }
    }
    
    .f-montserrat {
        font-family: 'Montserrat';
        
        &::after {
            content: 'Montserrat';
            font-size: 0.5em;
        }
    }
    
    .f-lato {
        font-family: 'Lato';
        
        &::after {
            content: 'Lato';
            font-size: 0.5em;
        }
    }
}

    .f-poppins {
        font-family: 'Poppins';
        
        &::after {
            content: 'Poppins';
            font-size: 0.5em;
        }
    }
    
    .f-raleway {
        font-family: 'Raleway';
        
        &::after {
            content: 'Raleway';
            font-size: 0.5em;
        }
    }
    
    .f-noto-sans {
        font-family: 'Noto Sans';
        
        &::after {
            content: 'Noto Sans';
            font-size: 0.5em;
        }
    }
    
    .f-inter {
        font-family: 'Inter';
        
        &::after {
            content: 'Inter';
            font-size: 0.5em;
        }
    }
    
    .f-roboto-slab {
        font-family: 'Roboto Slab';
        
        &::after {
            content: 'Roboto Slab';
            font-size: 0.5em;
        }
    }
    
    .f-merriweather {
        font-family: 'Merriweather';
        
        &::after {
            content: 'Merriweather';
            font-size: 0.5em;
        }
    }
    
    .f-playfair-display {
        font-family: 'Playfair Display';
        
        &::after {
            content: 'Playfair Display';
            font-size: 0.5em;
        }
    }

/* ===== BACKGROUND PREVIEWS ===== */
.input > .bg-previews, .input > div.logo-previews {
    flex-wrap: wrap;
    height: 450px;
    display: flex;
    justify-content: center;
    align-content: start;
    overflow: auto;
    width: 52rem;
    background-color: var(--dark-bg);
    border-radius: 0.5rem;
    padding: 1rem;
    
    .selected::after {
        content: '✓';
        top: 0;
        left: 0;
        display: flex;
        position: absolute;
        bottom: 0;
        right: 0;
        align-items: center;
        color: var(--success-color);
        font-size: 10em;
        justify-content: center;
        border: solid 0.05em;
    }
    
    .selected > img, > div:hover > img {
        filter: brightness(1);
    }
    
    > div {
        position: relative;
        
        > img {
            vertical-align: middle;
            filter: brightness(0.3);
            transition: filter 0.5s;
        }
    }
}

/* ===== VALIDATION STYLING ===== */
input[is-valid="true"] {
    transition: color 1s;
    color: var(--success-color);
}

input[is-valid="false"] {
    transition: color 1s;
    color: var(--danger-color);
}

.input input.validated,
.input input[data-validated="true"] {
    border-left: 3px solid var(--success-color);
    background-color: rgba(39, 174, 96, 0.05);
    
    &::after {
        content: '✓';
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--success-color);
        font-weight: bold;
        font-size: 0.9em;
    }
}

/* ===== MODALS ===== */
.phone-selection-modal,
.kvk-selection-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kvk-selection-modal {
    .modal-content {
        background: var(--bg-color);
        color: var(--text-color);
        border-radius: 0.5rem;
        padding: 2rem;
        max-width: 900px;
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
        position: relative;
    }
    
    h3 {
        color: var(--accent-color);
        margin: 0 0 1rem 0;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        padding-right: 3rem;
    }
    
    .kvk-results {
        margin: 1rem 0;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .kvk-result {
        border: none;
        border-radius: 0.5rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        position: relative;
        box-shadow: 0 2px 8px var(--shadow-color);
        flex: 1 1 calc(50% - 0.5rem);
        min-height: 200px;
        max-width: 378px;
        
        > form {
            width: 100%;
        }
        
        > span {
            display: block;
            background: var(--accent-color);
            color: var(--dark-bg);
            padding: 0.25rem 0.5rem;
            border-radius: 0 0.25rem 0.25rem 0;
            font-weight: bold;
            margin-bottom: 0.5rem;
            width: fit-content;
        }
        
        .kvk-number::before {
            content: 'KVK: ';
        }
        
        > p {
            margin: 3rem 0 0 0;
            font-size: 0.9em;
            opacity: 0.8;
            display: block;
            clear: both;
        }
        
        > ul {
            list-style: none;
            padding: 0;
            margin: 0.5rem 0;
            text-align: left;
        }
        
        li {
            margin: 0.25rem 0;
        }
        
        label {
            display: flex;
            align-items: center;
            cursor: pointer;
            text-align: left;
            justify-content: flex-start;
        }
        
        input[type="radio"] {
            margin-right: 0.5rem;
        }
        
        .select-kvk {
            background: var(--accent-color, #f1c40f);
            color: #000;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 0.25rem 0;
            cursor: pointer;
            font-weight: bold;
            margin-top: 0.5rem;
            position: absolute;
            bottom: -1em;
            right: -1em;
        }
        
        .select-kvk:hover {
            opacity: 0.8;
        }
        
        .select-kvk-btn {
            background: var(--accent-color, #f1c40f);
            color: #000;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 0.25rem;
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            font-weight: bold;
            text-transform: uppercase;
            cursor: pointer;
            transition: opacity 0.2s ease;
            margin-top: 0.5rem;
            
            &:hover:not(:disabled) {
                opacity: 0.8;
            }
            
            &:disabled {
                background: var(--muted-color, #ccc);
                cursor: not-allowed;
                opacity: 0.6;
            }
        }
    }
    
        .close-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            color: var(--text-color, #fff);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 0.25rem;
            transition: all 0.3s;
            
            &:hover {
                background: rgba(255, 255, 255, 0.1);
                color: var(--accent-color, #f1c40f);
            }
        }
        
        .page-info {
            text-align: center;
            margin: 1rem 0;
            color: var(--text-color, #fff);
            font-size: 0.9em;
            opacity: 0.8;
        }
        
        .next-page-btn {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-color, #fff);
            border: 1px solid var(--border-color, #555);
            padding: 0.5rem 1rem;
            border-radius: 0.25rem;
            cursor: pointer;
            font-weight: normal;
            margin: 0.5rem auto;
            display: block;
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            font-size: 0.9em;
            transition: all 0.3s;
            
            &:hover {
                background: rgba(255, 255, 255, 0.2);
                border-color: var(--accent-color, #f1c40f);
            }
            
            &:disabled {
                opacity: 0.3;
                cursor: not-allowed;
                display: none;
            }
        }
    }

/* Conflict modal button hover effects */
.kvk-conflict-btn:hover {
    filter: brightness(0.9)/* !important*/;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.postcode-conflict-btn:hover {
    filter: brightness(0.9)/* !important*/;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.phone-selection-modal .modal-content {
    background: var(--bg-color, #333);
    color: var(--text-color, #fff);
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
}

.phone-selection-modal h3 {
    color: var(--accent-color, #f1c40f);
    margin: 0 0 1rem 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.phone-selection-modal .phone-options {
    margin: 1rem 0;
}

.phone-selection-modal .phone-options label {
    display: block;
    padding: 0.5rem;
    margin: 0.25rem 0;
    border: 1px solid var(--border-color, #555);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s;
}

.phone-selection-modal .phone-options label:hover {
    border-color: var(--accent-color, #f1c40f);
    background: rgba(241, 196, 15, 0.1);
}

.phone-selection-modal .phone-options input[type="radio"] {
    margin-right: 0.5rem;
}

.phone-selection-modal .modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.phone-selection-modal .select-phone,
.phone-selection-modal .add-new-phone {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.phone-selection-modal .select-phone {
    background: var(--accent-color, #f1c40f);
    color: #000;
}

.phone-selection-modal .add-new-phone {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color, #fff);
}

.phone-selection-modal .select-phone:hover,
.phone-selection-modal .add-new-phone:hover {
    opacity: 0.8;
}

.phone-selection-modal .select-phone:disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
}

.phone-selection-modal .select-phone:disabled:hover {
    opacity: 0.5;
}

@keyframes shake {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    10% { transform: translateX(-2px) translateY(-1px) rotate(-0.5deg); }
    20% { transform: translateX(2px) translateY(1px) rotate(0.5deg); }
    30% { transform: translateX(-3px) translateY(-2px) rotate(-1deg); }
    40% { transform: translateX(3px) translateY(2px) rotate(1deg); }
    50% { transform: translateX(-2px) translateY(-1px) rotate(-0.5deg); }
    60% { transform: translateX(2px) translateY(1px) rotate(0.5deg); }
    70% { transform: translateX(-1px) translateY(-1px) rotate(-0.25deg); }
    80% { transform: translateX(1px) translateY(1px) rotate(0.25deg); }
    90% { transform: translateX(-1px) translateY(0) rotate(0deg); }
}

/* Form manager enhancements */
form-manager {
    display: block;
}

form-manager .input.auto label {
    color: #f1c40f;
    font-weight: bold;
}

form-manager .input input:focus {
    outline: 2px solid var(--accent-color, #f1c40f);
    outline-offset: 2px;
}

/* Enhanced validation messages */
.validation-message {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--accent-color, #f1c40f);
    color: #000;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    font-weight: bold;
    z-index: 10;
    margin-top: 0.25rem;
}

.validation-message.error {
    background: #e74c3c;
    color: #fff;
}

/* Improved field transitions */
.input {
    position: relative;
    transition: all 0.3s ease;
}

.input input {
    transition: all 0.3s ease;
}

.input input:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



/* Improved message animations */
.fields .message,
.fields .message-2 {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /*width: 100% !important;
    max-width: none !important;*/
}

.fields.show-message .message {
    transform: translateY(0);
    opacity: 1;
}

.fields.show-message-2 .message-2 {
    transform: translateY(0);
    opacity: 1;
}

/* Enhanced arrow animations */
@keyframes arrow1 {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateY(180deg) rotate(5deg);
    }
    20% {
        opacity: 0;
        transform: scale(0.8) rotateY(180deg) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(180deg) rotate(5deg);
    }
}

@keyframes arrow2 {
    0% {
        opacity: 0;
        top: 12em;
        transform: scale(0.8) rotate(-88deg);
    }
    10% {
        opacity: 0;
        top: 12em;
        transform: scale(0.8) rotate(-88deg);
    }
    100% {
        opacity: 1;
        top: 18em;
        transform: scale(1) rotate(-88deg);
    }
}

@keyframes arrow3 {
    0% {
        opacity: 0;
        top: 15.5em;
        transform: scale(0.8) rotate(-159deg);
    }
    10% {
        opacity: 0;
        top: 15.5em;
        transform: scale(0.8) rotate(-159deg);
    }
    100% {
        opacity: 1;
        top: 21.5em;
        transform: scale(1) rotate(-159deg);
    }
}

@media screen and (max-width: 900px) {
    .phone-selection-modal .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .phone-selection-modal .modal-actions {
        flex-direction: column;
    }

    .phone-selection-modal .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
    .content {
        max-width: 95vw;
        margin: auto;
    }

    nav + .content {
        margin: 6em auto auto auto;
    }

    .hero-right {
        margin: auto;
    }

    .cols {
        flex-direction: column;
    }

        .cols > div {
            width: 100%;
            margin-top: 2em;
        }

    nav > div {
        display: none;
    }

    nav.expanded > div {
        display: flex;
        flex-direction: column;
        background-color: #333;
        position: fixed;
        right: 0;
        width: 70vw;
        top: 6em;
        max-width: 12rem;
        text-align: center;
        bottom: 0;
        justify-content: start;
        border-left: solid;
    }

    nav > .hamburger {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 0;
        font-size: 4em;
        margin: 0;
        text-align: center;
    }

    .bottom-img-bar > div {
        /* Chrome doet raar als je vw gebruikt (met zijbalk wel/niet, dus gebruiken we % ipv vw) */
        width: 25%;
        height: 25vw;
    }

    .purchase-options > div:nth-child(2) {
        margin-top: 1em;
    }

    .step-indicator > span:nth-child(2n-1):before {
        content: '\a ';
        white-space: pre;
    }

    .step-indicator-parent > .step-indicator > span:nth-child(2n)::after,
    .step-indicator > span:nth-child(2n)::after {
        width: 100%;
    }

    .fields {
        margin: auto;
        line-height: 1;
    }
    .fields.show-message .auto-label,
    .fields.show-message .auto-label:nth-of-type(1),
    .fields.show-message .auto-label:nth-of-type(2),
    .fields.show-message .auto-label:nth-of-type(3),
    form-manager.show-message .auto-label,
    form-manager.show-message .auto-label:nth-of-type(1),
    form-manager.show-message .auto-label:nth-of-type(2),
    form-manager.show-message .auto-label:nth-of-type(3) {
        display: none;
    }

    .fields.show-message .message,
    form-manager.show-message .message {
        top: 9em;
        /*width: 100% !important;
        max-width: none !important;*/
    }

    .content.summary {
        margin: 0;
        text-align: left;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 2.8em;
        color: var(--text-color);
        text-transform: uppercase;
        margin-bottom: 1em;
    }
        
    .content.summary span {
        color: #f1c40f;
        text-transform: none;
        font-weight: bold;
    }

    .input input[type="file"] {
        width: 11.7em;
    }

    .input textarea {
        width: 15em;
    }

    input[type="file"][name="foto"] + div {
        width: 410px;
        height: 410px;
    }
    form-manager {
        flex-direction: column;
    }

        .fields.show-message .message,
        form-manager.show-message .message {
            top: 17em;
        }

    .fields > div {
        width: 100%;
    }
}

@media screen and (max-width: 650px) {
    .info-blocks > div {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .validation-message {
        font-size: 0.8em;
        padding: 0.25rem;
    }

    .input.auto::before {
        font-size: 1em;
    }
    .bottom-img-bar > div {
        /* Chrome doet raar als je vw gebruikt (met zijbalk wel/niet, dus gebruiken we % ipv vw) */
        width: 33.33%;
        height: 33.33vw;
    }

    .hero-right h1 {
        font-size: 18vw;
    }

    nav > a:first-of-type {
        font-size: 5em;
    }

    .input input, .input input[type="file"] {
        width: 9em;
    }

    .input textarea {
        width: 12em;
    }

    .input > div > input:last-of-type {
        width: 4em;
    }

    .input > div {
        width: auto;
    }
    
    /* Maintain 2-column layout even on mobile */
    .fields .input > div:not(.message):not(.message-2) {
        width: calc(50% - 2em)/* !important*/;
        box-sizing: border-box;
    }

    .content.summary {
        margin: 0;
        text-align: left;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 3em;
        color: var(--text-color);
        text-transform: uppercase;
        margin-bottom: 1em;
    }
        
        .content.summary span {
            color: #f1c40f;
            text-transform: none;
            font-weight: bold;
        }

    input[type="file"][name="foto"] + div {
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
    }
}

@keyframes fadeup {
    0% {
        opacity: 0;
        top: 9rem;
    }

    40% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: 0;
    }
}

/* Remove duplicate arrow keyframes - keeping only the first set */

.message-2 button {
    margin: 1em;
    background-color: var(--primary-color);
    padding: 1em 2em;
    border: 0;
    border-radius: 0.5em;
    font-weight: bold;
    font-family: 'Inter';
}
.verify {
    position: fixed;
    background: rgba(0,0,0,0.8);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    > div
    {
        width: 400px;
        margin: 0 auto;
        background-color: var(--bg-color);
        color: var(--text-color);
        padding: 1em;
        border-radius: 0.5em;
        > h3
        {
            margin: 0;
        }
        > p
        {
            margin: 1em 0;
        }
        > input {
            padding: 1em;
            border: 0;
        }
        > button {
            padding: 1em;
            background-color: var(--primary-color);
            border: 0;
            box-sizing: border-box;
            border-left: solid 2px;
        }
    }
}/*
input[pattern]:valid {
    background-color: palegreen;
}*/

input[pattern]:invalid {
    background-color: lightpink;
}

/* Phone trigger button styling */
.phone-trigger-btn {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    font-weight: 500;
}

.phone-trigger-btn:hover {
    background: #f1c40f;
    border-color: #f1c40f;
    color: #000;
}

.phone-trigger-btn:focus {
    outline: 2px solid #f1c40f;
    outline-offset: 2px;
}

/* KVK trigger button styling - same as phone button */
.kvk-trigger-btn {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    font-weight: 500;
}

.kvk-trigger-btn:hover {
    background: #f1c40f;
    border-color: #f1c40f;
    color: #000;
}

.kvk-trigger-btn:focus {
    outline: 2px solid #f1c40f;
    outline-offset: 2px;
}

/* KVK search modal styling */
.kvk-search-container {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.search-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.kvk-search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    font-size: 1rem;
    box-sizing: border-box;
}

.kvk-search-btn {
    padding: 0.75rem 1.5rem;
    background: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 0.25rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.kvk-search-btn:hover:not(:disabled) {
    background: #f1c40f;
    border-color: #f1c40f;
    color: #000;
}

.kvk-search-btn:disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.kvk-search-input:focus {
    outline: none;
    border-color: #f1c40f;
    box-shadow: 0 0 0 0.2rem rgba(241, 196, 15, 0.25);
}

.kvk-search-status {
    font-size: 0.875rem;
    color: #6c757d;
    font-style: italic;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-style: italic;
}

/* Focus highlight animation for smart focus management */
.focus-highlight {
    animation: focusPulse 2s ease-in-out;
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.6) /*!important*/;
}

@keyframes focusPulse {
    0% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.8); }
    25% { box-shadow: 0 0 0 6px rgba(241, 196, 15, 0.4); }
    50% { box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.6); }
    75% { box-shadow: 0 0 0 6px rgba(241, 196, 15, 0.4); }
    100% { box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.6); }
}
/* Since lastpass ignores the suggestion to not show the icon, we hide it with css */
form-manager [data-lastpass-icon-root]
{
    display: none!important;
}
ideal-issuers
{
    font-size: 3em;
}
#pay-button {
    background-color: var(--accent-color);
    font-size: 2em;
    border: 0;
    padding: 0.3em;
    border-radius: 0.2em;
    color: var(--button-text);
    font-weight: bold;
    cursor: pointer;
}
step-indicator {
    --muted-width: 10%;
}
.toggle, .toggle * {
    box-sizing: border-box;
}
.toggle {
    display: flex;
    gap: 10px;
    box-sizing: border-box;
    cursor: pointer;
}

.toggle label {
    flex: 1;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.toggle input[type="radio"] {
    display: none;
}

.toggle span {
    display: block;
    padding: 10px;
    margin: 0.1em 0.2em;
    border-radius: 4px;
    font-weight: bold;
    align-self: flex-start;
    text-align: center;
    width: calc(100% - 0.3em);
    background-color: rgba(255,255,255,0.1);
}
.toggle input[type="radio"]:checked + span {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.toggle input[type="radio"][value="zakelijk"]:checked + span,
.toggle input[type="radio"][value="yearly"]:checked + span {
    background-color: #28a745;
    border-color: #28a745;
}

.toggle label:hover input[type="radio"]:not(:checked) + span {
    background-color: rgba(0, 123, 255, 0.2);
}
.toggle label:hover input[type="radio"][value="zakelijk"]:not(:checked) + span, 
.toggle label:hover input[type="radio"][value="yearly"]:not(:checked) + span {
    background-color: rgba(40, 167, 69, 0.2);
}
.toggle ul {
    margin: 1em auto;
    align-self: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.toggle input[type="radio"] + span + ul > li::before {
    content: '✓';
    margin-right: 0.3rem;
    font-size: 1.5em;
    line-height: 1em;
    font-weight: bold;
    color: var(--accent-color);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.toggle input[type="radio"]:checked + span + ul > li::before {
    visibility: visible;
    /*
    If you want to have a fun flickering effect (it really looks pretty good), you can leave this in, but without it, it's clearer.
    opacity: 1;
    */
    animation: fadeInCheckmark 0.3s ease-in-out forwards; /* Animation for checkmark */
}
@keyframes fadeInCheckmark {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
.toggle input[type="radio"]:checked + span + ul > li:nth-child(1)::before {
    animation-delay: 0.1s;
}
.toggle input[type="radio"]:checked + span + ul > li:nth-child(2)::before {
    animation-delay: 0.2s;
}
.toggle input[type="radio"]:checked + span + ul > li:nth-child(3)::before {
    animation-delay: 0.3s;
}
.toggle input[type="radio"]:checked + span + ul > li:nth-child(4)::before {
    animation-delay: 0.4s;
}
.toggle input[type="radio"]:checked + span + ul > li:nth-child(5)::before {
    animation-delay: 0.5s;
}
.toggle input[type="radio"]:checked + span + ul > li:nth-child(n+6)::before {
    animation-delay: calc(0.1s * var(--n));
}
step-indicator.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--console-bg);
    box-shadow: 0 0 10px #000;
    z-index: 1;
}