/*
 * Lovable component stijlen — exact overgenomen van de SPA CSS.
 * Wordt geladen op alle WordPress-only pagina's (inloggen, dashboard, etc.)
 */

/* === Lovable design tokens (exacte SPA variabelen) === */
:root {
    --radius: .875rem;
    --brand-purple: oklch(55% .16 300);
    --brand-purple-deep: oklch(28% .09 295);
    --brand-sage: oklch(62% .09 145);
    --brand-sand: oklch(86% .06 80);
    --brand-clay: oklch(78% .08 60);
    --background: oklch(99% .005 90);
    --foreground: oklch(24% .07 295);
    --card: oklch(100% 0 0);
    --card-foreground: oklch(24% .07 295);
    --primary: var(--brand-purple);
    --primary-foreground: oklch(99% .005 90);
    --secondary: oklch(96% .02 90);
    --secondary-foreground: var(--brand-purple-deep);
    --muted: oklch(96% .015 90);
    --muted-foreground: oklch(45% .04 290);
    --accent: oklch(93% .04 145);
    --accent-foreground: var(--brand-purple-deep);
    --border: oklch(90% .02 295);
    --input: oklch(90% .02 295);
    --ring: var(--brand-purple);
    --shadow-soft: 0 4px 20px -8px oklch(55% .16 300 / .18);
    --shadow-card: 0 2px 12px -4px oklch(28% .09 295 / .08);
    --gradient-hero: linear-gradient(180deg, oklch(99% .005 90) 0%, oklch(97% .02 80) 100%);
    --gradient-band: linear-gradient(90deg, oklch(95% .03 80), oklch(96% .02 90));

    /* Overschrijf WordPress theme variabelen */
    --bg: var(--background);
    --bg-alt: var(--secondary);
    --text: var(--foreground);
    --brand: var(--brand-purple);
    --header-bg: var(--card);
    --header-border: var(--border);
    --footer-border: var(--border);
    --footer-text: var(--muted-foreground);
}

/* === Layout reset voor Lovable look === */
body {
    background: var(--background) !important;
    color: var(--foreground);
    font-family: "Nunito", "Segoe UI", sans-serif;
}

/* === Registreren CTA knop in navigatie === */
.header-menu a[href*="registreren"] {
    background: oklch(55% .16 300);
    color: oklch(99% .005 90) !important;
    font-weight: 700;
    border-radius: .875rem;
    padding: 5px 12px !important;
}

.header-menu a[href*="registreren"]:hover {
    filter: brightness(1.08);
    background: oklch(55% .16 300) !important;
    color: oklch(99% .005 90) !important;
}

/* === Lovable component klassen === */
.container-page {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* === Geintegreerde Woo shell === */
.lv-shell-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: color-mix(in srgb, var(--background) 88%, white 12%);
    border-bottom: 1px solid var(--border);
}

.lv-shell-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.lv-shell-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.lv-shell-brand .custom-logo-link,
.lv-shell-footer__col--brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.lv-shell-brand .custom-logo,
.lv-shell-brand img {
    height: clamp(4rem, 8vw, 8rem);
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.lv-shell-nav {
    flex: 1;
    min-width: 0;
}

.lv-shell-nav .header-menu,
.lv-shell-mobile-nav .header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lv-shell-nav .header-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .2rem;
    flex-wrap: wrap;
}

.lv-shell-nav .header-menu a,
.lv-shell-mobile-nav .header-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: .55rem .85rem;
    border-radius: .85rem;
    color: color-mix(in srgb, var(--foreground) 78%, transparent);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.lv-shell-nav .header-menu a:hover,
.lv-shell-nav .header-menu .current-menu-item>a,
.lv-shell-mobile-nav .header-menu a:hover,
.lv-shell-mobile-nav .header-menu .current-menu-item>a {
    color: var(--primary);
    background: var(--secondary);
}

.lv-shell-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: .9rem;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--foreground);
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease;
}

