﻿﻿:root {
    --brand: #b4515d; /* GUIDO rood */
    --brand-dark: #005b85; /* donkere variant voor hover */
    --teal: #004d72; /* donkerblauw (titelkleur) */
    --text: #102022; /* bijna-zwart */
    --text-border: #e2e6ea;
    --muted: #6b7b84; /* grijs voor hulptekst/link */
    --chip: #ffffff; /* chip wit */
    --chip-b: #004d72; /* chip border */
    --chip-bg: #f3f6f7; /* chip achtergrond */
    --info-label: #6C6C6C; /* lichtgrijs labels */
    --info-value: #1E3A6F; /* donkerblauw */
    --overlay: rgba(0, 121, 175, 0.85);
    --overlay-dark: rgba(0, 91, 133, 0.9);
    --border-light: #eee;
    --border-mid: #ccc;
    --bg-light: #f3f6f7;
    --pin-yellow: #FFD600;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: var(--white);
}

/* Header */
.header {
    display: flex;
    align-items: center;
    padding: 10px;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    gap: 10px;
}

.logo img {
    height: 40px;
    margin-right: 0px;
    cursor: pointer;
}

.city-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--brand);
    border-radius: 30px;
    padding: 6px 14px;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.pin-icon, .menu-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.city-name {
    flex: 1;
    text-align: center;
}

/* SLIDE-IN PANEL */
.city-panel {
    position: fixed;
    top: 0;
    right: -100%; /* hidden */
    width: 100%;
    height: 100%;
    background: var(--white);
    box-shadow: -2px 0 6px rgba(0,0,0,0.2);
    transition: right 0.4s ease;
    z-index: 9999;
}

    .city-panel.open {
        right: 0;
    }

.city-panel-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 15px;
    overflow-y: auto;
}

.close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* City grid */
.city-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.city-item {
    background: #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
}

    .city-item.active {
        background: var(--brand);
        color: var(--white);
    }

    .city-item img {
        max-width: 150px;
        height: auto;
        display: block;
        margin: 0 auto 8px;
    }

