.vc2-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 24px 40px;
    z-index: 10000;
    overflow: hidden
}

    .vc2-backdrop.hidden {
        display: none !important
    }

.vc2-modal {
    background: #031a3c;
    border: 6px solid #0d4ea6;
    border-radius: 28px;
    padding: 46px 54px 56px;
    width: 100%;
    min-width: 600px;
    max-width: 1200px;
    box-shadow: 0 18px 50px -8px rgba(0,0,0,.55);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: calc(100vh - 100px)
}

.vc2-container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0
}

.vc2-header h1 {
    margin: 0 0 18px;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: #fff
}

.vc2-lead {
    margin: 0 auto 30px;
    max-width: 880px;
    text-align: center;
    line-height: 1.45;
    font-size: 16px;
    color: #fff
}

    .vc2-lead .vc2-readmore {
        color: #fff;
        text-decoration: underline;
        font-weight: 600;
        white-space: nowrap
    }

        .vc2-lead .vc2-readmore:focus,
        .vc2-lead .vc2-readmore:hover {
            outline: none;
            text-decoration: none;
            border-bottom: 2px solid #fff
        }

.vc2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px
}

.vc2-category {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    color: #fff
}

    .vc2-category input {
        width: 22px;
        height: 22px;
        margin: 0;
        appearance: none;
        -webkit-appearance: none;
        border: none;
        background: #07e072;
        border-radius: 6px;
        position: relative;
        cursor: default
    }

        .vc2-category input:checked:after {
            content: "";
            position: absolute;
            top: 3px;
            left: 7px;
            width: 6px;
            height: 12px;
            border: 3px solid #042040;
            border-top: none;
            border-left: none;
            transform: rotate(45deg)
        }

.vc2-btn-accept {
    background: #07e072;
    color: #042040;
    font-weight: 400;
    border: none;
    border-radius: 12px;
    padding: 16px 38px;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,.35);
    transition: background .15s,transform .15s,color .15s
}

    .vc2-btn-accept:hover,
    .vc2-btn-accept:focus {
        background: #0b4090;
        color: #fff
    }

    .vc2-btn-accept:active {
        transform: translateY(1px)
    }

.vc2-tabs {
    display: flex;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    margin: 0;
    height: 50px;
    min-height: 50px
}

.vc2-tab {
    flex: 1;
    background: #0d4ea6;
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    transition: background .15s
}

    .vc2-tab.is-active {
        background: #f8f8f8;
        color: #0a2446;
        font-weight: 600
    }

    .vc2-tab:not(.is-active):hover {
        background: #0b4090
    }

.vc2-tabpanels {
    background: #f8f8f8;
    color: #0a2446;
    border-radius: 0 0 18px 18px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain
}

.vc2-panel {
    padding: 34px 30px 40px
}

    .vc2-panel[hidden] {
        display: none
    }

.vc2-panel-intro {
    text-align: center
}

    .vc2-panel-intro p {
        color: #000;
        font-size: 14px;
        line-height: 1.45;
        max-width: 880px;
        margin: 0 auto 1.2em
    }

.vc2-chip {
    display: inline-block;
    background: #041838;
    color: #fff;
    padding: 12px 30px;
    border-radius: 26px;
    font-weight: 600;
    margin: 0 0 16px;
    font-size: 16px;
}

.vc2-panel-about,
.vc2-panel-about .cookie-info-content {
    font-size: 14px;
    line-height: 1.45
}

    .vc2-panel-about p,
    .vc2-panel-about li,
    .vc2-panel-about td,
    .vc2-panel-about th {
        font-size: 14px;
        line-height: 1.45
    }

    .vc2-panel-about h1,
    .vc2-panel-about h2,
    .vc2-panel-about h3,
    .vc2-panel-about .cookie-info-content h1,
    .vc2-panel-about .cookie-info-content h2,
    .vc2-panel-about .cookie-info-content h3 {
        color: #000 !important
    }

.vc2-table-wrap {
    border: 1px solid #d6dbe2;
    border-radius: 0 0 10px 10px;
    background: #fff;
    overflow: visible
}