.lv-shell-toggle span {
    position: absolute;
    width: 1rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.lv-shell-toggle span:nth-child(1) {
    transform: translateY(-5px);
}

.lv-shell-toggle span:nth-child(3) {
    transform: translateY(5px);
}

.lv-shell-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg);
}

.lv-shell-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.lv-shell-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg);
}

.lv-shell-mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    background: color-mix(in srgb, var(--card) 94%, white 6%);
}

.lv-shell-mobile-nav.is-open {
    display: block;
}

.lv-shell-mobile-nav .header-menu {
    display: grid;
    gap: .35rem;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

.lv-shell-mobile-nav .header-menu a {
    width: 100%;
    justify-content: flex-start;
}

.lv-shell-main {
    min-height: calc(100vh - 10rem);
    background:
        radial-gradient(circle at top left, oklch(95% .03 80 / .88), transparent 28%),
        radial-gradient(circle at top right, oklch(94% .035 145 / .55), transparent 34%),
        var(--gradient-hero);
}

.lv-shell-footer {
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, color-mix(in srgb, var(--secondary) 70%, white 30%), var(--background));
}

.lv-shell-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    padding-top: 2.75rem;
    padding-bottom: 2rem;
}

.lv-shell-footer__col h4 {
    margin: 0 0 .75rem;
    font-size: .95rem;
    font-weight: 800;
    color: var(--foreground);
}

.lv-shell-footer__col p,
.lv-shell-footer__col li,
.lv-shell-footer__copy {
    margin: 0;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.lv-shell-footer__copy {
    margin-top: 1rem;
    max-width: 20rem;
}

.lv-shell-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .45rem;
}

.lv-shell-footer__col a {
    color: var(--muted-foreground);
    text-decoration: none;
}

.lv-shell-footer__col a:hover {
    color: var(--primary);
}

.lv-shell-footer__bottom {
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: .875rem;
}

.lv-shell-footer__bottom .container-page {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.lv-auth-page {
    padding: clamp(3rem, 8vw, 5.5rem) 0;
    background:
        radial-gradient(circle at top left, oklch(95% .03 80 / .9), transparent 34%),
        radial-gradient(circle at bottom right, oklch(94% .035 145 / .85), transparent 36%),
        var(--gradient-hero);
    border-bottom: 1px solid var(--border);
}

.lv-auth-page__grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 448px);
}

.lv-auth-page__intro {
    max-width: 34rem;
}

.lv-auth-page__eyebrow {
    margin: 0 0 .875rem;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-purple);
}

.lv-auth-page__title {
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 4rem);
    line-height: 1.05;
    color: var(--foreground);
}

.lv-auth-page__copy {
    margin: 1rem 0 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted-foreground);
}

.lv-auth-page__benefits {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: grid;
    gap: .9rem;
}

.lv-auth-page__benefits li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--foreground);
}

.lv-auth-page__benefits li::before {
    content: '';
    position: absolute;
    top: .62rem;
    left: 0;
    width: .65rem;
    height: .65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-sage));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-purple) 14%, transparent);
}

.lv-auth-page__panel {
    width: min(100%, 448px);
    justify-self: end;
}

.card-soft {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius);
    background: var(--brand-purple);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-soft);
    border: none;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    font-size: 1rem;
    width: 100%;
}

.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    color: var(--primary-foreground);
}

.btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1.5rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius);
    border: 2px solid var(--brand-purple);
    color: var(--brand-purple-deep);
    background: transparent;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    font-size: 1rem;
    width: 100%;
}

.btn-outline:hover {
    background: var(--brand-purple);
    color: var(--primary-foreground);
}

@media (max-width: 1024px) {
    .lv-shell-nav {
        display: none;
    }

    .lv-shell-toggle {
        display: inline-flex;
        position: relative;
        flex-shrink: 0;
    }

    .lv-shell-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .lv-shell-header__inner {
        gap: .75rem;
    }

    .lv-shell-brand .custom-logo,
    .lv-shell-brand img {
        height: clamp(3.5rem, 16vw, 5rem);
        max-width: 220px;
    }

    .lv-shell-footer__grid {
        grid-template-columns: 1fr;
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }
}

