html {
    overflow: hidden;
    font-family: var(--p-primary-primary-font-family);
    font-weight: var(--p-primary-primary-font-weight);
    font-size: var(--p-primary-primary-font-size);
    line-height: var(--p-primary-primary-line-height);
    letter-spacing: var(--p-primary-primary-letter-spacing);
    font-style: var(--p-primary-primary-font-style);
}

button {
    font-family: inherit;
}

body {
    margin: 0;
}

div {
    cursor: default;
}

div[contenteditable=true] {
    cursor: text;
}

button div {
    cursor: pointer;
}


.hidden {
    display: none !important;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

button {
    border: none;
    background-color: transparent;
    cursor: pointer;
}

    button svg {
        pointer-events: none;
        cursor: pointer;
    }

.logo {
    /* display: flex; */
    /* flex-direction: column; */
    /* width: 269px; */
    /* align-items: flex-start; */
    /* position: relative; */
    margin-top: 15px;
    margin-left: 40px;
    height: 113px;
}

.logo-text-wrapper {
    margin-top: -1px;
    font-family: var(--p-primary-primary-font-family);
    font-weight: var(--p-primary-primary-font-weight);
    color: var(--pallete-black-primary);
    font-size: var(--p-primary-primary-font-size);
    line-height: var(--p-primary-primary-line-height);
    white-space: nowrap;
    position: relative;
    letter-spacing: var(--p-primary-primary-letter-spacing);
    font-style: var(--p-primary-primary-font-style);
}

.logo-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 0 0 1px;
    position: relative;
    flex: 0 0 auto;
}

.logo-dark {
    position: relative;
    width: 197px;
    height: 24px;
    top: 0;
    left: 0;
}

#container {
    display: flex;
    height: 100vh;
    flex-direction: row;
}

#navigation {
    display: flex;
    flex-direction: column;
    color: black;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    /* height: 98%; */
    /* padding-top: 20px; */
    background-color: var(--colors-bg-tretiery);
}

#navbar-panel {
    /* margin-top: 68px; */
    /* display: flex; */
    flex-direction: column;
    width: 100%;
    height: calc(100% - 113px);
    /* position: relative; */
}

.navbar-header {
    display: flex;
    flex-direction: row;
    position: relative;
    width: 100%;
    align-items: flex-start;
}

#navbar-panel-title {
    margin-left: 40px;
    margin-bottom: 30px;
    flex: 1;
    color: var(--colors-text-primary, #1a1a1a);
    text-align: left;
    font-family: var(--h-h3-font-family, "Muller-Bold", sans-serif);
    font-size: var(--h-h3-font-size, 25px);
    font-weight: var(--h-h3-font-weight, 700);
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#button-icon-boards {
    height: 40px;
    position: relative;
    overflow: hidden;
}

#tagsNavbar {
    /* display: flex; */
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    width: 98%;
    height: calc(100% - 124px);
    /* margin-top: 20px; */
    flex: 0 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
    /* margin-left: -2%; */
    /* margin-right: 0px; */
    /* padding-left: 5px; */
}

#navbar-panel .tags-search-bar-container, .tags-search-bar-container * {
    box-sizing: border-box;
}

#navbar-panel .tags-search-bar-container {
    padding: 0px 20px 0px 40px;
    display: flex;
    flex-direction: row;
    /* gap: 10px; */
    /* align-items: flex-start; */
    /* justify-content: flex-start; */
    align-self: stretch;
    flex-shrink: 0;
    height: 30px;
    position: relative;
    margin-bottom: 12px;
    /* padding-bottom: 10px; */
}

#navbar-panel .search-bar, .search-bar * {
    box-sizing: border-box;
}

#navbar-panel .search-bar {
    background: var(--colors-bg-secondary);
    border-radius: var(--numbers-roundness-s, 8px);
    padding: 0px 16px 0px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    flex: 1;
    position: relative;
}

#rightSide .search-contaner {
    background: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 80px;
}

#rightSide .search-bar {
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: space-between;
    width: calc(100%-31px);
    background-color: var(--colors-bg-tretiery);
    border-radius: var(--numbers-roundness-m);
    padding: 0px 16px 0px 15px;
}

#search-found-tags {
    overflow: hidden;    
}

