
body, html {
    margin: 0;
    padding: 0;
    font-family: Muller, Arial, sans-serif;    
}

input {
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    border: none;
}

    button img {
        pointer-events: none;
    }

    button svg {
        pointer-events: none;
    }

h3 {
    font-size: var(--h-h3-font-size);
    font-weight: var(--h-h3-font-weight);
}

#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: 100vh;
    padding-top: 20px;
    background-color: var(--colors-bg-tretiery);
    box-sizing: border-box;
}

#navigation header {
    margin-bottom: 20px;
}

#navigation header h2 {
    margin-top: 0;
    color: white;
}

#navigation a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

#rightSide {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: hidden; /* Scroll vertically if content overflows */
    height: 100vh;
}

    #rightSide > header {
        display: flex;
        margin-left: 40px;
        min-height: 82px;
        gap: 20px;
        justify-content: space-between;
        align-items: center;
        transition: min-height 0.5s ease-out; /* Animate the max-height property */
    }


#board-content {
    display: flex;
    flex-direction: column;
    background-color: white;
    overflow-y:auto;
    flex: 1;
}

#deskHeader {
    margin-bottom: 20px;
}

#deskHeader h1 {
    margin: 0;
    font-size: 1.5em;
}

#chapterContent {
    display: flex;
    overflow-x: hidden; /* Horizontal scrolling */
    overflow-y: hidden; /* Prevent vertical scrolling */
    white-space: nowrap;
    flex-grow: 1;
    flex-direction: row;
    width: fit-content;
    width: -moz-fit-content;
}

#Groups {
    display: flex;
    overflow-x: auto; /* Horizontal scrolling */
    overflow-y: hidden; /* Prevent vertical scrolling */
    gap: 10px;
    padding: 10px 0;
    white-space: nowrap;
    flex-grow: 1;
    flex-direction: row;
}



.group {
    width: 300px; /* Fixed width for each group */
    display: flex; /* Makes .group a flex container */
    flex-direction: column; /* Stacks children vertically */
    height: 100%;
}

    .group .small-group {
        display: flex;
        align-items: flex-start;
        gap: var(--gaps-s, 10px);
        align-self: stretch;
        margin-bottom: 4px;
    }

        .group .small-group button {
            border-radius: var(--roundness-m, 12px);
            border: none;
            padding: 0;
            height: 36px;
            width: 100%;
        }

            .group .small-group button img {
                width: 24px;
                height: 24px;
            }

.group-title {
    margin: 0 0 10px; /* Adjust margins as needed */
    padding: 0 10px; /* Padding to align with card content */
    font-size: 1.4em;
    color: #333; /* Adjust color as needed */
}
.group-header {

}

.group-content {
    flex: 1;
    min-height: 0;
}

.cards-container {
    display:flex;
    flex-direction:column;
    border: 0 solid var(--colors-bg-secondary, #E6E6E6);
    background: var(--colors-bg-secondary, #E6E6E6);
    border-radius: var(--numbers-roundness-m, 12px);
    height: 100%;
    padding-top: 8px;
    box-sizing: border-box;
}

.cards-wrapper {
    margin-top: 8px;
    margin-right: 7px;
    margin-bottom: 15px;
    display: flex;
    border-radius: var(--roundness-m, 12px);
    flex-direction: column;
    overflow-y: scroll; /* Enables vertical scrolling within the container */
    flex-grow: 1;
    box-sizing: border-box;
    flex: 1;
    gap: 16px;
}

.add-button {
    width: stretch;
    background-color: var(--bg-card, #F2F2F2);
    border: none;
    height: 36px;
    min-height: 36px;
    align-items:center;
    border-radius: var(--general-roundness-XS);
    padding: 6px;
    cursor: pointer;
    margin: 8px 16px 0;
}

.header-placeholder {
    flex-grow: 1; /* Ensures it takes up space to push logout to the right */
}

#logout {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
}

#logoutButton{
    cursor: pointer; /* Optional, if the logout icon is clickable */
    width: 24px;
    height: 24px;
}

.dialog-hidden {
    display: none;
}

.dialog-content {
    background-color: #fff;
    padding: 20px 12px 20px 12px;
    border-radius: 5px;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* box-shadow: 20px 20px 20px 20px rgba(200, 200, 200, 0.2); */
    z-index: 1000;
    width: 424px;
    gap: var(--general-gaps-m);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Backdrop styles */
#confirmationDialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0 0 0 0.5); /* Semi-transparent black */
    z-index: 999;
}


/* 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 */
    }

