﻿:root {
    --icon-size: 1rem;
    --icon-sm-size: 0.6rem;
    --sidebar-width: 250px;
    --sidebar-margin: calc(var(--sidebar-width) / 4);
    --logo-width: calc(var(--sidebar-width) / 2);
    --logo-height: calc(var(--sidebar-width) / 4);
    --color-grey: #F8F9FB;
    --color-purple: #3A1E84;
    --color-purple-hover: #7146E2;
    --color-purple-faded: #ad9cda;
    --color-light-grey: #DFDFDF;
    --color-very-light-grey: #f0eded;
    --color-table-content: #777777; /*#DFDFDF #777777*/
    --color-table-border: #DFDFDF; /*#DFDFDF #777777*/
    --color-green: #00FFA2;
    --color-light-blue: #29A2AA;
    --color-pink: #FE3D67;
    --color-redish: #FF7979;
    --color-blackish: #222426;
    --color-greyish: #B5B5B5;
    --color-unfocus: #C8C8C8;
/*    --map-color-1: #EFF3FF;
    --map-color-2: #C6DBEF;
    --map-color-3: #9ECAE1;
    --map-color-4: #6BAED6;
    --map-color-5: #4292C6;
    --map-color-6: #2271B5;*/
    --box-border: rgba(27, 27, 27, 0.20);
    --dark-grey: #1B1B1B;
    --color-border-grey: #D9D9D9;
    /*--color-error: #D83B18;*/
    --color-error: #F08B7E;
    --card-title-font-size: calc(14rem / 16);
    --card-content-font-size: calc(50rem / 16);
    --card-footer-font-size: calc(10rem / 16);
    --table-font-size: calc(14rem / 16);
    --h1-font-size: calc(24rem / 16);
    --h2-font-size: calc(20rem / 16);
}

.font-bold {
    font-weight: bold;
}

.rolling-container {
    display: flex;
    flex-direction: row;
    position: relative;
    height: 50px;
    clip-path: inset(0px 0px 0px 0px);
}

.rolling-number {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    top: 0px;
    left: 0px;
    height: 110%;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.rolling {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

@keyframes num1 {
    from {
        top: 0;
    }

    to {
        top: -100%;
    }
}
@keyframes num2 {
    from {
        top: 0;
    }

    to {
        top: -200%;
    }
}
@keyframes num3 {
    from {
        top: 0;
    }

    to {
        top: -300%;
    }
}
@keyframes num4 {
    from {
        top: 0;
    }

    to {
        top: -400%;
    }
}
@keyframes num5 {
    from {
        top: 0;
    }

    to {
        top: -500%;
    }
}
@keyframes num6 {
    from {
        top: 0;
    }

    to {
        top: -600%;
    }
}
@keyframes num7 {
    from {
        top: 0;
    }

    to {
        top: -700%;
    }
}
@keyframes num8 {
    from {
        top: 0;
    }

    to {
        top: -800%;
    }
}
@keyframes num9 {
    from {
        top: 0;
    }

    to {
        top: -900%;
    }
}
@keyframes num0 {
    from {
        top: 0;
    }

    to {
        top: -1000%;
    }
}


select {
    /* A reset of styles, including removing the default dropdown */
    /* Additional resets for further consistency */
    background-color: transparent;
    /*appearance: none;*/
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    /*width: 100%;*/
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    /*border: 1px solid;*/
}


html, body {
    font-family: 'Kollektif Regular';
    margin: 0;
    background-color: var(--color-grey);
    color: #1B1B1B;
    font-size: 16px;
}

h1 {
    font-size: var(--h1-font-size);
    font-weight: 700;
}

h2 {    
    font-size: var(--h2-font-size);
    font-weight: 700;
}

p {
    line-height: 1.4;
}

.page {
    /*    position: relative;
    display: flex;
    flex-direction: row;*/

    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
        "sidebar header"
        "sidebar breadcrumb"
        "sidebar main";
    /*background-color: green;*/
    /*gap: 10px;*/
    /*    justify-items: center;
    align-items: center;*/
    transition: grid-template-columns .2s ease;
}

a {
    text-decoration: none;
    color: #1B1B1B;
}

.breadcrumb {
    grid-area: breadcrumb;
    display: flex;
    flex-direction: row;
    /*background-color: lightskyblue;*/
    margin: 0 1.2rem 0 5vw;
    border-bottom: 1px solid var(--color-light-grey);
    padding: 0.6rem 0;
    font-size: calc(14em / 16);
    font-weight: 400;
    gap: 8px;
}

.breadcrumb-node {
    color: var(--color-table-content);
}

.breadcrumb-leaf {
    color: var(--color-purple);
}

.user-info {
    display: flex;
    flex-direction: column;
    background-color: hsla(0, 100%, 100%, 0);
    /*height: 50px;hsla(222, 27%, 98%, 1) */
    border-radius: 5px;
    padding: 1rem 0.8rem;
    margin-bottom: auto;
    z-index: 100;
    margin-left: .5rem;
}

    .user-info.active {
        position: fixed;
        top: 1.2rem;
        right: 1.2rem;
        filter: drop-shadow(0px 0px 5px hsla(220, 27%, 50%, 0.5));
        transition: background-color 0.2s, filter 0.2s;
        transition-timing-function: ease-out;
        background-color: hsla(0, 100%, 100%, 1);
    }

.user-info-top {
    /*display: grid;*/
    /*grid-template-columns: 1fr 5fr;*/
    /*    grid-template-rows: auto;
    grid-template-areas:
        "avatar toggle"
        "avatar  toggle";*/
    /*column-gap: 1rem;*/
    /*width: 230px;*/
    justify-items: start;
    /*margin-left: 1.5rem;*/
    width: 4.5rem;
    margin-left: auto;
}
.user-name-site-wrapper {
    margin-left: auto;
    margin-bottom: auto;
    padding: 0.8rem;
}
.user-name-site-wrapper.active {
    position: absolute;
    right: calc(1.2rem + 4.5rem + 0.8rem + .5rem + .8rem);
}

.user-menu {
    display: none;
    margin-top: 0.8rem;
    padding-top: 0.3rem;
    border-top: 1px solid #F2F2F2;
    font-size: calc(12em / 16);
}

.user-menu.active {
    display: flex;
    flex-direction: column;
}

.user-name {
    grid-area: username;
    /*background-color: aqua;*/
    font-size: calc(14em / 16);
    font-weight: 700;
}

.user-avatar {
    grid-area: avatar;
    background-color: #D9D9D9;
    width: 24px;
    height: 24px;
    border-radius: 12px;
}

.user-menu-item {
    padding: 0.5rem 0;
}

.user-site-select {
    grid-area: site-select;
    /*background-color: chartreuse;*/
    font-size: calc(12em / 16);
    font-weight: 400;
    color: red;
    cursor: pointer;
}

    .user-site-select select {
        color: var(--color-table-content);
        /*text-align-last: right;*/
        /*direction:rtl;*/
    }
/*option {
    direction: ltr;
}*/
/*    .user-site-select option {
        direction: rtl;
    }*/

.user-info-toggle {
    grid-area: toggle;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /*background-color: lightpink;*/
    cursor: pointer;
    gap: 1rem;
    margin-left: auto;
}


.main-content {
    grid-area: main;
    display: flex;
    flex: 1;
    flex-direction: column;
    /*background-color: bisque;*/
    padding: 1.2rem 5vw 10vh 5vw;
}

.main-header {
    grid-area: header;
    display: flex;
    justify-content: space-between;
    margin: 1.2rem 1.2rem 0 5vw;
    height: 38px;
    /*background-color: fuchsia;*/
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-color: red;*/
    height: calc(var(--sidebar-width) / 2);
}

.logo {
    width: var(--logo-width);
    aspect-ratio: 3.814;
    /*background-color: teal;*/
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../images/complio-logo.svg);
}

.forbidden {
    width: 64px;
    aspect-ratio: 1;
    /*background-color: teal;*/
    background-size: 25px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../images/forbidden.svg);
}

.forbidden-sm {
    margin: 0;
    width: 15px;
    background-size: 13px;
}

.forbidden-container {
    /*background-color: var(--color-light-grey);*/
    border: 2px solid var(--color-error);
    border-radius: 5px;
    padding: 1rem;
    display: grid;
    gap: 1rem;
}

.forbidden-legend {
    display: flex;
    flex-direction: row;
    gap: 0.4rem;
}

.sidebar {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    background-color: white;
    min-width: var(--sidebar-width);
    height: 100vh;
    position: sticky;
    top: 0;
    width: 100%;
    transition: all .2s ease;
    padding: 1.5rem 0px;
}

.collapse-menu-icon {
    width: 1.3rem;
    height: 1.3rem;
    background-color: var(--color-purple);
    border-radius: 50%;
    display: grid;
    place-content: center;
    position: absolute;
    top: 3rem;
    right: -.75rem;
    cursor: pointer;
}

.collapse-menu-icon img {
    height: .7rem;
    transition: transform .2s ease;
    transform: rotate(180deg);
}

.nav-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    margin-top: 2rem;
    margin-bottom: var(--sidebar-margin);
    gap: 1rem;
}

.nav-top {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    margin-left: var(--sidebar-margin);
}

.nav-bottom {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: flex-start;
}

.navbar-onboarding-box {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 5px 5px 10px 5px;
    max-width: 130px;
    width: 100%;
    margin-left: 3.2rem;
    background: white;
}

.onboarding-box-exit {
    text-align: end;
}


.onboarding-box-exit img {
    cursor: pointer;
}

