/* navbar.css */

/* Animation */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.4s ease-out forwards; }

/* Menu Styles */
.menu-link-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 1.5rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    background-color: transparent;
}

.menu-link-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Active State */
.menu-link-item.active {
    background-color: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.5);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.1);
}

.menu-link-item.active .menu-icon-box {
    background: linear-gradient(135deg, #ff6b6b, #ff4757) !important;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    transform: scale(1.1);
}

.menu-link-item.active .menu-title {
    color: #ff6b6b !important;
}

.menu-link-item.active .menu-arrow {
    color: #ff6b6b !important;
    transform: translateX(5px);
}

/* Dropdown Animation */
.dropdown-content { transform-origin: top; transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1); }
.dropdown-open { opacity: 1; transform: scaleY(1); pointer-events: auto; }
.dropdown-closed { opacity: 0; transform: scaleY(0.95); pointer-events: none; }

/* Search Results */
.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.search-item:hover { background-color: rgba(255, 255, 255, 0.1); }
.search-item img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.search-item-info { flex: 1; min-width: 0; }
.search-item-title { color: white; font-size: 14px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item-artist { color: #9ca3af; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#search-results-dropdown::-webkit-scrollbar { width: 4px; }
#search-results-dropdown::-webkit-scrollbar-thumb { background: #444; border-radius: 2px; }