/* === Formulier input stijlen === */
.kmp input[type="text"],
.kmp input[type="email"],
.kmp input[type="password"],
.kmp textarea,
.kmp select {
    width: 100%;
    height: 2.75rem;
    border-radius: 6px;
    border: 1px solid var(--input);
    background: var(--background);
    padding: 0 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--foreground);
    outline: none;
    transition: box-shadow .15s;
    box-sizing: border-box;
}

.kmp input[type="text"]:focus,
.kmp input[type="email"]:focus,
.kmp input[type="password"]:focus {
    box-shadow: 0 0 0 2px var(--ring);
}

.kmp label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--foreground);
}

/* Nested label-pattern: <label><span>tekst</span><input></label> */
.kmp label>span {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--foreground);
}

.kmp label:has(> input),
.kmp label:has(> textarea),
.kmp label:has(> select) {
    font-weight: 400;
    margin-bottom: 0;
    cursor: default;
}

.kmp-form-help {
    font-size: .75rem;
    color: var(--muted-foreground);
    margin: -4px 0 8px;
}

/* === Auth form (inloggen/registreren) wrapper === */
.kmp-auth-shell {
    padding: 1.5rem 2rem 2rem;
}

.kmp-auth-title {
    font-size: 1.875rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--foreground);
}

.kmp-auth-copy {
    font-size: .875rem;
    color: var(--muted-foreground);
    margin: 0 0 1.5rem;
}

.kmp-forgot-link {
    color: var(--brand-purple);
    font-weight: 700;
}

.kmp-forgot-link:hover {
    color: var(--brand-purple-deep);
}

.kmp-form-row {
    margin-bottom: 1rem;
}

.kmp-form-row-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .875rem;
}

.kmp-form-row-inline label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    margin: 0;
    cursor: pointer;
}

.kmp-form-actions {
    margin-top: 1.25rem;
}

.kmp-form-actions .kmp-btn {
    width: 100%;
}

/* Primaire submit knop in formulier */
.kmp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    border-radius: var(--radius);
    background: var(--brand-purple);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-soft);
    border: none;
    cursor: pointer;
    transition: all .2s;
}

.kmp-btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* Secundaire knop */
.kmp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem 1rem;
    font-weight: 600;
    font-size: .875rem;
    font-family: inherit;
    border-radius: calc(var(--radius) - .25rem);
    border: 1px solid var(--border);
    color: var(--foreground);
    background: var(--secondary);
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
    white-space: nowrap;
}

.kmp-btn-secondary:hover {
    background: var(--background);
    border-color: var(--brand-purple);
    color: var(--brand-purple);
}

/* Gevaar / verwijder knop */
.kmp-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem 1rem;
    font-weight: 600;
    font-size: .875rem;
    font-family: inherit;
    border-radius: calc(var(--radius) - .25rem);
    border: 1px solid oklch(80% .05 20);
    color: oklch(40% .12 20);
    background: oklch(96% .01 20);
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
    white-space: nowrap;
}

.kmp-btn-danger:hover {
    background: oklch(40% .12 20);
    color: white;
    border-color: transparent;
}

/* Divider "of" */
.kmp-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.5rem 0;
}

.kmp-auth-divider::before,
.kmp-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

@media (max-width: 900px) {
    .lv-auth-page__grid {
        grid-template-columns: 1fr;
    }

    .lv-auth-page__panel {
        width: 100%;
        max-width: 34rem;
        justify-self: start;
    }
}

.kmp-auth-divider span {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted-foreground);
}

/* "Account aanmaken" knop */
.kmp-auth-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .65rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    border-radius: var(--radius);
    border: 2px solid var(--brand-purple);
    color: var(--brand-purple-deep);
    background: transparent;
    text-decoration: none;
    transition: all .2s;
}