.onboarding-box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.onboarding-box-content p {
    margin-bottom: 0.5rem;
    margin-top: 0;
    font-size: var(--card-title-font-size);
}

.onboarding-box-content button {
    border-radius: 4px;
    background: var(--color-purple);
    border: none;
    color: white;
    padding: 8px 16px;
    cursor: pointer;
}

.authorized-container {
    margin-left: var(--sidebar-margin);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nav-item {
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: var(--card-title-font-size);
    font-weight: 400;
}

    .nav-item a {
        color: #1B1B1B;
    }

        .nav-item a.active {
            color: #3A1E84;
            font-weight: 700;
        }

    .nav-item a > span:last-child {
        opacity: 1;
        transition: opacity .1s ease-in;
    }

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.td-vertical-top{
    vertical-align:top;
}

.nav-link-right {
    justify-content: end;
    flex-direction: row-reverse;
    margin-top: 11px;
}

/*.nav-container .nav-item:nth-child(1) {
    margin-top: 2rem;
}

.nav-container .nav-wrapper-bottom {
    margin-top: auto;
    margin-bottom: var(--sidebar-margin);
}*/

.icon-nav {
    width: var(--icon-size);
    height: var(--icon-size);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5rem; /* uff.. */
    /*background-color: green;*/
    cursor: pointer;
}

.icon {
    width: var(--icon-size);
}

.icon-sm {
    width: var(--icon-sm-size);
    height: var(--icon-sm-size);
    margin-right: 0.3rem;
}

.icon-dashboard {
    background-image: url(../images/icons/icon-dashboard.svg);
}

.nav-link.active .icon-dashboard {
    background-image: url(../images/icons/icon-dashboard-active.svg);
}

.icon-behaviour {
    background-image: url(../images/icons/icon-behaviour.svg);
}

.nav-link.active .icon-behaviour {
    background-image: url(../images/icons/icon-behaviour-active.svg);
}

.icon-sources {
    background-image: url(../images/icons/icon-sources.svg);
}

.nav-link.active .icon-sources {
    background-image: url(../images/icons/icon-sources-active.svg);
}

.icon-audience {
    background-image: url(../images/icons/icon-devices.svg);
}

.nav-link.active .icon-audience {
    background-image: url(../images/icons/icon-devices-active.svg);
}

.icon-setting {
    background-image: url(../images/icons/icon-settings.svg);
}

.nav-link.active .icon-setting {
    background-image: url(../images/icons/icon-settings-active.svg);
}

.icon-organizations {
    background-image: url(../images/icons/icon-organizations.svg);
}

.nav-link.active .icon-organizations {
    background-image: url(../images/icons/icon-organizations-active.svg);
}

.icon-leads {
    background-image: url(../images/icons/icon-leads.svg);
}

.nav-link.active .icon-leads {
    background-image: url(../images/icons/icon-leads-active.svg);
}

.icon-leadmap {
    background-image: url(../images/icons/icon-leadmap.svg);
}

.icon-reports {
    background-image: url(../images/icons/icon-reports.svg)
}

.nav-link.active .icon-leadmap {
    background-image: url(../images/icons/icon-leadmap-active.svg);
}

.icon-logout {
    background-image: url(../images/logout-icon.svg);
}

.icon-support {
    background-image: url(../images/support-icon.svg);
}

.icon-preferences {
    background-image: url(../images/preferences-icon.svg);
}

.icon-dots {
    background-image: url(../images/dots-icon.svg);
    align-self: flex-start;
}

.icon-delete {
    background-image: url(../images/delete-icon.svg);
}

.icon-arrow {
    background-image: url(../images/arrow-icon.svg);
    transition: transform 0.2s;
    transition-timing-function: ease-in-out;
    transform: rotate(0deg);
}

.icon-arrow.active {
    transition: transform 0.2s;
    transition-timing-function: ease-in-out;
    transform: rotate(90deg);
}

/* #region - Icon button with hover tooltip */
.icon-wrapper {
    position: relative;
    display: inline-block;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
}

.handle {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.icon-button--bordered {
    border: 1px solid;
    color: #0D0D0D;
}

.icon-button--blue {
    color: var(--color-purple);
}

.icon-button--red {
    color: var(--color-redish);
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.icon-wrapper:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
/* #endregion - Icon button with tooltip */

/*@media (max-width: 1200px){
    :root {
        --sidebar-width: 100px;
        --sidebar-margin: calc(var(--sidebar-width) / 4);
        --logo-width: calc(var(--sidebar-width) / 1.2);
    }

    .page {
        grid-template-columns: 100px 1fr;
    }

    .sidebar {
        width: var(--sidebar-width);
    }

    .nav-item a > span:last-child {
        opacity: 0;
        animation: displayNone ease both;
        animation-delay: .2s;
    }

    .nav-item {
        margin-left: var(--sidebar-margin);
        margin-right: var(--sidebar-margin);
        justify-content: center;
    }

    .icon-nav {
        position: relative;
    }
    .icon-nav::before {
        content: attr(data-name);
        opacity: 0;
        position: absolute;
        left: 100%;
        top: 100%;
        background-color: var(--color-grey);
        padding: .2rem;
        border-radius: 5px;
        transition: opacity .2s ease-in;
    }
    .icon-nav:hover::before {
        opacity: 1;
    }
}
*/
/* med klasse */
.page.menu-collapsed {
    grid-template-columns: 100px 1fr;
}

.page.menu-collapsed .sidebar {
    min-width: 100px;
    width: 100px;
}

.page.menu-collapsed .logo-container {
    height: calc(100px / 2);
}

.page.menu-collapsed .logo {
    width: calc(100px / 1.2);
}

.page.menu-collapsed .nav-item a > span:last-child {
    opacity: 0;
    display: none;
    /*animation: displayNone ease both;*/
    /*animation-delay: .2s;*/
}

.page.menu-collapsed .nav-item {
    margin-left: calc(100px / 4);
    margin-right: calc(100px / 4);
    justify-content: center;
}

.page.menu-collapsed .collapse-menu-icon img {
    transform: rotate(0deg);
}
.page.menu-collapsed .icon-nav {
    position: relative;
}

.page.menu-collapsed .icon-nav::before {
    content: attr(data-name);
    opacity: 0;
    position: absolute;
    left: 100%;
    top: 100%;
    background-color: var(--color-grey);
    padding: .2rem;
    border-radius: 5px;
    transition: opacity .1s ease-in;
}

.page.menu-collapsed .icon-nav:hover::before {
    opacity: 1;
}

.page.menu-collapsed .navbar-onboarding-box {
    visibility: hidden;
}

/* med klasse - the end */
.page.menu-collapsed .nav-top, .page.menu-collapsed .authorized-container {
    margin-left: 0;
    align-items: center;
}

/* med klasse - the end */
.date-range-form {
    /*background-color: red;*/
    display: none;
    justify-content: end;
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    z-index: 10;
}

.modal-container .date-range-form {
    justify-content: start;
}

.modal-scroll-container {
    overflow-y: auto;
    
    max-height: 40vh;
}

.modal-scroll {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    padding-right: 0.3rem;
}

.modal-section {
    background-color: #f2f1f3;
    padding: 1rem;
    border-radius: 5px;
}

    .modal-section input {
        padding: 6px;
    }

    .modal-section .form-element {
        grid-template-columns: 1fr auto;
        color: #9c9c9c;
    }

.modal-section-header {
    margin-bottom: 1rem;
}

.modal-section-body {
    display: flex;
    flex-direction: column;
    row-gap: 0.3rem;
}

.modal-section-footer {
    margin-top: 1rem;
    display: flex;
    justify-content: right;
    gap: 0.5rem;
}

.modal-header, .modal-subheader {
    text-align: center;
}
/* custom scrollbar - start */

/* width */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

/* Track */
::-webkit-scrollbar-track {
    background: white;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-grey);
    height: 78px;
    border-radius: 2px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-purple);
    }

/* custom scrollbar - end */

.date-container {
    margin-left: auto;
    position: relative;
}

.date-container > div:first-child {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: default;
}

.date-container.active .date-range-form {
    display: flex;
}

.date-container > div:first-child > img {
    width: .5rem;
    transition: transform .2s ease;
}

.date-container.active > div:first-child > img {
    transform: rotate(90deg);
}
.daterange-select {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: end;
    justify-self: end;
    padding: 6px 11px;
    background-color: #EAEAEA;
    border-radius: 5px;
    /*margin-bottom: 27px;*/
}

.all-forms-select {
    align-self: center;
}

.daterange-adapted-dates {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.daterange-adapted-dates.close {
    display: none;
}

.daterange-adapted-dates input[type=date] {
    width: 100px;
    /*width: 100%;*/
    border: 1px solid #C5C5C5;
    border-radius: 4px;
    padding: 7px 8px;
    font-family: 'Kollektif Regular';
    font-weight: 700;
    color: #B5B5B5;
}

.daterange-adapted-dates .button {
    display: inline-block;
    margin-left: .5rem;
}

.daterange-adapted-dates .button:focus {
    color: white;
}

.main-content-option-bar {
    display: flex;
    gap: 1rem;
    /*align-items: center;*/
    margin-bottom: 27px;
    justify-content: flex-end;
}

.cards {
    display: flex;
    flex-direction: row;
    /*background-color: red;*/
    justify-content: space-between;
}

.leads-cards {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto;
}

.leads-cards .card {
    cursor: pointer;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    /*background-color: white;*/
    border-radius: 5px;
    min-width: 20%;
    height: 136px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.card-indicator {
    position: absolute;
    top: 20px;
    left: 0;
    background-color: red;
    width: 10px;
    height: 10px;
    border-radius: 5px;
}

.card-title {
    font-size: var(--card-title-font-size);
    font-weight: 400;
    text-align: center;
}

.card-subtitle {
    font-size: var(--card-title-font-size);
    font-weight: 400;
    color: var(--color-table-content);
}

.card-content {
    font-size: var(--card-content-font-size);
    color: var(--color-purple);
    line-height: 61px;
}

.card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--card-footer-font-size);
    border-radius: 5px;
    width: 50px;
    height: 16px;
}

.card-footer-positive {
    background-color: #B8FFC7;
    color: #1E8465;
}

.card-footer-negative {
    background-color: #FFB8B8;
    color: #D83B18;
}

.audience-grid {
    display: grid;
    grid-template-columns: 40fr 20fr 1fr 20fr 1fr 20fr;
    grid-template-rows: auto;
    grid-template-areas:
        "graph desktop . mobile . tablet";
    /*background-color: green;*/
    /*gap: 10px;*/
    height: 300px;
    justify-items: center;
    align-items: center;
}

    .audience-grid .card {
        /*background-color: var(--color-grey);*/
        /*background-color: red;*/
        width: 100px;
    }

.audience-graph {
    grid-area: graph;
    /*background-color: red;*/
    height: 90%;
}

    .audience-graph .chart-container {
        /*background-color: cyan;*/
        height: 100%;
    }

.sources-section {
    background-color: white;
    padding: 1rem;
    border-radius: 5px;
}

.sources-section .site-grid {
    /*display: flex;*/
}

.site-cards {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
}

.site-cards-expander {
    display: grid;
    grid-template-rows: .5fr;
    overflow: hidden;
    transition: grid-template-rows 1s;
}

.site-cards-expander-content {
    min-height: 0;
    transition: visibility 1s;
}

.site-cards-expander.expanded {
    grid-template-rows: 1fr;
}

.site-cards-expander.expanded .site-cards-expander-content {
    visibility: visible;
}

.site-grid {

}

.site-grid .card {
    /*background-color: var(--color-grey);*/
    /*background-color: red;*/
    /*width: 100px;*/
    min-width: 22%;
}

/* Vertical divider using a pseudo-element */
.site-grid .card::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    height: 71%;
    width: 1px;
    background-color: var(--color-light-grey);

    /*    height: 100px;
    margin: 0 10px;*/
}