.category-btn {
    -webkit-appearance: none;
    appearance: none;
    -webkit-text-fill-color: var(--brand);
    border: 1px solid var(--brand);
    border-radius: 20px;
    padding: 6px 12px;
    background: var(--white);
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

    .category-btn:hover {
        background: var(--brand);
        color: var(--white);
    }

/* Account button */
.account-btn {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

    .account-btn button {
        background: var(--brand);
        border: none;
        border-radius: 20px;
        padding: 10px 20px;
        color: var(--white);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    .account-btn svg {
        width: 20px;
        height: 20px;
    }

/* Banner */
.banner {
    width: 100%;
    background: #ddd;
    text-align: center;
    padding: 20px;
    font-size: 18px;
}

.voucher-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
}

/* Big card spans both columns */
.voucher-card.big {
    grid-column: span 2;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

    .voucher-card.big img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

/* Small cards side by side */
.voucher-card.small {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

    .voucher-card.small img {
        width: 100%;
        height: 120px;
        object-fit: cover;
    }

/* Overlay = full-width bar across bottom */
.voucher-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--overlay);
    color: var(--white);
    padding: 8px 12px;
    box-sizing: border-box;
}

.voucher-big {
    position: relative;
    margin-bottom: 10px;
}

    .voucher-big img {
        width: 100%;
        border-radius: 10px;
    }

.voucher-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--overlay-dark);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 0 0 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.overlay .top-text {
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    line-height: 1.2;
}

.overlay .bottom-text {
    font-size: 12px;
    text-align: right;
    opacity: 0.9;
    line-height: 1.2;
}

/* Two small vouchers side by side */
.voucher-small-container {
    display: flex;
    gap: 10px;
}

.voucher-small {
    flex: 1;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

    .voucher-small img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    .voucher-small .voucher-overlay {
        border-radius: 0 0 10px 10px;
    }

.all-vouchers-btn {
    grid-column: span 2;
    text-align: center;
}

    .all-vouchers-btn button,
    .all-vouchers-btn input[type="submit"] {
        display: block;
        width: 100%;
        margin: 10px 0 0 0;
        padding: 12px 20px;
        border: 1px solid var(--text);
        border-radius: 25px;
        background: var(--white);
        cursor: pointer;
        font-size: 16px;
        text-align: center;
        -webkit-text-fill-color: var(--text) !important;
    }

/* Hero image */
.voucher-detail-hero {
    position: relative;
    width: 100%;
    margin-bottom: 80px;
}

/* Image with rounded corners */
.voucher-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* Company logo overlay */
.voucher-logo-overlay {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid var(--white);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
}

    .voucher-logo-overlay img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* Content area */
.voucher-detail-content {
    padding: 0 16px 16px 16px;
}

.voucher-detail-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.voucher-detail-description {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Sections */
.voucher-section {
    margin-bottom: 20px;
}

.voucher-section-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--info-label);
    margin-bottom: 4px;
    font-weight: 600;
}

.voucher-section-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.voucher-icon {
    font-size: 18px;
    color: var(--brand);
}

.voucher-company {
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
}

    .voucher-company:hover {
        text-decoration: underline;
    }

.voucher-address-text {
    flex: 1;
    font-size: 14px;
    color: var(--muted);
}

.gps-btn {
    background: var(--brand);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gps-btn:hover {
        background: var(--brand-dark);
    }

.use-voucher-btn {
    display: block;
    width: 100%;
    background: var(--brand);
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    margin-top: 20px;
}

    .use-voucher-btn:hover {
        background: var(--brand-dark);
    }

/* Buttons */
.btn {
    display: block;
    width: 100%;
    margin: 10px 0 0 0;
    padding: 12px 20px;
    border: 1px solid var(--text);
    border-radius: 25px;
    background: var(--white);
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

/* Map */
.map-container {
    margin: 20px;
    border: 1px solid var(--border-mid);
    border-radius: 10px;
    overflow: hidden;
}

.default-page #map {
    width: 100%;
    height: 300px;
}

.category-page #map {
    width: 100%;
    height: calc(100vh - 100px);
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 15px;
    color: var(--text);
}

/* Toggle buttons flat */
.toggle-container {
    display: flex;
    margin: 0 15px 15px 15px;
    gap: 8px;
}

.toggle-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--brand);
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    color: var(--brand);
}

    .toggle-btn.active {
        background: var(--brand);
        color: var(--white);
    }

/* List rows */
.company-row {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
}

.company-icon {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.bon-icon {
    display: inline-block;
    background: var(--brand);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
}

.shop-icon {
    font-size: 20px;
    color: var(--text);
}

/* Company info */
.company-info {
    flex: 1;
}

.company-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 2px;
}

.company-address {
    font-size: 13px;
    color: var(--muted);
}

.loading {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: var(--muted);
}

.map {
    width: 100%;
    height: calc(100vh - 150px);
}

@media (min-width: 1024px) {
    #map {
        height: 500px;
    }
}

/* Categories */
.categories {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

    .categories button {
        border: 1px solid var(--brand);
        border-radius: 20px;
        padding: 6px 12px;
        background: var(--white);
        cursor: pointer;
        font-size: 14px;
        white-space: nowrap;
    }

/* Footer */
.footer {
    text-align: center;
    margin: 20px 0;
}

    .footer button {
        background: var(--brand);
        color: var(--white);
        border-radius: 25px;
        border: none;
        padding: 12px 30px;
        font-size: 16px;
        cursor: pointer;
    }

.voucher-page {
    padding: 10px;
}

#txtSearch {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    margin: 0 0 15px 0;
    border: 1px solid var(--border-mid);
    border-radius: 8px;
    font-size: 16px;
}

.voucher-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.voucher-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.voucher-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--overlay-dark);
    color: var(--white);
    padding: 10px;
    font-size: 14px;
}

.voucher-title {
    font-weight: bold;
    font-size: 16px;
}

.voucher-company {
    font-size: 13px;
    opacity: 0.9;
}

.voucher-extra {
    font-size: 12px;
    opacity: 0.8;
}

.company-detail {
    font-family: Arial, sans-serif;
    color: var(--text);
    padding-bottom: 80px;
}