.search-bar .text-wrapper {
    position: relative;
    width: 100%;
    background: none;
    font-family: var(--p-secondary-regular-font-family);
    font-weight: var(--p-secondary-regular-font-weight);
    color: var(--colors-text-primary);
    font-size: var(--p-secondary-regular-font-size);
    letter-spacing: var(--p-secondary-regular-letter-spacing);
    line-height: var(--p-secondary-regular-line-height);
    white-space: nowrap;
    font-style: var(--p-secondary-regular-font-style);
}

.search-bar .search {
    position: relative;
    width: 16px;
    height: 16px;
}

#logout {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: start;
}

#logoutButton {
    cursor: pointer; /* Optional, if the logout icon is clickable */
    width: 24px;
    height: 24px;
}

#rightSide {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: hidden; /* Scroll vertically if content overflows */
}

    #rightSide > header {
        display: flex;
        margin-left: 40px;
        min-height: 112px;
        gap: 20px;
        justify-content: space-between;
        align-items: center;
    }

#cards {
    margin-left: 40px;
    margin-right: 4px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px; /* Adjust the gap as needed */
    overflow-y: auto;
}



.tags-active {
    display: flex;
    flex-direction: row;
    gap: var(--gaps-xxs, 4px);
    /* align-items: flex-start; */
    /* justify-content: flex-start; */
    /* flex-wrap: wrap; */
    /* align-self: stretch; */
    /* flex: 1; */
    position: relative;
}



[contenteditable="true"] {
    border: none;
    outline: none;
}

.notification {
    position: fixed;
    right: 20px;
    bottom: -50px; /* Start hidden below view */
    background-color: #f0f0f0;
    color: #333;
    border-left: 5px solid #ccc;
    padding: 10px 20px;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: bottom 0.5s;
}

    .notification.info {
        border-color: #017bff;
    }

    .notification.success {
        border-color: #28a745;
    }

    .notification.error {
        border-color: #dc3545;
    }

#progressList {
    position: fixed; /* Fixed positioning relative to the viewport */
    bottom: 10px; /* 10px from the bottom */
    right: 32px; /* 10px from the right */
}

.progressContainer {
    opacity: 1;
    transition: opacity 0.5s linear; /* Smooth transition for the opacity */
    background: rgba(57, 54, 58, 1);
    display: block;
    border-radius: 8px;
    width: 451px;
    height: 40px;
    margin-top: 16px;
    overflow: hidden;
    position: relative;
}

.progressInfo {
        background: transparent;
        position: absolute;
        display: inline-flex;
        flex-direction: row;
        gap: 16px;
        color: white;
        height: 24px;
        width: 435px;
        /* top: 0px; */
        left: 0px;
        /* text-align: left; */
        align-items: center;
        justify-content: center;
        padding: 8px;
        border-radius: 8px;
        justify-self: center;
        font-family: var(--p-regular-font-family);
        font-size: 15px;
        font-weight: var(--p-regular-font-weight);
    }

.progressInfo__filename {
    width: 200px;
    font-weight: var(--p-bold-font-weight);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.progressInfo__value {
    width: 42px;
    font-size: 12px;
    text-align: right;
}
.progressInfo__title {
    width: 115px;
}

.NavigationCloseMiddle {
    width: 24px; 
    height: 24px; 
    position: relative
}

.progressBar {
    width: 0%; /* Fixed width */
    height: 40px; /* Fixed height */
    background-color: var(--colors-bg-accent-secondary);
    border-radius: 8px;
    position: absolute;
    transition: width 0.5s linear;
    display: block;
    margin: 0px;
    padding: 0px;
}

.progressBar_indeterminate {
    width: 30%;
    height: 40px;
    background-color: var(--colors-bg-accent-secondary);
    border-radius: 8px;
    position: absolute;
    left: 0;
    animation: progress-animation 2s linear infinite;
}

@keyframes progress-animation {
    0% {
        left: -30%; /* Start from the left, moving in */
    }

    100% {
        left: 100%; /* Move across the container to the right */
    }
}


/* This styles the scrollbar itself (vertical scrollbar) */
::-webkit-scrollbar {
    width: 4px; /* Adjust the width as needed */
    border-radius: 2px; /* This will make the scrollbar itself have rounded corners */
}

/* This styles the scrollbar track */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* Style as needed */
    border-radius: 2px; /* Rounded corners for the track */
}

/* This styles the scrollbar thumb */
::-webkit-scrollbar-thumb {
    background: #888; /* Style as needed */
    border-radius: 2px; /* Rounded corners for the thumb */
}

    /* Change the thumb color on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555; /* Style as needed */
    }