.card.no-divider::after {
    display: none;
}

.sources-chart-legend-difference.background-color {
    background-color: #B8FFC7;
    padding: .125rem .5rem;
    border-radius: 5px;
}

.site-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px
}

    .site-card-header .card-indicator {
        width: 10px;
        height: 10px;
        border-radius: 5px;
        position: relative;
        top: 0;
        left: 0;
    }


    .card-custom-checkbox{
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.card-custom-checkbox input {
    display: none;
}

.card-custom-checkbox span {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-purple);
    border-radius: 4px;
    background-color: white;
    box-sizing: border-box;
}

.card-custom-checkbox input:checked + span::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 5px;
    border: solid var(--color-purple);
    border-width: 0 2px 2px 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg) scale(-1, 1);
    box-sizing: border-box;
}

.vsep {
    background-color: var(--color-light-grey);
    /*margin-left: 10%;*/
    height: 70%;
    width: 1px;
    margin: auto;
}
 
.site-progress-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 24px;
    margin-top: 2rem;
    background-color: #e0e0e0; /* Light gray background for unused progress */
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-segment {
    height: 100%;
    position: relative;
    transition: filter 0.2s ease;
}

.direct-segment {
    background-color: var(--color-green);
}

.facebook-segment {
    background-color: var(--color-purple); 
}

.google-segment {
    background-color: var(--color-pink); 
}

.linkedIn-segment {
    background-color: #0a66c2;
}

.instagram-segment {
    background-color: #833AB4;
}

.email-segment {
    background-color: darkorange;
}

.tiktok-segment {
    background-color: #080808;
}

.other-segment {
    background-color: var(--color-light-blue);
}

.hover-label {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -100%);
    padding: 5px 10px;
    background-color: #fff;
    color: #1B1B1B;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    display: none;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 100px;
    align-items: center;
    justify-content: space-between;
}

.hover-label-box {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hover-label-name {
    font-weight: bold; /* Bold text for segment name */
    font-size: 1.25rem;
}

.hover-label-percent {
    color: #888; /* Grey color for percentage */
    font-weight: normal;
    font-size: 1rem;
}

.site-graph {
    grid-area: graph;
    /*background-color: red;*/
    height: 300px;
}

    .site-graph .chart-container {
        /*background-color: cyan;*/
        height: 100%;
    }

.site-direct {
    /*grid-area: direct;*/
}

    .site-direct .card-indicator {
        background-color: var(--color-green);
    }

.site-facebook {
    /*grid-area: facebook;*/
}

    .site-facebook .card-indicator {
        background-color: var(--color-purple);
    }

.site-google {
    /*grid-area: google;*/
}

    .site-google .card-indicator {
        background-color: var(--color-pink);
    }

.site-linkedIn {
    /*grid-area: linkedIn;*/
}

    .site-linkedIn .card-indicator {
        background-color: #0a66c2;
    }

.site-instagram {
    /*grid-area: instagram;*/
}

    .site-instagram .card-indicator {
        background-color: #833AB4;
    }

.site-email {
    grid-area: email;
}

    .site-email .card-indicator {
        background-color: darkorange;
    }

.site-tiktok {
    grid-area: tiktok;
}

    .site-tiktok .card-indicator {
        background-color: #080808;
    }

.site-others {
    /*grid-area: others;*/
}

    .site-others .card-indicator {
        background-color: var(--color-light-blue);
    }

.site-vsepu {
    grid-area: vsepu;
}

.site-hsep {
    grid-area: hsep;
    background-color: var(--color-light-grey);
    margin: auto;
    width: 80%;
    height: 1px;
}

.site-vsepl {
    grid-area: vsepl;
}

.content-container-header {
    display: flex;
    align-items: center;
    margin-top: 49px;
    column-gap: 0.5rem;
    /*background-color: red;*/
}

.content-container-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.content-container {
    /*height: 300px;*/
    background-color: white;
    border-radius: 5px;
    padding: 1.5em 0.5rem 1.5rem 0;
}

    .content-container .content-header {
        padding: 0 1em 0 1.5rem;
        margin-bottom: 2rem;
    }

    .content-container .content-footer {
        padding: 0 1em 0 1.5rem;
        margin-top: 2rem;
    }

.content-scroll-container {
    max-height: 50vh;
    overflow-y: auto;
    padding: 0 1em 0 1.5rem;
}

/*    .content-container .table .th-row {
        background-color: white;
    }*/

.content-container .table th {
    background-color: white;
    position: sticky;
    top: 0;
}

.dashboard-now-grid {
    display: grid;
    background-color: var(--color-light-grey);
    grid-template-columns: 1fr 2fr 2fr;
    height: 100%;
    column-gap: 1px;
}

.dashboard-now-grid > div {
    background-color: white;
}

.dashboard-now-views-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-now-table-container {
    padding: 0 50px;
}

.dashboard-now-chart-container {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-areas:
        "graph legend";
    align-items: center;
}

.dashboard-now-chart-legend {
    grid-area: legend;
    /*background-color: red;*/
    display: grid;
    grid-template-columns: 12px 1fr 30%;
    grid-column-gap: 10px;
    width: 80%;
    height: 50%;
    align-items: center;
}

.dashboard-now-chart-legend-item {
    display: flex;
    flex-direction: row;
    padding: 10px 0;
}

.dashboard-now-chart-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    /* color is set from code */
}

.dashboard-now-chart-legend-title {

}

.dashboard-now-chart-legend-difference {
    background-color: var(--color-grey);
    font-size: calc(10rem / 16);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    height: 17px;
}

.dashboard-status-grid {
    display: grid;
    background-color: var(--color-light-grey);
    grid-template-columns: 1fr 1fr;
    height: 100%;
    column-gap: 1px;
}

    .dashboard-status-grid > div {
        background-color: white;
    }

.dashboard-learnings-list {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
}

.learnings-list-item {
    display: grid;
    grid-template-columns: 1fr 120px 40px;
    grid-template-areas:
        "title button icon"
        "text button icon";
    border-bottom: 1px solid var(--color-light-grey);
    padding: 1rem 0;
    gap: 0.5rem;
    /*background-color: red;*/
}

    .learnings-list-item:first-child {
        padding-top: 0;
    }

.learnings-list-item-title {
    grid-area: title;
    font-size: calc(18rem / 16);
    font-weight: 700;
}

.learnings-list-item-text {
    grid-area: text;
    font-size: calc(14rem / 16);
    font-weight: 400;
    color: var(--color-table-content);
}

.learnings-list-item-button {
    grid-area: button;
    align-self: center;
}

.learnings-list-item-icon {
    grid-area: icon;
    width: var(--icon-size);
    height: var(--icon-size);
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    justify-self: center;
    align-self: center;
}


.dashboard-status-header-dot {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    border-radius: 8px;
}

.dashboard-status-header-inner-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
}

.dashboard-status-header-text {
    padding: 0.2rem 0.4rem;
    border-radius: 5px;
    font-size: var(--card-footer-font-size);
    font-weight: 700;
    background-color: white;
}

