/* Layout Wrapper */
.search-page-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Fixed Sidebar */
.fixed-sidebar {
    width: 80px;
    height: 100vh;
    background: #ffffff;
    border-right: 1px solid var(--border-color);
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    z-index: 1050;
}

.sidebar-logo img {
    width: 34px;
    height: auto;
    margin-bottom: 40px;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-icon-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--second-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-icon-link:hover, .nav-icon-link.active {
    background: rgba(15, 115, 238, 0.1);
    color: var(--main-color);
}

.user-profile img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

/* Content Area Adjustment */
.content-area {
    flex: 1;
    margin-left: 80px; /* Same as sidebar width */
    width: calc(100% - 80px);
}

/* Hide Original Header on Search Page */
.search-page-wrapper ~ .header, 
.search-page-wrapper ~ .mobile-menu {
    display: none;
}

.nav-icon-link svg {
    width: 22px;
    height: 22px;
}

/* Responsive: On mobile, convert sidebar to bottom bar or hide it */
@media (max-width: 768px) {
    .fixed-sidebar {
        width: 100%;
        height: 60px;
        bottom: 0;
        top: auto;
        flex-direction: row;
        padding: 0 20px;
        border-right: none;
        border-top: 1px solid var(--border-color);
    }
    .sidebar-logo { display: none; }
    .sidebar-nav { flex-direction: row; justify-content: space-around; width: 100%; }
    .content-area { margin-left: 0; margin-bottom: 60px; padding: 15px; width: 100%; }
    .sidebar-footer { display: none; }
    }