/* Navbar */
#navbar-main {
  background: linear-gradient(90deg, #0e6591 0%, #1a8bc5 100%);
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1030;
}
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  border-radius: 0.25rem;
}

/* Container */
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  width: 100%;
}

/* Brand */
.brand_name {
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.brand_name:hover {
  color: #ffd700;
  transform: scale(1.05);
}

/* Navigation Icons */
.nav-icons {
  gap: 1.5rem;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-icon i {
  font-size: 1.5rem;
}

.nav-icon:hover {
  color: #ffd700;
  transform: scale(1.15);
}

/* Search Bar */
.search-input-group {
  border-radius: 30px;
  background-color: #fff;
  border: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.search-input-group:hover,
.search-input-group:focus-within {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.search-icon {
  background-color: #0078b9;
  color: #fff;
  border-radius: 50%;
  padding: 0.5rem;
  transition: background-color 0.3s ease;
}

.search-icon:hover {
  background-color: #005579;
}

.search-input {
  border: none;
  border-radius: 30px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background-color: transparent;
}

.search-input:focus {
  outline: none;
  box-shadow: none;
}

/* Profile Dropdown */
.nav-right {
  gap: 1rem;
}

.avatar {
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.avatar:hover {
  transform: scale(1.1);
}

.dropdown-menu {
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  color: #333;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: #f1f5f9;
  color: #0078b9;
}

.dropdown-item:last-child {
  color: #dc3545;
}

.dropdown-item:last-child:hover {
  background-color: #fef2f2;
}

/* Body Adjustment */
body {
  padding-top: 60px;
}

@media (min-width: 992px) {
  .mobile-sidebar-toggle {
    display: none !important;
  }
  .mobile-right-sidebar {
    display: none !important;
  }
}

@media (max-width: 992px) {
  
  .mobile-sidebar-toggle {
    display: block !important;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
  }

  .mobile-right-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    right: 0;
    background: #e8e8e8;
    padding: 2rem;
    z-index: 1050;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    height: 100vh;
    width: 240px;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }
  
  .mobile-right-sidebar.open {
    transform: translateX(0);
  }

  .mobile-right-sidebar .nav-icon {
    color: #000;
    display: flex;
    align-items: center;
    font-size: 1rem;
    gap: 0.5rem;
    text-decoration: none;
  }

  .mobile-right-sidebar .nav-icon:hover {
    color: #0078b9;
  }

  .nav-icons {
    display: none !important;
  }

  
}