.header-dot-positive {
    animation-name: dot-positive;
    animation-duration: 0.8s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.header-dot-negative {
    animation-name: dot-negative;
    animation-duration: 0.8s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes dot-positive {
    0% {
        background-color: hsla(158, 100%, 50%, 0.5);
    }

    50% {
        background-color: hsla(158, 100%, 50%, 0);
    }

    100% {
        background-color: hsla(158, 100%, 50%, 0.5);
    }
}

@keyframes dot-negative {
    0% {
        background-color: hsla(11, 80%, 47%, 0.5);
    }

    50% {
        background-color: hsla(11, 80%, 47%, 0);
    }

    100% {
        background-color: hsla(11, 80%, 47%, 0.5);
    }
}

.header-inner-dot-positive {
    background-color: hsla(158, 100%, 50%, 1);
}

.header-inner-dot-negative {
    background-color: hsla(11, 80%, 47%, 1);
}

.header-text-positive {
    border: 1px solid hsla(158, 100%, 50%, 1);
}

.header-text-negative {
    border: 1px solid hsla(11, 80%, 47%, 1);    
}

.chart-container {
    display: inline-block;
    position: relative;
    width: 100%;    
    /*background-color: red;*/
}

.behaviour-chart {
    height: 270px;
}

.dashboard-now-chart {
    height: 183px;
}

.toggle-show-all {
    margin-top: 16px;
    display: flex;
    justify-content: end;
}

.include-specific-params {
    margin-top: 16px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table tbody tr:hover {
        background-color: var(--color-grey);
    }

th, td {
    padding: 8px 8px 8px 0;
    text-align: left;
    font-size: var(--table-font-size);
    /*width: 33%;*/
}

.percent-33 th, .percent-33 td {
    width: 33%;
}

thead th {
    padding: 8px 8px 8px 0;
    font-weight: 700;
}

tbody td {
    border-top: 1px solid var(--color-table-border);
    color: var(--color-table-content);
    font-weight: 400;
}

.login-container {
    background-color: var(--color-grey);
    display: flex;
    flex-direction: column;
    height: 100vh;
    align-items: center;
}

/*.login-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;*/
    /*background-color: red;*/
    /*height: calc(var(--sidebar-width) / 2);
}*/

.login-logo {
    margin: 55px 0;
    min-width: var(--logo-width);
    aspect-ratio: 3.814;
    /*background-color: teal;*/
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../images/complio-logo.svg);
}

.login-main {
    background-color: white;
    /*    width: 50vw;
    min-width: 600px;*/
    width: 850px;
    border: 1px solid #EAEAEA;
    box-shadow: 0px 4px 111px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.login-content {
    display: flex;
    flex-direction: column;
    height: 430px;
    padding: 85px 155px 0 135px;
    row-gap: 14px;

}

.modal-header {
    font-size: calc(35em / 16);
    font-weight: 700;
    line-height: 42px;
    color: var(--color-purple);
}

.modal-subheader {
    color: var(--color-blackish);
    margin-bottom: 20px;
    line-height: 1.5rem;
}

.campaign-list-wrapper {
    
}

.campaign-list-content {
    display: none;
    font-size: 14px;
    border: solid #B5B5B5 1px;
    border-radius: 5px;
    max-height: 150px;
    overflow: auto;
}

.campaign-list-content::-webkit-scrollbar {
    display: none;
}

.campaign-list-element {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    cursor: pointer;
}

.campaign-list-element label {
    cursor: pointer;
}

.campaign-list-element:hover {
    background-color: #E3E3E3;
}

.campaign-list-toggle {
    display: flex;
    flex-direction: row;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    width: fit-content;
    user-select: none;
}

.campaign-list-content.active {
    display: block;
}

.campaign-list-modal {
    visibility: hidden;
    position: absolute;
    left: 65.5%;
    margin-bottom: 100px;
    width: 160px;
    background-color: white;
    border: 1px #B5B5B5 solid;
    text-align: center;
    height: 75px;
    cursor: default;
    align-content: center;
    border-radius: 10px;
}

.campaign-list-modal-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.campaign-list-modal.active {
    visibility: visible;
}

.form-campaign-element {
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.form-campaign-element-title {
    font-size: 1rem;
    color: var(--color-purple);
    font-weight: 700;
}

.form-campaign-element-value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    position: relative;
}

.invalid-input-alert {
    font-style: italic;
    font-size: 0.8rem;
    font-weight: 400;
    color: red;
    position: absolute;
    top: -50%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.invalid-input-alert.show {
    opacity: 1;
}

.form-campaign-element-value-description {
    font-style: italic;
    font-size: 0.8rem;
    font-weight: 400;
    color: #B5B5B5;
}

.form-element {
    display: grid;
    grid-template-columns: 3fr 1fr;
    column-gap: 0.5rem;
    row-gap: 0.3rem;
    align-items: center;
}

    .form-element.one-row {
        grid-template-columns: 1fr;
    }

    .form-element.this-or-that {
        grid-template-columns: auto auto auto 1fr auto;
        align-items: center;
        margin-bottom: 2rem;
    }

        .form-element.this-or-that input[type=number] {
            width: 2rem;
            padding: 4px 5px;
        }

        .this-or-that-center {
            justify-self: center;
            color: var(--color-purple);
        }

    .form-element.col-2 {
        grid-template-columns: 150px 1fr;
    }

    .form-element.col-3 {
        grid-template-columns: 150px 1fr auto;
    }

        .form-element.copy-states {
            grid-template-columns: 1fr auto;
        }

        .form-element.copy-states > label {
            grid-column: 1 / -1;
        }

        .form-element.copy-states > .form-element {
            grid-template-columns: auto 1fr;
            align-items: center;
            grid-column: 1 / -1;
            margin-top: .5rem;
        }

        .form-element.copy-states > .form-element .button {
            grid-column: 1/-1;
        }

        .form-element.copy-states .form-button {
            margin-top: .25rem;
            grid-column: 1/-1;
            width: fit-content;
            min-width: 200px;
        }
        .form-element.input-delete-row {
            grid-template-columns: 1fr 2.9rem;
            column-gap: 0;
        }
        .form-element.input-delete-row .form-button-delete {
            margin-left: .5rem;
        }

.form-fw {
    grid-column: 1/-1;
}

.form-input {

}

.modal-textarea {
    resize: none;
    height: 100px;
    font-size: 14px;
}

.modal-textarea:focus {
    border: 1px solid var(--color-purple);
    border-radius: 4px;
    color: var(--color-blackish);
    outline: none;
}

.form-separator {
    background-color: var(--color-purple);
    height: 1px;
    margin: 2rem 0 0.5rem 0;
}

.login-remember-me {
    margin-top: 10px;
}

.login-footer {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}

    .login-footer a {
        color: var(--color-greyish);
        font-size: calc(12em / 16);
    }

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-purple);
    color: white;
    font-weight: 400;
    border-radius: 4px;
/*    min-width: 200px;
    height: 38px;*/
    border: 0;
    cursor: pointer;
    font-family: 'Kollektif Regular';
    position: relative;
    padding: 12px 24px;
    gap: 8px;
}

.button:not(.button-secondary):hover {
    background-color: var(--color-purple-hover)
}

.form-button {
    min-width: initial;
    padding: 0 3rem;
}

.form-button-delete {
    min-width: unset;
    /*aspect-ratio: 1/1;*/
    /*width: 100%;*/
}

button:disabled,
button[disabled] {
    background-color: var(--color-greyish);
    border: 1px solid var(--color-purple);
    cursor: unset; /*not-allowed;*/
    opacity: .2;
    color: initial;
}

.button-new-indicator {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-green);
    width: 1.6rem;
    height: 1.6rem;
    right: -0.8rem;
    top: -0.8rem;
    border-radius: 0.8rem;
    border: 1px solid var(--color-purple);
    color: var(--color-purple);
    z-index: 500;
}

::file-selector-button {
    /*    display: flex;
    flex-direction: row;
    justify-content: center;*/
    align-items: center;
    border: 1px solid var(--color-purple);
    /*background-color: var(--color-purple);*/
    background-color: white;
    color: var(--color-purple);
    font-weight: 400;
    border-radius: 5px;
    min-width: 0;
    height: 26px;
    font-size: calc(12rem / 16);
    padding: 0 11px;
    /*border: 0;*/
    cursor: pointer;
}

.button-secondary {
    border: 1px solid var(--color-purple);
    background-color: white;
    color: var(--color-purple);
    gap: .5rem;
}

.button-sm {
    min-width: 0;
    height: unset;
    font-size: calc(12rem / 16);
    padding: 8px 16px;
    gap: 8px;
}

.button-icon {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    background-color: transparent;
    border: 0;
    min-width: 30px;
    width: 30px;
    height: 30px;
}

.button-icon-s {
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    background-size: 1rem;
}

.button.inactive {
    background: var(--color-light-grey);
    color: var(--dark-grey);
}

.icon-edit {
    background-image: url("../images/icons/icon-edit.svg");
}

.icon-close {
    background-image: url("../images/icons/icon-close.svg");
}

.button-delete {
    background-image: url("../images/delete-icon.svg");
}

.button-copy {
    background-image: url("../images/copy-icon.svg");
}

.button-black-border:disabled, .button-black-border[disabled] {
    background-color: transparent;
}

.button-black-border {
    border: solid 1px var(--dark-grey);
    padding: .5rem 1.5rem;
    background-color: transparent;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.button-s {
    min-width: unset;
    width: fit-content;
    padding: .5rem 1rem;
}

.form-container {
    display: flex;
    flex-direction: column;
    /*width: 100%;*/
    /*background-color: red;*/
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
}

.form-label {
    /*color: var(--color-table-content);*/
}

.toggle-switch-container {
    position: relative;
    display: inline-flex;
    width: 70px;
    height: 28px;
}

.toggle-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-checkbox:checked + .slider {
    background-color: var(--color-purple-faded);
}

.toggle-checkbox:focus + .slider {
}

.toggle-checkbox:checked + .slider::before {
    -webkit-transform: translateX(42px);
    -ms-transform: translateX(42px);
    transform: translateX(42px);
    background-color: var(--color-purple);
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-light-grey);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--color-greyish);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

/* #region password visability toggle */
.password-input-visibility {
    position: relative;
}

.password-input-visibility > input {
    width: calc(100% - 4 * 18px) !important;
    padding: 11px calc(3*17px) 11px 17px !important;
}

.password-input-visibility>div {
    position: absolute;
    top: 19%;
    right: 18px;
    cursor: pointer;
}

/*.password-input-visibility > div > img.show {
    display: block;
}

.password-input-visibility > div > img {
    display: none;
}*/

/* #endregion */

.form-text {
    color: var(--color-table-content);
}

.form-select {
    /*background-color: red;*/
    width: 100%;
    border: 1px solid #C5C5C5;
    border-radius: 4px;
    position: relative;
}

.form-select > select {
    padding: 12px 16px;
    width: 100%;
    appearance: none;
    display: inline-block;
    border-radius: 4px;
}

.form-select .button-black-border {
    padding: 12px 16px;
    border: none;
    width: 100%;
    justify-content: flex-start;
}

.form-select .button-black-border img {
    display: none;
}

.form-select:after {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background-image: url(../images/arrow-icon.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 18px;
    transform: rotate(90deg) translateX(-50%);
    pointer-events: none;
}

.align-right {
    margin-left: auto;
}

.fit-content {
    width: fit-content;
}

.flex {
    display: flex;
}

.flex-space-between {
    display: flex;
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.underscore {
    text-decoration: underline;
}

.form-button-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 1rem;
}

input[type=text], input[type=email], input[type=password], textarea, input[type=number], input[type=search] {
    width: calc(100% - 2 * 18px);
    /*width: 100%;*/
    border: 1px solid var(--color-unfocus);
    border-radius: 4px;
    padding: 12px 16px;
    font-family: 'Kollektif Regular';
    font-weight: 700;
    color: #B5B5B5;
    /*color: red;*/
}

.modal-section input, .modal-section textarea {
    padding: 6px;
    width: auto;
    font-weight: 400;
}

input[type=search] {
    width: initial;
    transition: background 1s ease;
    background-image: url('/images/input-search-icon.svg');
    background-repeat: no-repeat;
    background-size: .75rem;
    background-position: right 17px center;
}

input[type=search]:active,
input[type=search]:focus,
input[type=search]:not(:placeholder-shown):hover{
    background-image: none;
}

input:focus {
    border: 1px solid var(--color-purple);
    border-radius: 4px;
    color: var(--color-blackish);
    outline: none;
}

.text-danger {
    /*margin: 10px;*/
    color: red;
}

/* custom checkbox start */

.checkbox-container {
    display: flex;
    justify-content: start;
    align-items: center;
    /*display: block;*/
    position: relative;
    padding-left: 35px;
    /*margin-bottom: 10px;*/
    cursor: pointer;
    /* font-size: 22px;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*background-color: red;*/
    height: 22px;
}

.checkbox-container.label-left{
    padding-left: 0;
    padding-right: 35px;
}

    /* Hide the browser's default checkbox */
    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    /*background-color: #eee;*/
    border: 1px solid #222426;
    border-radius: 4px;
}

.checkbox-container.label-left .checkmark {
    left:unset;
    right: 0;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
    background-color: #B5B5B5;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: var(--color-purple);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    background-image: url('/images/icons/icon-checkmark.svg');
    background-size: contain;
    width: .8rem;
    height: .8rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.modal .checkbox-container {
    width: fit-content;
}

.select-border,
.modal select {
    /*border: 1px solid #C5C5C5;*/
    border-radius: 4px;
    font-size: 14px;
}

select:invalid {
    color: #B5B5B5;
}

.select-border.dark {
    border-color: var(--color-blackish);
}

/* custom checkbox end */

/* #region custom radio button start */
.radio-btn-label {
    display: flex;
    gap: .5rem;
    align-items: center;
    cursor: pointer;
}

.radio-btn-label.reverse {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.radio-btn-container {
    display: flex;
    position: relative;
}

.radio-btn-container input[type=radio]:checked + .radio-dot {
    opacity: 1;
}
input[type=radio] {
    -webkit-appearance: none;
    border: 1px solid #222426;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    margin: 0;
    cursor: pointer;
}
.radio-dot {
    opacity: 0;
    width: 60%;
    height: 60%;
    background-color: var(--color-purple);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: opacity .2s ease;
}
.radio-btn-label:hover .radio-dot {
    opacity: .2;
}
/* #endregion custom radio button end */


.popup-menu-anchor {
    position: relative;
}

.popup-menu {
    z-index: 200;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    padding: 0.1rem 0.75rem;
    background: white;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: var(--table-font-size);
    font-weight: 400;
    color: #1B1B1B;
   /* line-height: 1.1rem;*/
   /*background-color: red;*/    
}

.popup-menu-item {
    border-bottom: 1px solid var(--color-table-border);
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    justify-content: start;
    cursor: pointer;
    white-space: nowrap;
}

.popup-menu-item:last-child {
    color: var(--color-error);
    border-bottom: none;
    margin-top: 0.7rem;
}

.popup-active {
    display: flex;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(27, 27, 27, 0.20);
    z-index: 1000;
}

/*.modal input {
    height: 43px;
}*/

.modal-active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-container {
    display: flex;
    flex-direction: column;
    padding: 5%;
    background-color: white;
    width: 40%;
    row-gap: 1rem;
    border-radius: 8px;
    /*min-width: fit-content;*/
    height: 75%;
    overflow-y: scroll;
}

.modal-button-container {
    display: flex;
    column-gap: 12px;
    margin-top: 2rem;
    justify-content: center;
}
.modal-message .modal-subheader {
    margin-bottom: 0;
}


.modal-confirmation {
    height: unset;
}

/*#region Toast notification*/
.toast-container {
    display: flex;
    align-items: center;
    border-radius: 8px;
    min-height: 125px;
    max-width: 400px;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding-left: 3rem;
    width: 100%;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .toast-container.fade-in {
        opacity: 1;
        transform: translateY(0);
    }

    .toast-container.fade-out {
        opacity: 0;
        transform: translateY(20px);
    }

    .toast-container img {
        width: 7%;
    }

    .toast-container p {
        line-height: 2rem;
    }

    .toast-container.success {
        background-color: #41CB71;
    }

    .toast-container.error {
        background-color: #DC143C;
    }

/*@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeout {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}*/
/*#endregion*/

.audience-chart-legend-difference,
.sources-chart-legend-difference {
    background-color: #ffffff;
    font-size: calc(10rem / 16);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    height: 17px;
    width: 2.5rem;
}

.column-mapping-container {
    display: flex;
    /*grid-template-columns: repeat(auto-fill, 300px);*/
    /*grid-template-rows: auto;*/
    gap: 1rem;
    padding: 2rem 0;
    align-items: center;
    /*background-color: red;*/
    overflow-x: auto;
}

.column-mapping-container .select-column {
    padding: 0.5em;
}

.column-mapping-container .select-column .FromColumnHeader {
    text-align: center;
    width: 100%;
    padding-bottom: 0.5em;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.20);
}

.column-mapping-container .select-column select {
    margin-top: 0.5em;
}

.date-format-select-container {
    display: flex;
    width: 100%;
    padding: 0.5em;
    gap: 1em;
    align-items: center;
}

.toggle-show-all a {
    cursor: pointer;
}

.modal-progress-container {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
/*    grid-template-areas:
        "title button icon"
        "text button icon";*/
    gap: 1rem;
    padding: 2rem 0;
    align-items: center;
}

.progress-container {
    height: 6px;
    width: 100%;
    border: 1px solid var(--color-purple);
    border-radius: 3px;
    clip-path: inset(0px 0px 0px 0px round 3px);
}

.progress-bar {
    height: 200%;
    background-color: var(--color-purple);
    width: 0;
    transition: width 1s;
}

.organization-select {
    background-color: #EAEAEA;
    padding: 6px 11px;
    border-radius: 5px;
    margin-right: 2rem;
}

.organization-select select {
    width: 100%;
    /*margin-right: 1rem;*/
    text-overflow: ellipsis;
}


/* nyt media */
.dashboard-now-grid .vsep-container {
    display: none;
}


@media (max-width: 1024px) {
    .audience-grid {
        grid-template-columns: 1fr auto;
        grid-template-rows: 1fr auto 1fr auto 1fr;
        grid-template-areas:
            "graph desktop"
            "graph ."
            "graph mobile"
            "graph ."
            "graph tablet";
        min-height: calc(136px * 3 + 1px * 2);
    }

    .audience-grid .vsep {
        height: 1px;
        width: 100%;
    }

    .dashboard-now-grid {
        grid-template-columns: 1fr 2fr;
        grid-template-rows: repeat(3, auto);
    }

    .dashboard-now-views-container {
/*        grid-column: 1;
        grid-row: 1/4;*/
    }

    .dashboard-now-table-container {
        grid-column: 1/4;
        grid-row: 3;
    }

    .dashboard-now-chart-container {
        grid-column: 2/4;
    }

    .dashboard-now-grid > .vsep-container {
        display: block;
        height: 1px;
        width: 100%;
        grid-column: 1/4;
        grid-row: 2;
        padding: 1.5rem 0;
    }

    .dashboard-now-grid .vsep {
        background-color: var(--color-light-grey);
        width: 100%;
        /*margin: 1rem 0;*/
/*        margin: unset;
        margin-left: auto;*/
    }

    .site-grid {
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: 1fr repeat(3, auto);
        grid-template-areas:
            "graph graph graph"
            "direct vsepu facebook"
            "hsep hsep hsep"
            "google vsepl others";
        min-height: calc(300px + 136px * 2 + 1px);
    }
}

/* #region - lead details*/
.lead-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: fit-content(0);
    gap: 2rem;
}

.lead-detail-content p {
    margin: 0;
}

.lead-detail-container {
    gap: 0;
    width: unset;
    position: relative;
    min-width: unset;
}

.lead-detail-container .close-icon-link {
    position: absolute;
    top: 5%;
    right: 5%;
    cursor: pointer;
}

.lead-detail-container .close-icon {
    width: 1.5rem;
}

.lead-detail-container .button {
    min-width: fit-content;
    padding-left: 2rem;
    padding-right: 2rem;
    min-height: 100%;
}

/*.lead-detail-container .button:not(.fit-content) {
    width: 100%;
}*/

.lead-detail-container > div {
}

.lead-detail-container > div:not(:last-child) {
    border-bottom: 1px solid var(--color-light-grey);
}

.lead-detail-container-header {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    column-gap: 3rem;
    row-gap: 1rem;
    padding-bottom: 1.5rem;
}

.lead-detail-container-header > *:nth-child(2n+1),
.lead-detail-container-info > *:nth-child(2n+1){
    opacity: .75;
}

.lead-detail-container-info {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    column-gap: 3rem;
    row-gap: 1.5rem;
    border-bottom: 1px solid var(--color-light-grey);
    padding: 1.5rem 0;
}

.lead-detail-container-info .flex-row-gap {
    display: flex;
    gap: 1rem;
}

.lead-detail-container-footer {
    padding-bottom: 0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
    padding-top: 1.5rem;
}

.lead-timeline {
    overflow-y: auto;
}

.lead-timeline-section {
    display: flex;
    gap: 1rem;
}

.lead-timeline-section > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lead-timeline-section .lead-timeline-circle {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid var(--color-light-grey);
    background-color: white;
}

.lead-timeline-section .lead-timeline-line {
    flex: 1;
    width: 1px;
    background-color: var(--color-light-grey);
    padding: 1rem 0;
}

.lead-timeline-section .lead-timeline-text {
    font-size: 90%;
    opacity: .7;
}

.lead-timeline-section:not(:last-child) .lead-timeline-text {
    padding-bottom: 2rem;
}

.lead-timeline-section .lead-timeline-text > *:first-child {
    font-weight: bold;
}

.comment-section > form {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 1rem 0;
}

.comment-section > form > p {
    opacity: .75;
}

.comment-section textarea {
    resize: none;
    height: 4rem;
}
/* #endregion - lead details*/

.leads-access-rights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.leads-access-rights-header {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.leads-access-rights > div > label {
    font-weight: 700;
}

.leads-access-rights-table {
    background-color: var(--color-grey);
    padding: 1rem;
    border-radius: 5px;
}

.leads-access-rights-table:first-of-type {
    margin-top: .5rem;
}

.leads-access-rights-table > div {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 2rem;
    padding: .5rem 0;
    border-bottom: 2px solid white;
}

.leads-access-rights-table > div:first-of-type {
    padding-top: 0;
}
.leads-access-rights-table > div:last-of-type {
    padding-bottom: 0;
    border-bottom: none;
}

/*.leads-access-rights-table > div:first-of-type {
    margin-top: .5rem;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.leads-access-rights > div > div:last-of-type {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}*/

.leads-access-rights-checkboxes {
    display: flex;
    gap: 4rem;
    justify-content: flex-end;
}

/* #region - lead statistics */
.statistics-content-container-chart {
    display: flex;
}

.statistics-content-container-chart .vsep {
    margin-right: 2rem;
}

.pagination {
    margin-top: .5rem;
    display: flex;
    gap: .25rem;
}
.pagination > div {
    /*padding: .25rem .5rem;*/
    width: 1.5rem;
    height: 1.5rem;
    background-color: white;
    cursor: pointer;
    border-radius: 5px;
    display: grid;
    place-content: center;
    transition: all .2s ease;
}
.pagination .arrow-left svg {
    transform: rotate(180deg);
}
.pagination > div.active {
    background-color: var(--color-purple);
    color: white;
}

.pagination div.page-selector-dropdown {
    width: unset;
    margin-left: 1rem;
}

.pagination div.page-selector-dropdown > select {
    background-color: white;
    padding-left: 1rem;
}
/* #endregion */

/* #region - Edit profil */

.profil-image {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    border: solid 0.1rem rgba(0, 0, 0, 0.2);
}

    .profil-image img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

.form-edit-img-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.form-edit-img-small-font {
    font-size: .75rem
}

.form-no-scroll-container {
    padding: 0 1em 0 1.5rem;
}
    /* #endregion */

/* profile picture in top bar */
.user-avatar img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}

/*#region info box*/
.more-info{
    border: 1px solid #000;
    border-radius: 100%;
    display: inline-flex;
    justify-content: center;
    width: 11px;
    height: 11px;
    align-items:center;
    position: relative;
    font-size: 10px;
}
.info-box {
    position: absolute;
    opacity: 0;
    left: 100%;
    bottom: 100%;
    background-color: #fff;
    padding: .75rem 1rem;
    margin: 0;
    box-shadow: 0px 12.7px 38.1px 0px rgba(0, 0, 0, 0.1);
    border-radius: 5.08px;
    display: none;
    min-width: 300px;
}

.info-box-down {
    top: 100% !important;
    bottom: unset !important;
}

.info-box-last {
    right: 100% !important;
    left:unset !important;
}

.info-box > p {
    margin: 0px;
    font-size: 1rem;
    font-weight: normal;
}

.more-info:hover>.info-box {
 opacity: 1;
 display:block;
}
/*#endregion*/
.clearfix:before,
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    overflow-y: scroll;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}
/* IE < 8 */

/* #region session expired section */

.session-expired-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: var(--color-purple);
    /*display: none;*/

}