.company-hero {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .company-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.company-detail-page {
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    padding-bottom: 40px;
}

/* Header */
.cd-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px;
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .cd-header h2 {
        font-size: 18px;
        margin: 0;
    }

.cd-back-btn {
    position: absolute;
    left: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Hero image */
.cd-hero img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Vouchers */
.cd-vouchers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    padding: 15px;
}

.cd-voucher-card {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--brand);
    border-radius: 12px;
    padding: 8px 12px;
    min-width: 120px;
    background: var(--white);
    text-decoration: none;
    color: inherit;
}

.cd-voucher-icon {
    font-size: 18px;
    margin-right: 8px;
    color: var(--brand);
}

.cd-voucher-title {
    font-weight: bold;
    font-size: 14px;
}

.cd-voucher-benefit {
    font-size: 12px;
    color: var(--muted);
}

/* Company name */
.cd-company-name {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin: 15px 0 5px;
    text-transform: uppercase;
    color: var(--info-value);
}

/* Description */
.cd-company-description {
    text-align: center;
    padding: 0 15px;
    font-size: 14px;
    color: var(--muted);
}

/* Info */
.cd-info {
    margin: 20px 15px;
}

.cd-info-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.cd-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 28px;
    height: 100%;
    margin-right: 12px;
    flex-shrink: 0;
}

.cd-info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cd-info-label {
    font-size: 12px;
    color: var(--info-label);
    line-height: 1.2;
}

.cd-info-value {
    font-size: 14px;
    color: var(--info-value);
    text-decoration: none;
    font-weight: bold;
}

    .cd-info-value:hover {
        text-decoration: underline;
    }

.cd-gps-btn {
    background: var(--brand);
    color: var(--white);
    border: none;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 14px;
    cursor: pointer;
    margin-left: auto;
    align-self: center;
}

.cd-map {
    margin: 15px;
    border-radius: 12px;
    overflow: hidden;
}

    .cd-map iframe {
        width: 100%;
        height: 200px;
        border: none;
    }

/* Account button */
.cd-account-btn {
    display: block;
    margin: 20px auto;
    background: var(--brand);
    color: var(--white);
    border: none;
    border-radius: 25px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.fa-marker-pin {
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    background: var(--pin-yellow);
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .fa-marker-pin i {
        transform: rotate(45deg);
        font-size: 14px;
        color: var(--black);
    }

/* Floating button */
.acct-bottom-btn {
    margin-top: 24px;
    padding: 16px;
    text-align: center;
    border-top: 1px solid #e4e7eb;
}

.acct-btn {
    display: inline-block;
    background: var(--brand);
    color: var(--white);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 26px;
    font-weight: 700;
    font-size: 16px;
}

/* Page wrapper */
.acct-page {
    background: #fff;
    color: var(--text);
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}

/* Hero */
.acct-hero {
    position: relative;
    height: 160px;
    overflow: visible;
    background: #eee;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
}

.acct-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    filter: saturate(1.05);
}

.acct-topbar {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

.acct-back {
    position: absolute;
    left: 12px;
    top: 2px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #7b7b7b;
}

.acct-title {
    font-weight: 700;
    font-size: 18px;
    background: #fff;
    color: #0f1111;
    padding: 6px 12px;
    border-radius: 16px;
}

.acct-avatar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -36px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    color: var(--brand);
    border: 4px solid #fff;
}

    .acct-avatar svg {
        width: 64px;
        height: 64px
    }

/* Body */
.acct-body {
    margin-top: 56px; /* space for avatar overlap */
    padding: 0 16px 32px;
}

/* Labels & inputs */
.acct-label {
    display: block;
    margin: 20px 6px 6px;
    font-size: 14px;
    color: var(--muted);
}

.acct-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--teal);
    border-radius: 18px;
    font-size: 16px;
    outline: none;
    background: #fff;
}

/* Subtitle */
.acct-subtitle {
    margin: 26px 6px 12px;
    font-size: 18px;
    color: var(--text);
    font-weight: 800;
}

/* Interest chips */
.acct-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.acct-chip {
    border: 1.6px solid var(--chip-b);
    background: transparent;
    color: var(--chip-b);
    padding: 8px 14px;
    border-radius: 22px;
    font-weight: 600;
}

