body {
    display: flex;
}
#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #343a40;
    color: #fff;
    transition: all 0.3s;
    position: fixed;
    height: 100%;
}
#sidebar.active {
    margin-left: -250px;
}
#sidebar .sidebar-header {
    padding: 20px;
    background: #343a40;
    text-align: center;
}
#sidebar ul.components {
    padding: 20px 0;
}
#sidebar ul p {
    color: #fff;
    padding: 10px;
}
#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #fff;
    text-decoration: none;
}
#sidebar ul li a:hover, #sidebar ul li.active > a {
    color: #343a40;
    background: #fff;
}
#content {
    width: 100%;
    padding: 20px;
    margin-left: 250px;
    transition: all 0.3s;
}
#sidebarCollapse {
    background: #343a40;
    color: #fff;
    border: none;
}
#sidebarCollapse:hover {
    background: #fff;
    color: #343a40;
}
.table-responsive {
    margin-top: 20px;
}
.table thead th {
    background-color: #343a40;
    color: #fff;
}
.table tbody tr:hover {
    background-color: #f5f5f5;
}
.cart-icon {
    position: relative;
}
.cart-icon .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 5px 10px;
}
.search-results {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    z-index: 1000;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    top: 40px;
}
.search-results li {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.search-results li img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}
.search-results li:hover {
    background: #f5f5f5;
}
@media (max-width: 768px) {
    #sidebar {
        display: none;
    }
    #content {
        margin-left: 0;
        width: 100%;
    }
}
.card-hover {
    transition: transform 0.2s;
}
.card-hover:hover {
    transform: scale(1.05);
}
.input-group .form-control-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2em;
    color: #aaa;
}
.input-group .form-control-clear:hover {
    color: #333;
}