.session-expired-overlay div {
    text-align:center;
}

.session-expired-overlay > div > div > p {
    font-size: 3rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 1rem;
}
.session-expired-overlay a{
    width: 20%;
    margin: auto;
}

/* #endregion */

/* #region onboarding */
.onboarding-overlay {
    background-color: #0D0D0D;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: .5;
    z-index: 9000;
}

.onboarding {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-purple);
    color: #fff;
    z-index: 9001;
    border-radius: 6px;
    width: 100%;
    max-width: 550px;
    min-height: 300px;
    text-align: left;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.under-highlight {
    top: calc(100% + 10px);
    transform: translate(-50%, 0)
}

.above-highlight {
    transform: translate(-50%, 0); 
    bottom: calc(100% + 10px);
    top: unset;
}

.right-of-highlight {
    left: calc(100% + 15px);
    transform: translateY(-50%);
    width: 300%;
}

.arrow-up {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #3A1E84;
}

.arrow-down {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #3A1E84;
}

.onboarding-arrow-left {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid #3A1E84;
}


.onboarding-no-gap {
    gap: 0;
}

.onboarding-header {
    display: flex;
    flex-direction: column;
}

.onboard-exit {
    text-align: end;
    padding: .5rem;
}

.onboard-exit span {
    cursor: pointer;
}

    .onboard-exit img {
        cursor: pointer;
    }


