 .nav-pills > li > a {
   border-radius: 0;
}

#wrapper {
   padding-left: 0;
   -webkit-transition: all 0.5s ease;
   -moz-transition: all 0.5s ease;
   -o-transition: all 0.5s ease;
   transition: all 0.5s ease;
   overflow: clip;
}

.sidebar {
   width: 60px;
   height: 100vh;
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   position: fixed;
   left: 0;
   top: 0;
   transition: all 0.3s ease;
   overflow-x: hidden;
   z-index: 1000;
   box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
   color: var(--bs-body-color);
}

.sidebar:hover {
   width: 250px;
}

.sidebar-header {
   padding: 20px;
   text-align: center;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
   color: white;
   font-size: 24px;
   font-weight: bold;
   white-space: nowrap;
   opacity: 0;
   transition: opacity 0.3s ease;
}

.sidebar:hover .logo {
   opacity: 1;
}

.nav-menu {
   list-style: none;
   padding: 20px 0;
}

.nav-item-sidebar {
   padding: 15px 20px;
   display: flex;
   align-items: center;
   color: white;
   text-decoration: none;
   transition: all 0.3s ease;
   position: relative;
   cursor: pointer;
}

.nav-item-sidebar:hover {
   background-color: rgba(255, 255, 255, 0.1);
   transform: translateX(5px);
}

.nav-icon {
   font-size: 20px;
   width: 30px;
   height: 30px;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.nav-text {
   color: white;
   margin-left: 15px;
   white-space: nowrap;
   opacity: 0;
   transition: opacity 0.3s ease;
   font-weight: 500;
}

.sidebar:hover .nav-text {
   opacity: 1;
}

.dropdown-arrow {
   margin-left: auto;
   transition: transform 0.3s ease;
   opacity: 0;
}

.sidebar:hover .dropdown-arrow {
   opacity: 1;
}

.dropdown-menu-sidebar {
   list-style: none;
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.3s ease;
   background-color: rgba(0, 0, 0, 0.1);
}

.dropdown-menu-sidebar.show {
   max-height: 200px;
}

.dropdown-item-sidebar {
   padding: 12px 20px 12px 25px;
   display: flex;
   align-items: center;
   color: white;
   text-decoration: none;
   transition: all 0.3s ease;
}

.dropdown-item-sidebar:hover {
   background-color: rgba(255, 255, 255, 0.05);
   padding-left: 30px;
}

.dropdown-icon {
   font-size: 14px;
   margin-right: 10px;
   opacity: 0;
}

.sidebar:hover .dropdown-icon {
   opacity: 1;
}

.rotate {
   transform: rotate(180deg);
}

.main-content {
   flex: 1;
   margin-left: 60px;
   transition: margin-left 0.3s ease;
}

.sidebar:hover ~ .main-content {
   margin-left: 250px;
}

@media (max-width: 768px) {
   .sidebar {
         width: 50px;
   }
   
   .sidebar:hover {
         width: 200px;
   }
   
   .sidebar:hover ~ .main-content {
         margin-left: 200px;
   }
   
   .main-content {
         margin-left: 50px;
         padding: 15px;
   }
   
   .dropdown-item-sidebar {
         padding-left: 55px;
   }
   
   .dropdown-item-sidebar:hover {
         padding-left: 60px;
   }
}