/* ========== SIDEBAR ========== */
.sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background-color: #ffffff;
    color: #1A1A1A;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1001;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    font-size: 28px;
    color: #1A1A1A;
    cursor: pointer;
    margin-bottom: 20px;
}

.sidebar-header p {
    margin: 0;
    font-weight: bold;
    font-size: 16px;
    margin-right: auto;
}

/* ========== SEARCH ========== */
.search-box input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    font-size: 14px;
}

.search-box button {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    background-color: #FF4433;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* ========== MOBILE MENU ========== */
.mobile-menu ul,
.static-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li,
.static-links li {
    margin: 12px 0;
}

.mobile-menu ul li a,
.static-links li a {
    color: #1A1A1A;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.mobile-menu ul li a:hover,
.static-links li a:hover {
    color: #FF4433;
}

/* ========== FOOTER ========== */
.sidebar-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.logout-btn,
.login-btn,
.install-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background-color: #FF4433;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

/* ========== HAMBURGER MENU ========== */
.menu-mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    background-color: #FF4433;
    color: white;
}

.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
}

.sidebar-backdrop.active {
    display: block;
}

.menu-item {
    margin-bottom: 10px;
}

.menu-item a {
    font-size: 15px;
    color: #1A1A1A;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.menu-item a i {
    color: #FF4433;
}

.menu-item a:hover {
    color: #FF4433;
}

hr {
    margin: 14px 0;
    border: none;
    border-top: 1px solid #eee;
}


/* Hide desktop menu on mobile */
@media (max-width: 768px) {
    .menu-mobile-toggle {
        display: block;
    }

    .menu-container {
        display: none;
    }
}