.onboarding-content {
    width: 80%;
    margin: auto;
    text-align: left;
}

.content-center {
    text-align: center;
}

.onboarding-content > div {
    width: 80%;
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    align-items: center;
}

.onboarding-content > strong {
    font-size: 2rem;
    margin:0 0 .5rem 0;
}

.onboarding-content img {
    width: 50px;
    height: 50px;
}

.onboarding-btn{
    background-color: #fff;
    width: 50%;
    margin: auto;
    display: flex;
    flex-direction:column;
    border-radius: 4px;
    color: var(--color-purple);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.onboarding-btn a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.continue-or-startover-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.continue-or-startover-btns div{
    width: 30%;
    margin: 0; 
    cursor: pointer;
}

.inverted-colors-btn {
    background: var(--color-purple);
    border: solid 1px white;
}

.inverted-colors-text {
    color: white;
}

.onboarding-small-text {
    margin-top: 1rem;
    color: #A7A7A8;
    font-size: 10px;
    width: 70%;
    margin: auto;
    text-align: center;
}

.onboarding-small-text p{
    line-height: 20px;
}

.onboarding-faq-text {
    margin-top: 1rem;
    color: #939394;
    font-size: 13px;
    margin: auto;
    text-align: left;
}

.onboarding-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: auto;
}

.onboarding-footer > p {
    color: #939394;
}

.onboarding-footer > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.onboarding-footer > div > div:last-child {
    color: var(--color-purple);
    padding: .5rem;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center
}

.onboard-btns div {
    cursor: pointer;
}

.tips-tricks-btn {
    text-align: center;
    min-width: 100px;
    color: var(--color-purple);
    padding: .5rem;
    border-radius: 4px;
    background-color: #fff;
}


.onboard-highlight {
    z-index: 9002;
    padding: 10px;
    position: relative;
    background-color: #dedede;
    border-radius: 6px;
}