.acct-chip--active {
    background: var(--chip-bg);
}

/* Toggle row */
.acct-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 4px;
}

.acct-row-text {
    font-size: 16px;
}

/* iOS-like switch */
.acct-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

    .acct-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.acct-slider {
    position: absolute;
    inset: 0;
    background: #cfd4d6;
    border-radius: 999px;
    transition: .2s;
}

    .acct-slider::before {
        content: "";
        position: absolute;
        height: 22px;
        width: 22px;
        left: 5px;
        top: 4px;
        background: #fff;
        border-radius: 50%;
        transition: .2s;
        box-shadow: 0 1px 3px rgba(0,0,0,.25);
    }

.acct-switch input:checked + .acct-slider {
    background: var(--brand);
}

    .acct-switch input:checked + .acct-slider::before {
        transform: translateX(26px);
    }

/* Language row */
.acct-lrow {
    width: 100%;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border: 1.5px solid var(--teal);
    border-radius: 18px;
    background: #fff;
    color: var(--text);
}

.acct-lrow-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.acct-globe {
    width: 20px;
    height: 20px;
    color: var(--text);
}

.acct-chevron {
    width: 22px;
    height: 22px;
    color: var(--muted);
}

.acct-lrow-label {
    font-size: 16px;
}

/* Danger link */
.acct-danger {
    display: block;
    text-align: center;
    margin: 18px 0 8px;
    color: #c33857;
    text-decoration: underline;
    font-weight: 500;
}

/* Footer links */
.acct-footer-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 18px;
}

.acct-footlink {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

/* Version */
.acct-version {
    text-align: center;
    font-size: 12px;
    color: #b6bfc5;
    margin-top: 8px;
}

/* Floating button shown op ALLE pagina’s (optioneel) */
.acct-floating-btn {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: var(--brand);
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    border-radius: 26px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(180,81,93,.35);
}

.interest-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.interest-btn {
    border: 1px solid var(--teal);
    background: white;
    color: var(--teal);
    border-radius: 25px;
    padding: 8px 16px;
    margin: 6px;
    font-size: 14px;
    cursor: pointer;
}

    .interest-btn.active {
        background: var(--brand);
        border-color: var(--brand);
        color: white;
    }

@media (min-width:600px) {
    .acct-floating-btn {
        left: calc(50% - 180px);
        right: calc(50% - 180px);
    }
}


/* -------- Responsive Breakpoints -------- */
@media (min-width: 768px) {
    .voucher-small-container {
        flex-direction: row;
    }

    .voucher-overlay {
        font-size: 16px;
    }

    .voucher-detail-content {
        padding: 20px 40px;
    }

    .voucher-detail-title {
        font-size: 26px;
    }

    .voucher-detail-description {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .header {
        padding: 15px 40px;
    }

    .voucher-section {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 15px;
    }

    .voucher-big {
        grid-column: 1 / 2;
        grid-row: span 2;
    }

    .voucher-small-container {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        max-width: 300px;
    }

    .categories {
        justify-content: flex-start;
        padding-left: 40px;
    }
}

.scan-page {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 0px); /* master header/footer already there */
    background: #000;
    color: #fff;
}

/* Top title strip inside content area */
.scan-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

    .scan-header h1 {
        font-size: 18px;
        margin: 0 auto;
        font-weight: 700;
    }

.scan-back-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text);
}

/* Video area */
.scan-video-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

#cameraPreview {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
}

/* white frame overlay */
.scan-overlay {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.8);
    width: 70%;
    height: 40%;
    box-sizing: border-box;
}

/* status bar */
.scan-status {
    padding: 10px 15px;
    text-align: center;
    background: #111;
    font-size: 14px;
}

/* result panel */
.scan-result {
    display: none;
    background: #fff;
    color: var(--text);
    padding: 16px;
    border-top: 1px solid var(--text-border);
}

    .scan-result h2 {
        margin: 0 0 6px;
        font-size: 18px;
        font-weight: 700;
    }

.scan-result-voucher {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}

