/* style.css */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
    /* A very light gray, almost white */
}

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    background: #ffffff;
    color: #333;
    transition: all 0.3s;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

#sidebar.collapsed {
    margin-left: -250px;
}

.sidebar-header {
    padding: 20px;
    background: #ffffff;
    border-bottom: 1px solid #dee2e6;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #495057;
    text-decoration: none;
}

#sidebar ul li a:hover {
    color: #007bff;
    background: #e9ecef;
}

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    margin-left: 250px;
}

#content.collapsed {
    margin-left: 0;
}

/* New button styles */
#sidebarCollapse {
    position: fixed;
    top: 20px;
    left: 260px;
    z-index: 1001;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: left 0.3s;
}

#sidebar.collapsed~#sidebarCollapse {
    left: 10px;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: #000000;
    margin: 3px 0;
    display: block;
}

/* Custom image styling for screenshots */
.app-screenshot {
    width: 378px;
    /* Approximately 10cm wide at 96 DPI */
    height: auto;
    /* Automatically adjust height to maintain aspect ratio */
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    padding: 10px;
    /* Space between the image and the border */
}

/* For smaller screens, allow images to be more flexible */
@media (max-width: 576px) {
    .app-screenshot {
        width: 100%;
        height: auto;
    }
}