#components-reconnect-modal {
    display: none;
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: block;
}

.session-expired-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: var(--color-purple);
}

    .session-expired-overlay div {
        text-align: center;
    }

    .session-expired-overlay > div > div > p {
        font-size: 3rem;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .session-expired-overlay a {
        width: 20%;
        margin: auto;
    }

/* #endregion */

.title-filterbtns-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.title-info-box-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-buttons-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-button {
    position: relative;
}
.filter-date > button {
    min-width: 16rem;
    justify-content: center;
}
.filter-buttons-wrapper button {
    padding: 8px 16px;
    height: unset;
    font-size: 0.875rem;
    font-family: 'DM Sans Regular';
}
.filter-wrapper button {
    font-size: .75rem;
}
/*.button-white {
    border: solid 1px var(--color-purple);
    color: var(--color-purple);
    padding: 8px 16px;
    background-color: transparent;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}*/

.filter-box {
    display: flex;
    flex-direction: column;
    z-index: 100;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    border-radius: 4px;
    padding: 16px;
    width: 190px;
    height: 250px;
    box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.16);
    background: #FFF;
    gap: 15px;
    font-size: 0.875rem;
}

.filter-box img {
    width: 12px;
    height: 12px;
}

.search-input {
    display: flex;
    /*border: solid 1px #DFDFDF;*/
    background-color: #FFFFFF;
    align-items: center;
    padding: 8px 16px;
    border-radius: 5px;
    gap: 10px;
}

.search-input:focus-within {
    border-color: #1B1B1B;
}

.search-input input {
    border: none;
    padding: unset;
    font-size: 14px;
    font-weight: 300;
    background-color: #FFFFFF;
    color: #B5B5B5
}

.search-input input::placeholder {
    color: #777777;
    opacity: initial;
    font-size: 14px;
}

.filter-options-list {
    display: flex;
    flex-direction: column;
    /*gap: 4px;*/
    /*padding: 0 10px;*/
    overflow-y: scroll;
    height: 100%;
}

.filter-options-list label {
    height: unset;
}

.sorting-type {
    height: unset;
    overflow-y: unset;
}


.filter-option {
    padding: 10px 0;
    /*width: 80%;*/
    cursor: pointer;
}

.search-input input:-ms-input-placeholder { /* Edge 12-18 */
    color: red;
}

/* #region - LeadMap*/
.leadmap-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
}

.svg-container > svg {
    width: 100%;
    height: auto;
    max-height: 100vh;
}
.svg-container path:hover,
.svg-container svg > g > g:has(path:hover) path {
    stroke-width: 3px;
}
.svg-container svg path {
    stroke-width: 1px;
    shape-rendering: geometricprecision;
}
.svg-tooltip {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #fff;
    padding: 1rem;
    width: fit-content;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    position: absolute;
    pointer-events: none;
    transform: translate(10px, -20px);
    font-size: .875rem;
    z-index: 1;
}
.svg-tooltip strong {
    font-family: 'DM Sans SemiBold';
}

.svg-tooltip span {
    font-size: .75rem;
    font-family: 'DM Sans Light';
}
.svg-tooltip.active {
    opacity: 1;
}
.svg-tooltip::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
    position: absolute;
    right: 100%;
    top: 1rem;
}

.svg-tooltip > div {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.map-color-legend {
    border: 1px solid #000;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 45%;
    max-width: 18rem;
}

.map-color-legend > .color-block {
    aspect-ratio: 2/1;
}

/*.map-color-legend > div:nth-child(1) {
    background-color: var(--map-color-1);
}

.map-color-legend > div:nth-child(2) {
    background-color: var(--map-color-2);
}

.map-color-legend > div:nth-child(3) {
    background-color: var(--map-color-3);
}

.map-color-legend > div:nth-child(4) {
    background-color: var(--map-color-4);
}

.map-color-legend > div:nth-child(5) {
    background-color: var(--map-color-5);
}

.map-color-legend > div:nth-child(6) {
    background-color: var(--map-color-6);
}*/

.leadmap-result {
    display: grid;
    gap: 1rem;
    height: fit-content;
}

.leadmap-result table {
    width: 100%;
    border-collapse: collapse;
}

.leadmap-result table th {
    padding: 1rem .5rem;
    white-space: nowrap;
    cursor: pointer;
    font-weight: normal;
}

.leadmap-result table th.active {
    color: var(--color-purple);
}
.leadmap-result table th.active path {
    stroke: var(--color-purple);
}

.leadmap-result table th img {
    width: .75rem;
}

.leadmap-result table th::after {
    display: block;
    width: .75rem;
    height: .75rem;
    background-image: url('/images/DashBoard-kilder.svg');
    background-size: contain;
}

.leadmap-result table td {
    padding: .5rem;
    border: none;
}

.leadmap-result table tbody tr:nth-child(2n + 1) td {
    background-color: var(--color-grey);
}

.leadmap-result table tbody tr:nth-child(2n + 1) td:first-child {
    border-start-start-radius: 4px;
    border-end-start-radius: 4px;
}
.leadmap-result table tbody tr:nth-child(2n + 1) td:last-child {
    border-end-end-radius: 4px;
    border-start-end-radius: 4px;
}


.leadmap-result .content-container {
    height: fit-content;
}

.leadmap-result .content-container > div {
    padding: 0 1em 0 1.5rem;
}

.leadmap-filter .checkbox-container {
    height: 22px;
    padding-left: 0;
    padding-right: 35px;
}

.checkbox-container.reverse .checkmark {
    right: 0;
    left: unset;
}

.leadmap-filter .filter-option {
    width: unset;
}

.leadmap-filter .filter-options-list button {
    width: fit-content;
    margin: auto auto 0;
    padding: .5rem 1.5rem;
    font-size: 0.75rem;
}

.step-page-label {
    position: relative;
    display: block;
    width: 100%;
}

.step-page-label::after {
    content: "";
    display: block;
    width: 1rem;
    height: 1rem;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-image: url('/images/icons/icon-arrow.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center right;
}

.filter-box .label-go-back {
    display: flex;
    align-items: center;
}

.leadmap-filter .button-icon {
    padding: 0;
    min-width: unset;
    width: 1.25rem;
    display: flex;
}

.filter-box .go-back img {
    transform: rotate(180deg);
}

.filter-box .label-light {
    color: var(--color-table-content);
    margin-top: .5rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-family: 'DM Sans Light';
    padding-right: 1rem;
}

.filter-box .parent-label {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
}
.filter-box .parent-label > span {
    cursor: pointer;
}
.filter-box .parent-label button {
    padding: 0;
    margin: 0;
    width: 22px;
    height: 22px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.filter-option-parent.active .parent-label img {
    transform: rotate(90deg);
}

.filter-box .parent-label button > img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
    transition: all .2s ease-in-out;
}
.filter-option-parent:not(.active) {
    color: var(--color-table-content);
}

.filter-option-parent:not(.active) .filter-option:not(.parent-label) {
    display: none;
}

.filter-option-parent .filter-option:not(.parent-label) {
    padding: 5px 10px;
    color: var(--color-table-content);
}

.filter-options-list:has(.filter-option-parent.active) .filter-option-parent:not(.active) {
    color: var(--color-unfocus);
}

.filter-box:not(.active) {
    visibility: hidden;
}

.filter-box.active,
.filter-date .filter-wrapper.active {
    visibility: visible;
}

.filter-box.step2.active {
    transform: translateX(0);
}

.filter-box.step2 {
    transform: translateX(100%);
    transition: .2s ease-in;
    position: absolute !important;
    right: 0;
    top: 0;
    padding: 16px !important;
}

.filter-wrapper {
    overflow: hidden;
    z-index: 100;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    border-radius: 4px;
    padding: 16px;
    /*width: 190px;*/
    /*height: 250px;*/
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--box-border);
    background: #FFF;
    font-family: 'DM Sans Regular';
}
.filter-wrapper.left {
    left: 0;
    right: unset;
}

.filter-wrapper:not(:has(.filter-box.active)) {
    display: none;
}

.filter-date .filter-wrapper.active {
    display: grid;
}

.filter-wrapper .filter-box {
    position: static;
    padding: 0;
    box-shadow: unset;
    width: 260px; 
}
.filter-date .filter-wrapper {
    display: grid;
    grid-template-columns: repeat(3, auto);
    padding: 0;
}

.form-select .filter-wrapper {
    left: 50%;
    transform: translateX(-50%);
    right: unset;
}

.predefined-date-ranges, .calendar, .filter-date-footer {
    padding: 1rem;
}
.predefined-date-ranges {
    border-right: 1px solid var(--box-border);
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.calendar-month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}
.calendar-view {
    display: grid;
    grid-template-columns: repeat(7, auto);
    /*gap: .5rem;*/
    align-items: center;
    justify-items: center;
    row-gap: .5rem;
}

.calendar-comparison {
    border-top: 1px solid var(--box-border);
    grid-column: 1/-1;
    grid-row: 2;
    padding: 1rem;
    font-size: .875rem;
}

.calendar-view:not(:has(.calendar-day.in-between)) .calendar-day.selected::before,
.calendar-view:has(.calendar-day:not(.in-between) + .calendar-day.selected + .calendar-day:not(.in-between)) .calendar-day.selected::before {
    display: none;
}

.calendar-view .calendar-header,
.calendar-view .calendar-day {
    width: 2rem;
    height: 1.25rem;
    display: grid;
    place-content: center;
}
.calendar-header, .calendar-day {
    font-size: .75rem;
    font-weight: 400;
}
.button-img {
    appearance: none;
    border: none;
    background-color: transparent;
    padding: .15rem !important;
}
.calendar-month-header .button-img:first-of-type img {
    transform: rotate(-180deg);
}
.calendar-day.outside-month {
    color: var(--dark-grey);
    opacity: .4;
}
.calendar-day {
    cursor: default;
    /*border: 1px solid transparent;*/
    position: relative;
}
.calendar-day > .date {
    border: 1px solid transparent;
}
/*.calendar-day > .date {
    display: grid;
    place-content: center;
    width: 1.25rem;
    height: 1.25rem;
}*/
.calendar-day.selected > .date {
    background-color: #5e4c99;
    color: #FFFFFF;
    border: 1px solid var(--color-purple);
    border-radius: 3px;
    display: grid;
    place-content: center;
    height: calc(1.25rem - 2px);
    width: 1.2rem;
}
.calendar-day.selected::before {
    content: "";
    left: 50%;
    right: 0;
    position: absolute;
    background: #ebe9f3;
    display: block;
    top: 0;
    bottom: 0;
    z-index: -1;
}
.calendar-day.in-between + .calendar-day.selected::before {
    right: 50%;
    left: 0;
}
.calendar-day.in-between:not(.selected) {
    background-color: #ebe9f3;
}
.filter-date-footer {
    grid-column: 1/-1;
    grid-row: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--box-border);
    font-size: .875rem;
}
.filter-date-footer > div {
    white-space: nowrap;
}
.filter-wrapper .btn-date-sort {
    padding: .25rem .5rem;
    width: 100%;
    text-align: left;
    appearance: none;
    border: none;
    background-color: transparent;
    white-space: nowrap;
    font-size: .875rem;
}
.btn-date-sort.active {
    background-color: var(--color-purple);
    color: #FFFFFF;
    border-radius: 3px;
}
/* .filter-options-list */
.upload-file-wrapper {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.file-info {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.file-info .date-name {
    color: var(--color-table-content);
}

.file-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-image: url('../images/icons/icon-drag-and-drop.svg');
    background-size: contain;
    background-position: center;
}

.file-upload:has(.uploaded-file) .file-icon {
    background-image: url('../images/icons/icon-drag-and-drop-uploaded.svg');
}

.drag-and-drop-file {
    display: grid;
    place-content: center;
    justify-items: center;
    border: 1px #D9D9D9 dashed;
    padding: 2rem;
    position: relative;
    border-radius: 4px;
}

.drag-and-drop-file .icon {
    width: 2rem;
}

.drag-and-drop-file p {
    max-width: 22ch;
    text-align: center;
}

.drag-and-drop-file input[type=file] {
    /* visibility: hidden; */
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid var(--color-border-grey);
    padding: .5rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.float-right {
    margin-left: auto;
}

.uploaded-file img:not(.icon) {
    width: 1.5rem;
}

.pagination-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    font-size: 0.88rem;
}

.pagination-footer .btns-wrapper {
    display: flex;
    gap: 10px;
}

.filter-button h4 {
    margin: 0;
    font-family: 'DM Sans SemiBold';
    cursor: default;
}
.select-wrapper {
    /*display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;*/
    position: relative;
}
.select-wrapper::after {
    content: "";
    display: block;
    width: 1rem;
    height: 1rem;
    background-image: url('/images/icons/icon-arrow.svg');
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: .5rem;
    transform: translateY(-50%) rotate(90deg);
}
.select-box {
    left: 0;
    width: unset;
    height: fit-content;
}
.select-box .filter-option {
    display: flex;
}
.select-box .filter-options-list label {
    height: 22px;
    width: 100%;
}
.select > span.not-selected {
    opacity: .5;
}
.select {
    padding: .5rem;
    appearance: none;
    border: 1px solid var(--color-border-grey);
    border-radius: 4px;
}
@media (max-width: 1450px){
    .leadmap-grid {
        grid-template-columns: 1fr;
    }
    .leadmap-result .filter-wrapper {
        left: 0;
        right: unset;
    }
}
/* #endregion - LeadMap */

/* #region - Reports*/
.report-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 45px;
    row-gap: 40px;
    margin-top: 2rem;
}

