/* Left Sidebar Menu Styles */
.category-menu {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #fff;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-menu:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-menu-header {
    padding: 0px 0px  !important;
    border: none !important;
}

.category-menu-header h4 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin: 0;
}

.category-menu-header i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.category-menu-body {
    padding: 8px 0;
}

.category-menu .list-group-item {
    border: none;
    border-left: 2px solid transparent;
    padding: 6px 15px !important;
    transition: all 0.2s ease;
    margin: 1px 0;
}

.category-menu .list-group-item:hover {
    background-color: #f8f9fa;
    border-left-color: #d9230f;
    padding-left: 18px !important;
}

.category-menu .list-group-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: all 0.2s ease;
}

.category-menu .list-group-item a:hover {
    color: #d9230f;
    transform: translateX(3px);
}

.category-menu .list-group-item a.bg-danger {
    background-color: #d9230f !important;
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
    margin: -8px -15px;
    display: block;
}

.category-menu .list-group-item a.bg-danger:hover {
    background-color: #b51d0d !important;
    transform: translateX(5px);
}

/* Current category styles */
.current-category {
    margin-bottom: 0.5rem !important;
    padding: 0 0.75rem !important;
}

.current-category .small {
    font-size: 0.65rem !important;
    margin-bottom: 0.1rem !important;
    color: #6c757d !important;
}

.current-category-name {
    font-size: 0.8rem !important;
    color: #333;
}

/* Search box styles */
.category-search {
    margin-bottom: 0.5rem !important;
    padding: 0 0.75rem !important;
}

.category-search .form-control {
    height: 26px;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-color: #dee2e6;
}

.category-search .btn {
    padding: 0 6px;
    height: 26px;
    line-height: 1;
    border-color: #dee2e6;
}

.category-search .btn i {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Active state for menu items */
.category-menu .list-group-item.active {
    background-color: #f8f9fa;
    border-left-color: #d9230f;
}

.category-menu .list-group-item.active a {
    color: #d9230f;
    font-weight: 600;
}

/* Customer Reviews Section Styles */
.customer-reviews-section {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.customer-reviews-section:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.customer-reviews-header {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

.customer-reviews-header h4 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin: 0;
    color: white;
}

.customer-reviews-header i {
    font-size: 1.1rem;
    margin-right: 8px;
}

.customer-reviews-container {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.reviews-scroll-wrapper {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.reviews-scroll-content {
    animation: scrollReviews 60s linear infinite;
    display: flex;
    flex-direction: column;
}

@keyframes scrollReviews {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.reviews-scroll-content:hover {
    animation-play-state: paused;
}

.review-item {
    background: white;
    margin: 8px 12px;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-height: 120px;
}

.review-item:hover {
    transform: translateX(2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left-color: #d9230f;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 0.85rem;
    color: #333;
    display: block;
    margin-bottom: 2px;
}

.reviewer-location {
    font-size: 0.7rem;
    color: #6c757d;
    display: block;
}

.review-rating {
    display: flex;
    gap: 1px;
}

.review-rating i {
    font-size: 0.7rem;
    color: #ffc107;
}

.review-content {
    margin-top: 8px;
}

.review-text {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #555;
    margin-bottom: 8px;
    font-style: italic;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e9ecef;
    padding-top: 6px;
}

.review-meta small {
    font-size: 0.65rem;
}

.review-meta .text-muted {
    color: #6c757d !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .customer-reviews-container {
        height: 250px;
    }
    
    .review-item {
        margin: 6px 8px;
        padding: 10px;
        min-height: 100px;
    }
    
    .reviewer-name {
        font-size: 0.8rem;
    }
    
    .review-text {
        font-size: 0.7rem;
    }
}