.vc2-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: auto
}

    .vc2-table thead th {
        background: #0a5a73;
        color: #fff;
        text-align: left;
        padding: 12px 14px;
        top: 0;
        font-weight: 600;
        white-space: nowrap;
    }

    /* Removed wrapping override for header; ensure all headers stay on one line */
    .vc2-table td,
    .vc2-table th {
        border: 1px solid #d6dbe2;
        padding: 12px 14px;
        vertical-align: top
    }

    .vc2-table tbody tr:nth-child(odd) {
        background: #fff
    }

    .vc2-table tbody tr:nth-child(even) {
        background: #eef6f9
    }

    .vc2-table tbody th {
        font-weight: 600;
        text-align: left;
        background: transparent
    }

    /* Allow wrapping for all body cells (was nowrap for first 3 + row headers) */
    .vc2-table tbody td,
    .vc2-table tbody th[scope=row] {
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .vc2-table thead th:nth-child(3),
    .vc2-table tbody td:nth-child(3) {
        text-align: center
    }

    .vc2-table th:nth-child(4),
    .vc2-table td:nth-child(4),
    .vc2-table td[data-label="Beskrivning"] {
        white-space: normal;
    }

.cookie-info-content a {
    color: #0b62d1;
    text-decoration: underline
}

.vc2-backdrop.vc2-mobile {
    padding: 0;
    overscroll-behavior-y: contain
}

    .vc2-backdrop.vc2-mobile .vc2-modal {
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: calc(20px + env(safe-area-inset-top)) 18px calc(140px + env(safe-area-inset-bottom));
        width: 100%;
        max-width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        min-width: 0;
        display: flex;
        flex-direction: column;
        -webkit-overflow-scrolling: touch;
        overflow: hidden
    }

    .vc2-backdrop.vc2-mobile .vc2-container {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column
    }

    .vc2-backdrop.vc2-mobile .vc2-tabpanels {
        padding-bottom: 180px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch
    }

    .vc2-backdrop.vc2-mobile .vc2-tabs {
        height: auto;
        min-height: 44px
    }

    .vc2-backdrop.vc2-mobile .vc2-tab {
        padding: 14px 10px;
        font-size: 13px;
        line-height: 1.2
    }

    .vc2-backdrop.vc2-mobile .vc2-header h1 {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 14px
    }

    .vc2-backdrop.vc2-mobile .vc2-lead {
        font-size: 15px;
        margin-bottom: 20px;
        line-height: 1.4;
        padding: 0 4px
    }

    .vc2-backdrop.vc2-mobile .vc2-actions {
        margin-bottom: 10px;
        gap: 14px;
        flex-wrap: wrap
    }

    .vc2-backdrop.vc2-mobile .vc2-category {
        font-size: 15px
    }

    .vc2-backdrop.vc2-mobile .vc2-btn-accept {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        border-radius: 0;
        padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
        font-size: 18px;
        box-shadow: 0 -4px 18px rgba(0,0,0,.35);
        z-index: 10001;
        line-height: 1.2
    }

    .vc2-backdrop.vc2-mobile .vc2-category input {
        width: 24px;
        height: 24px
    }

    .vc2-backdrop.vc2-mobile .vc2-table {
        min-width: 0;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0
    }

        .vc2-backdrop.vc2-mobile .vc2-table thead {
            display: none
        }

        .vc2-backdrop.vc2-mobile .vc2-table tbody {
            display: block
        }

        .vc2-backdrop.vc2-mobile .vc2-table tr {
            display: block;
            margin: 0 0 14px;
            border: 1px solid #d6dbe2;
            border-radius: 12px;
            padding: 10px 14px 6px
        }

            .vc2-backdrop.vc2-mobile .vc2-table tr:nth-child(even) {
                background: #eef6f9
            }

            .vc2-backdrop.vc2-mobile .vc2-table tr:nth-child(odd) {
                background: #fff
            }

        .vc2-backdrop.vc2-mobile .vc2-table th[scope=row],
        .vc2-backdrop.vc2-mobile .vc2-table td {
            display: flex;
            border: none;
            background: transparent;
            padding: 6px 0;
            white-space: normal
        }

        .vc2-backdrop.vc2-mobile .vc2-table th[scope=row] {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 4px;
            padding-bottom: 8px;
            border-bottom: 1px solid #e3e7eb
        }

            .vc2-backdrop.vc2-mobile .vc2-table td:before,
            .vc2-backdrop.vc2-mobile .vc2-table th[scope=row]:before {
                content: attr(data-label);
                flex: 0 0 110px;
                font-weight: 600;
                color: #042040;
                padding-right: 8px
            }

    .vc2-backdrop.vc2-mobile .vc2-table-wrap {
        border: none;
        background: transparent
    }

    .vc2-backdrop.vc2-mobile .vc2-table tbody td:nth-child(3),
    .vc2-backdrop.vc2-mobile .vc2-table thead th:nth-child(3) {
        text-align: left;
    }

@media (max-width:480px) {
    .vc2-backdrop.vc2-mobile .vc2-panel-intro p {
        font-size: 14px
    }

    .vc2-backdrop.vc2-mobile .vc2-table td:before {
        flex: 0 0 95px
    }
}

@media (max-width:380px) {
    .vc2-backdrop.vc2-mobile .vc2-modal {
        padding: calc(16px + env(safe-area-inset-top)) 14px calc(130px + env(safe-area-inset-bottom))
    }

    .vc2-backdrop.vc2-mobile .vc2-btn-accept {
        font-size: 17px;
        padding: 15px 20px calc(15px + env(safe-area-inset-bottom))
    }
}

@media (max-height:520px) and (orientation:landscape) {
    .vc2-backdrop.vc2-mobile .vc2-modal {
        padding: calc(12px + env(safe-area-inset-top)) 16px calc(120px + env(safe-area-inset-bottom))
    }

    .vc2-backdrop.vc2-mobile .vc2-header h1 {
        font-size: 20px
    }

    .vc2-backdrop.vc2-mobile .vc2-lead {
        font-size: 14px
    }
}

@media (min-width:600px) and (max-width:820px) {
    .vc2-backdrop.vc2-mobile .vc2-modal {
        padding: calc(28px + env(safe-area-inset-top)) 28px calc(160px + env(safe-area-inset-bottom))
    }

    .vc2-backdrop.vc2-mobile .vc2-tab {
        font-size: 14px
    }
}

.vc2-backdrop.vc2-mobile button:focus,
.vc2-backdrop.vc2-mobile a:focus {
    outline: 2px solid #07e072;
    outline-offset: 2px
}

.vc2-noscript {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 11000;
    padding: 40px;
    overflow: auto;
    font-size: 16px
}

.body.vc-cookie-lock,
body.vc-cookie-lock {
    overflow: hidden
}

.vc2-modal:focus {
    outline: none;
}

.vc2-modal h1 {
    user-select: none;
    -webkit-user-select: none;
}

.vc2-header h1,
.vc2-modal h1 {
    outline: none !important;
    background: transparent;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

    .vc2-header h1:focus,
    .vc2-header h1:focus-visible,
    .vc2-modal h1:focus,
    .vc2-modal h1:focus-visible {
        outline: none !important;
    }

    .vc2-header h1::selection,
    .vc2-modal h1::selection {
        background: transparent;
        color: inherit;
    }

@media (forced-colors: active) {
    .vc2-header h1,
    .vc2-modal h1 {
        outline: none !important;
        forced-color-adjust: none;
    }
}

.vc2-header h1.no-focus-frame {
    pointer-events: none;
}

/* === Table wrapping adjustments === */

/* Keep header cells single-line */
.vc2-table thead th {
    white-space: nowrap !important;
}

/* Force wrapping in all body cells (including any that had nowrap before) */
.vc2-table tbody td,
.vc2-table tbody th[scope=row] {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* If legacy HTML uses the deprecated nowrap attribute, override it */
.vc2-table tbody td[nowrap],
.vc2-table tbody th[nowrap] {
    white-space: normal !important;
}

/* Optional: if very long unbroken strings still overflow, you can also add hyphenation (works mainly for certain languages) */
.vc2-table tbody td,
.vc2-table tbody th[scope=row] {
    hyphens: auto;
}

/* (Only keep this if columns 1–3 must be center or left aligned differently; remove if unnecessary) */
/* .vc2-table tbody td:nth-child(1),
.vc2-table tbody td:nth-child(2),
.vc2-table tbody td:nth-child(3) { text-align: left; } */
/* Mobile: make first row header look like other cells */
.vc2-backdrop.vc2-mobile .vc2-table th[scope=row] {
    font-weight: 400;          /* same as normal text */
    margin: 0;
    padding: 6px 0;            /* align with td */
    border: none;
    border-bottom: none;
    font-size: 14px;           /* match body size */
}

/* Remove extra separation that was created by margin + border */
.vc2-backdrop.vc2-mobile .vc2-table th[scope=row] + td {
    margin-top: 0;
}