.kmp-auth-secondary-btn:hover {
    background: var(--brand-purple);
    color: var(--primary-foreground);
}

.kmp-auth-terms {
    margin-top: 1.5rem;
    font-size: .75rem;
    color: var(--muted-foreground);
    text-align: center;
}

.kmp-auth-terms a {
    color: var(--brand-purple);
    text-decoration: underline;
}

.kmp-auth-meta {
    margin-top: .75rem;
    font-size: .875rem;
    color: var(--muted-foreground);
    text-align: center;
}

.kmp-auth-meta a {
    color: var(--brand-purple);
    font-weight: 600;
    text-decoration: none;
}

.kmp-auth-meta a:hover {
    text-decoration: underline;
}

/* Link "Wachtwoord vergeten" */
.kmp-forgot-link {
    color: var(--brand-purple);
    font-weight: 500;
    font-size: .875rem;
    text-decoration: none;
}

.kmp-forgot-link:hover {
    text-decoration: underline;
}

/* Error/success berichten */
.kmp-notice {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .875rem;
    margin-bottom: 1rem;
}

.kmp-notice-error {
    background: oklch(96% .01 20);
    border: 1px solid oklch(80% .05 20);
    color: oklch(40% .12 20);
}

.kmp-notice-success {
    background: oklch(96% .02 145);
    border: 1px solid oklch(80% .05 145);
    color: oklch(35% .1 145);
}

/* === Dashboard / mijn advertenties === */
.kmp-my-ads,
.kmp-admin-dashboard {
    padding: 0;
}

.kmp-my-ads-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.kmp-my-ads-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--foreground);
}

.kmp-my-ads-head .kmp-btn-primary {
    width: auto;
}

.kmp-my-ads-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kmp-my-ad {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    box-shadow: var(--shadow-card);
}

.kmp-my-ad-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kmp-my-ad-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kmp-my-ad-thumb-empty {
    font-size: 1.5rem;
    opacity: .4;
}

.kmp-my-ad-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.kmp-my-ad-title {
    font-weight: 700;
    color: var(--foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kmp-my-ad-price {
    font-size: .875rem;
    color: var(--muted-foreground);
}

.kmp-my-ad-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.kmp-inline-delete {
    display: inline;
    margin: 0;
    padding: 0;
}

/* Status badges */
.kmp-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    background: var(--secondary);
    color: var(--muted-foreground);
    border: 1px solid var(--border);
}

.kmp-status-approved {
    background: oklch(93% .04 145);
    color: oklch(35% .1 145);
    border-color: oklch(80% .05 145);
}

.kmp-status-pending {
    background: oklch(95% .04 80);
    color: oklch(40% .1 80);
    border-color: oklch(82% .06 80);
}

.kmp-status-sold {
    background: oklch(93% .04 300);
    color: oklch(35% .1 300);
    border-color: oklch(80% .05 300);
}

.kmp-status-rejected {
    background: oklch(96% .01 20);
    color: oklch(40% .12 20);
    border-color: oklch(80% .05 20);
}

.kmp-status-expired {
    background: var(--secondary);
    color: var(--muted-foreground);
}

/* Lege staat */
.kmp-empty {
    padding: 3rem 0;
    text-align: center;
    color: var(--muted-foreground);
    font-size: .875rem;
}

/* Lock melding */
.kmp-locked {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted-foreground);
}

/* === Admin gebruikersoverzicht tabel === */
.kmp-admin-users {
    width: 100%;
}

.kmp-admin-users-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.kmp-admin-users-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--foreground);
}

.kmp-admin-users-copy {
    font-size: .875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.kmp-admin-toolbar {
    background: var(--secondary);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.kmp-admin-filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.kmp-admin-filter-field span {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    color: var(--muted-foreground);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.kmp-admin-filter-actions {
    display: flex;
    gap: 8px;
}

.kmp-admin-filter-actions .kmp-btn-primary {
    width: auto;
    padding: .5rem 1.25rem;
    font-size: .875rem;
}

.kmp-admin-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-card);
}

.kmp-admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}