.scan-result-company {
    font-size: 14px;
    margin-bottom: 4px;
}

.scan-result-time {
    font-size: 12px;
    color: var(--muted);
}

.scan-result-error {
    margin-top: 6px;
    color: var(--brand);
    font-weight: 600;
}

/* reuse existing .btn + .btn-primary pattern if you have it.
   otherwise: */
.btn-primary {
    background: var(--brand);
    color: #fff;
    border: none;
}


.voucher-hero {
    position: relative;
    height: 240px;
    overflow: hidden;
}

    .voucher-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.nav-back {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
}

/* Reuse existing card styles */
.card-rounded {
    margin-top: -40px;
    padding: 20px;
    background: #fff;
    border-radius: 25px 25px 0 0;
    text-align: center;
    z-index: 10;
    position: relative;
}

.voucher-title {
    font-weight: 700;
    color: var(--info-value);
    margin-bottom: 5px;
}

.voucher-subtitle {
    font-weight: 600;
    margin-bottom: 10px;
}

.voucher-promo {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.voucher-instruction {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 20px;
}

/* Confirm tap area */
.voucher-confirm {
    display: flex;
    justify-content: center;
}

.confirm-box {
    width: 100%;
    max-width: 300px;
    height: 140px;
    border: 2px dashed var(--brand);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon can be SVG background */
.confirm-icon {
    width: 50px;
    height: 50px;
    background: url('/assets/images/tap.svg') center no-repeat;
    background-size: contain;
}

/* Button reuse */
.btn-full {
    width: calc(100% - 20px);
    margin: 20px auto;
}
.confirm-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
    .confirm-card-link:focus,
    .confirm-card-link:hover,
    .confirm-card-link:active {
        text-decoration: none;
        color: inherit;
    }

.confirm-card {
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

    .confirm-card:active {
        transform: scale(0.98);
    }

.manual-company {
    margin-top: 16px;
}

.company-option {
    display: block;
    padding: 14px;
    border-radius: 14px;
    background: #f5f5f5;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
}

    .company-option:active {
        background: #eaeaea;
    }

#app-loader {
    position: fixed;
    inset: 0;
    background: #0079af;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    #app-loader img {
        max-width: 100%;
        max-height: 100%;
    }

.city-pill-select-wrap {
    position: relative;
    flex: 1 1 auto; /* was: display:inline-block, groeide daardoor niet mee */
    min-width: 0; /* was: min-width:170px, blokkeerde krimpen op 320px */
    background: var(--color-brand);
    border-radius: var(--radius-pill);
    height: 44px;
}

.city-pill-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 44px;
    border: none;
    outline: none;
    background: transparent;
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 0 40px 0 40px;
    cursor: pointer;
    border-radius: 999px;
}

    .city-pill-select option {
        color: #fff;
        background: #0079af;
    }

.city-pill-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}
    .city-pill-icon svg {
        width: 18px;
        height: 18px;
    }

.pin-icon {
    left: 12px;
}

.menu-icon {
    right: 12px;
}

.city-pill-select-wrap:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 121, 175, 0.25);
}

.company-actionbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
}

    .company-actionbar .action-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #f4e9ea;
        color: #0079af;
        text-decoration: none;
        flex: 0 0 auto;
        transition: background .15s, color .15s, transform .1s;
    }

        .company-actionbar .action-icon:hover {
            transform: translateY(-1px);
        }

        .company-actionbar .action-icon svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

    .company-actionbar .action-phone {
        background: #0079af;
        color: #fff;
    }

    .company-actionbar .action-socials {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1 1 auto;
        flex-wrap: wrap;
    }

    .company-actionbar .action-location {
        margin-left: auto;
    }

/* Brand hover colors (optional) */
.action-facebook:hover {
    background: #1877f2;
    color: #fff;
}

.action-instagram:hover {
    background: #e1306c;
    color: #fff;
}

.action-tiktok:hover {
    background: #000;
    color: #fff;
}

.action-twitter:hover {
    background: #000;
    color: #fff;
}

.action-linkedin:hover {
    background: #0a66c2;
    color: #fff;
}

