* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Helvetica, sans-serif;
    background-color: #111920;
    min-height: 100vh;
    overflow-y: visible;
}

.container {
    display: flex;
    margin-top: 64px;
    min-height: calc(100vh - 64px);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: #41474D;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

/* Left side of header */
.header-left {
    display: flex;
    align-items: center;
}

/* Right side of header */
.header-right {
    margin-left: auto;  /* This pushes it to the right */
    display: flex;
    align-items: center;
    gap: 2px;  /* Space between right-side elements */
}

.header-link {
    color: #DDD;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
}

.header-link:hover {
    background-color: #707579;
}

/* Optional: Style specifically for the About link */
.about-link {
    font-weight: 500;  /* Slightly bold */
}

/* Mobile menu button */
.menu-button {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    margin-right: 16px;
}

.menu-button svg {
    width: 24px;
    height: 24px;
}

.sidebar {
    flex: 0 0 256px;
    background-color: #41474D;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
    height: calc(100vh - 64px);
    position: fixed;
    width: 256px;
    overflow-y: visible;
}

.main-content {
    flex: 1;
    margin-left: 256px;
    min-height: calc(100vh - 64px);
}

/* Overlay for mobile sidebar background */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 150;
}

.search-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    scrollbar-color: #666 #333;
}

.search-item {
    font-size: small;
}

.session-region {
    margin-top: 10px;
}

.logo-icon {
    margin-bottom: 8px;
    margin-right: 8px;
}

.header-title {
    font-family: Helvetica, sans-serif;
    font-size: 20px;
    color: #CCC;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .menu-button {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 200;
    }

    .main-content {
        margin-left: 0;
    }

    /* When sidebar is active */
    .sidebar-active .sidebar-overlay {
        display: block;
    }

    .sidebar-active .sidebar {
        transform: translateX(0);
    }

    /* Prevent body scrolling when sidebar is open */
    body.sidebar-active {
        overflow: visible;
    }
}