.kmp-admin-table th {
    padding: 10px 14px;
    text-align: left;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted-foreground);
    border-bottom: 1px solid var(--border);
    background: var(--secondary);
    white-space: nowrap;
}

.kmp-admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--foreground);
}

.kmp-admin-table tr:last-child td {
    border-bottom: none;
}

.kmp-admin-table tr:hover td {
    background: oklch(99% .01 90);
}

.kmp-admin-user-name {
    font-weight: 600;
    color: var(--foreground);
}

.kmp-admin-user-meta {
    font-size: .75rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.kmp-admin-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Gebruiker detail sectie */
.kmp-admin-user-detail {
    margin-top: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.kmp-admin-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--secondary);
}

.kmp-admin-detail-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--foreground);
}

.kmp-admin-detail-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.kmp-admin-detail-list {
    list-style: none;
    margin: 0;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kmp-admin-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.kmp-admin-detail-item:last-child {
    border-bottom: none;
}

.kmp-admin-detail-name {
    font-weight: 600;
    color: var(--foreground);
}

.kmp-admin-detail-meta {
    font-size: .75rem;
    color: var(--muted-foreground);
    margin-top: 2px;
}

.kmp-admin-detail-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

/* Bestaande fotos in edit form */
.kmp-existing-images {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.kmp-existing-images li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.kmp-existing-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.kmp-img-delete {
    font-size: .7rem;
    color: oklch(40% .12 20);
    text-decoration: none;
}

.kmp-img-delete:hover {
    text-decoration: underline;
}

.kmp-form-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--foreground);
}

/* === Pagina wrapper === */
.lv-page {
    padding: 3rem 0 5rem;
}

/* === Footer === */
.site-footer {
    margin-top: 64px;
    padding: 48px 0 0;
    background: var(--background) !important;
    border-top: 1px solid var(--border) !important;
    color: var(--muted-foreground);
    font-size: .875rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: .875rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--foreground);
}

.footer-col p {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin: 0;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a,
.footer-col p a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color .15s;
}

.footer-col ul li a:hover,
.footer-col p a:hover {
    color: var(--brand-purple);
}

.footer-logo img {
    height: 48px;
    width: auto;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    font-size: .75rem;
    color: var(--muted-foreground);
    text-align: center;
}

/* === Checkbox stijl === */
.kmp input[type="checkbox"] {
    height: 1rem;
    width: 1rem;
    border-radius: 4px;
    border: 1px solid var(--input);
    accent-color: var(--brand-purple);
}

@media (max-width: 820px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .kmp-auth-shell {
        padding: 1.25rem 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

/* === Contactpagina === */
.kmp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kmp-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.kmp-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--border);
}

.kmp-contact-row:last-child {
    border-bottom: none;
}

.kmp-contact-icon {
    font-size: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary);
    flex-shrink: 0;
}

.kmp-contact-label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted-foreground);
    margin: 0 0 .2rem;
}

.kmp-contact-value {
    font-size: .9rem;
    margin: 0;
    line-height: 1.5;
}

.kmp-contact-link {
    color: var(--brand-purple);
    text-decoration: none;
}

.kmp-contact-link:hover {
    text-decoration: underline;
}

.kmp-contact-times-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.kmp-openingstijden {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}

.kmp-openingstijden tr {
    border-bottom: 1px solid var(--border);
}

.kmp-openingstijden tr:last-child {
    border-bottom: none;
}

.kmp-openingstijden td {
    padding: .6rem 0;
}

.kmp-openingstijden .kmp-dag {
    font-weight: 500;
}

.kmp-openingstijden .kmp-tijd {
    text-align: right;
    color: var(--muted-foreground);
}

.kmp-contact-form-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
}

.kmp-contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

@media (max-width: 820px) {
    .kmp-contact-grid {
        grid-template-columns: 1fr;
    }
}