.action-youtube:hover {
    background: #ff0000;
    color: #fff;
}

.action-pinterest:hover {
    background: #bd081c;
    color: #fff;
}

.action-whatsapp:hover {
    background: #25d366;
    color: #fff;
}

.recreatie-section {
    margin: 18px 0;
}

.recreatie-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
}

.recreatie-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recreatie-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 12px;
    background: #fff;
    border: 1px solid #ececec;
    border-left: 3px solid #0079af; /* default; overridden per-category */
    border-radius: 999px;
    font-size: .9rem;
    color: #333;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
    white-space: nowrap;
}

    .recreatie-chip .recreatie-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: currentColor;
        opacity: .35;
        flex: 0 0 auto;
    }

/* ---------- Install-sheet (PWA) ----------
   Vervangt de oude discrete iOS-balk: een bottom sheet met scrim die op
   elk toestel verschijnt, met per platform de juiste installmethode. */
.gg-install {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

    .gg-install.is-open {
        display: flex;
    }

.gg-install-scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 26, 40, .62);
    animation: ggInstallFade .22s ease-out;
}

.gg-install-sheet {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 88vh;
    overflow-y: auto;
    box-sizing: border-box;
    background: #fff;
    color: #1d2b33;
    border-radius: 22px 22px 0 0;
    padding: 14px 22px calc(18px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 44px rgba(0, 0, 0, .32);
    text-align: center;
    animation: ggInstallUp .3s cubic-bezier(.2, .8, .25, 1);
}

    .gg-install-sheet::before {
        content: "";
        display: block;
        width: 42px;
        height: 4px;
        margin: 0 auto 16px;
        border-radius: 2px;
        background: #dbe5eb;
    }

.gg-install-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f1f5f8;
    color: #7b8f9b;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.gg-install-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 121, 175, .28);
    display: block;
    margin: 2px auto 14px;
}

.gg-install-title {
    margin: 0 0 6px;
    font-size: 1.24rem;
    font-weight: 700;
    line-height: 1.25;
    color: #12262f;
}

.gg-install-sub {
    margin: 0 0 14px;
    font-size: .93rem;
    line-height: 1.4;
    color: #5a7180;
}

.gg-install-perks {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    text-align: left;
    display: inline-block;
}

    .gg-install-perks li {
        position: relative;
        padding: 3px 0 3px 26px;
        font-size: .9rem;
        line-height: 1.35;
        color: #33505f;
    }

        .gg-install-perks li::before {
            content: "\2713";
            position: absolute;
            left: 0;
            top: 3px;
            color: #0079af;
            font-weight: 700;
        }

.gg-install-mode {
    display: none;
}

    .gg-install-mode.is-active {
        display: block;
    }

.gg-install-cta {
    display: block;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 15px 18px;
    background: #0079af;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 121, 175, .32);
}

    .gg-install-cta:active {
        transform: translateY(1px);
    }

.gg-install-steps {
    margin: 0;
    padding: 13px 15px;
    border-radius: 14px;
    background: #eef5f9;
    font-size: .92rem;
    line-height: 1.5;
    color: #2d4a59;
    text-align: left;
}

.gg-install-glyph {
    display: inline-flex;
    vertical-align: -4px;
    margin: 0 2px;
}

    .gg-install-glyph svg {
        width: 18px;
        height: 18px;
        fill: #0079af;
    }

.gg-install-later {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border: none;
    background: transparent;
    color: #7b8f9b;
    font-size: .9rem;
    font-family: inherit;
    cursor: pointer;
}

body.gg-noscroll {
    overflow: hidden;
}

@keyframes ggInstallUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes ggInstallFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes ggInstallPop {
    from {
        opacity: 0;
        transform: scale(.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (min-width: 700px) {
    .gg-install {
        align-items: center;
        padding: 20px;
    }

    .gg-install-sheet {
        border-radius: 22px;
        padding: 26px 26px 20px;
        animation: ggInstallPop .24s ease-out;
    }

        .gg-install-sheet::before {
            display: none;
        }
}

@media (prefers-reduced-motion: reduce) {
    .gg-install-sheet,
    .gg-install-scrim {
        animation: none;
    }
}