.report-card {
    border-radius: 8px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.05);
    min-height: 377px;
    min-width: 338px;
}

.report-card-head {
    background: #EAEAEA;
    height: 190px;
    padding-top: 24px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.report-thumbnail {
    box-shadow: 0px 6px 18px 0px rgba(0, 0, 0, 0.05);
}

.report-placeholder-image {
    display: flex;
    justify-content: center;
    background: #FFF;
    min-width: 200px;
    align-items: end;
    padding-bottom: 20px;
    box-shadow: 0px 6px 18px 0px rgba(0, 0, 0, 0.05);
    border-radius: 5px 5px 0 0;
}

.draft {
    background-color: var(--color-purple);
    position: absolute;
    color: white;
    border-radius: 8px;
    padding: 6px 12px;
    right: 3%;
    top: 3%;
    font-size: 14px;
}

.report-card-foot {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.report-dates-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.report-date {
    display: flex;
    justify-content: space-between;
}

.report-date p {
    margin: 0;
}

.report-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px
}

.icons-row {
    display: flex;
    gap: 8px;
}

.report-container {
    background: #FFFFFF;
    padding: 120px;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    gap: 40px;
}

.report-header{
    display: flex;
    gap: 80px;
    align-items: center;
}

.report-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    border: 1px solid #E3E3E3;
    border-radius: 8px;
    max-width: 236px;
    min-width: 236px;
    height: 236px;
    overflow: hidden;
}

.preview-img {
    max-width: 80%;
    object-fit: contain;
}

.placeholder-img {
    height: 56px;
}

.report-logo p {
    font-size: 12px;
    max-width: 140px;
}

.report-information {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.report-description {
    line-break: anywhere;
}

.report-date-site {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.divider {
    height: 24px;
    border-left: 3px solid #222426;
    margin: 0 24px;
}

.add-section {
    display: flex;
    justify-content: center;
    padding: 24px 0;
    border: 1px dashed #E3E3E3;
    cursor: pointer;
}

.report-sections {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
}

.section-item {
    display: flex;
    flex-direction: column;
    padding: 32px 40px;
    border: 1px solid #E3E3E3;
    border-radius: 8px;
}

.section-item p {
    margin: 0;
}

.section-item .icons-row {
    display: flex;
    gap: 1rem;
}

.section-item--hidden {
    display: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.section-content {
    margin-top: 2rem;
    border-top: solid 1px #E3E3E3;
    padding-top: 2rem;
}

.section-content--hidden {
    display: none;
}

.edit-report-modal {
}

.website-selector-dropdown {
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid var(--color-unfocus);
    cursor: pointer;
    position: relative;
    font-size: 15px;
}

.selected {
    color: var(--dark-grey);
    border: 1px solid var(--color-purple);
}

.placeholder {
    color: #B5B5B5;
}

.dropdown-options {
    flex-direction: column;
    gap: 16px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 0.5rem;
    overflow: hidden;
    z-index: 100;
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    width: 100%;
    cursor: initial;
}

.option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.option:hover {
    background-color: var(--color-grey);
    border-radius: 8px;
}

.option input[type="radio"] {
    appearance: none;
    border: 2px solid var(--color-purple);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    position: relative;
}

.option input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-purple);
}

.file-paste-hover {
    border: solid var(--color-purple);
}

/* #endregion - Reports */

.flow-chart-container {
    position: relative;
    padding: 20px;
    background-color: white;
    border-radius: 20px;
}

.flow-chart {
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.user-journey-label {
    height: fit-content;
    width: max-content;
    max-height: 300px;
    position: absolute;
    background-color: white;
    box-shadow: 2px 2px 5px gray;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 10px;
    font-size: 14px;
    border-radius: 3px;
    z-index: 0;
    white-space: normal; 
}

.user-journey-button-active {
    outline: 2px solid #3A1E84;
}

.user-journey-label-color {
    width: 15px;
    height: 35px;
    border-radius: 2px;
    flex-grow: 0;
    flex-shrink: 0;
}

.breakable {
    overflow-wrap: anywhere;
    word-break: break-all;
}


@media (max-width: 2000px) {
    .user-journey-label {
        font-size: 11px;
        padding: 0px 10px;
    }

    .user-journey-label-color {
        height: 20px;
        width: 10px;
    }
}

.user-journey-label-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
}

.user-journey-label-time {
    display: none;
    width: 100%;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 1px solid var(--box-border);
}

.user-journey-label-time p {
    margin: 0;
}

.user-journey-label-time.active {
    display: flex;
}

.user-journey-label-content {
    display: none;
}

.user-journey-label-content.active {
    display: block;
    overflow: auto;
}

.user-journey-label-content ul {
    padding-left: 1rem;
    list-style-position: inside;
}

.user-journey-label-content ul li {
    margin-bottom: 1rem;
    
}

.normal-list-wrapper {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

.normal-list-wrapper:before {
    content: "•";
    position: absolute;
    left: 0;
    margin: 0;
    padding: 0;
}

.others-list-wrapper strong {
    cursor: pointer;
}

.others-list-content {
    display: none;
}

.others-list-content.active {
    display: block;
}

.others-list-wrapper {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

.others-list-wrapper::before {
    content: "+";
    position: absolute;
    left: 0;
    margin:0;
    padding: 0;
    color: #333;
    font-weight: bold;
}

.others-list-wrapper.active::before {
    content: "-";
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--color-purple);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1.5s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1600px) {
    .nav-top {
        gap: 25px;
    }

    .report-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}