/* Custom Navigation Styles */
.bg-teal {
    background-color: #008080 !important;
  }
  
  .nav-link {
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
  }
  
  /* Underline animation for desktop nav links */
  @media (min-width: 992px) {
    .navbar-nav .nav-link::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: -3px;
      left: 0;
      background-color: #ffffff;
      transition: width 0.3s ease-in-out;
    }
    
    .navbar-nav .nav-link:hover::after {
      width: 100%;
    }
  }
  
  /* Improved search bar */
  .search-bar {
    border-radius: 25px !important;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }
  
  .search-bar:hover {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  }
  
  .search-bar:focus-within {
    border-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  }
  
  .search-bar input:focus {
    box-shadow: none;
  }
  
  /* Dropdown styling */
  .dropdown-menu {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 0.5rem 0;
  }
  
  .dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
  }
  
  .dropdown-item:hover {
    background-color: rgba(0, 128, 128, 0.1);
    color: #008080;
  }
  
  .dropdown-item i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
  }
  
  /* Sidebar menu improvements */
  .offcanvas {
    width: 300px !important;
  }
  
  .offcanvas-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
  }
  
  .offcanvas-body .nav-link {
    color: #333;
    padding: 0.7rem 1rem;
    border-radius: 0.25rem;
  }
  
  .offcanvas-body .nav-link:hover {
    background-color: rgba(0, 128, 128, 0.08);
    color: #008080 !important;
  }
  
  .border-dashed {
    border-bottom: 1px dashed #dee2e6;
    margin-bottom: 0.25rem;
  }
  
  /* Admin dropdown styling */
  .dropdown-menu-end {
    right: 0;
    left: auto;
  }
  
  .navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
  }
  
  /* Logo styling */
  .navbar-brand {
    font-weight: bold;
  }
  
  /* Mobile optimizations */
  @media (max-width: 768px) {
    .search-bar {
      margin-top: 0.5rem;
      margin-bottom: 0.5rem;
    }
    
    .offcanvas-body h5 {
      font-size: 1rem;
      margin-top: 1.5rem;
      font-weight: bold;
      color: #008080;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid #008080;
    }
  }
  
  /* Active state for current page */
  .nav-item.active .nav-link {
    font-weight: bold;
    position: relative;
  }
  
  @media (min-width: 992px) {
    .nav-item.active .nav-link::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 2px;
      bottom: -3px;
      left: 0;
      background-color: #ffffff;
    }
  }
  
  /* Improved mobile search form */
  .offcanvas-body form .input-group {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 0.25rem;
    overflow: hidden;
  }
  
  .offcanvas-body form .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    
  }
  
  .offcanvas-body form .input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #ffffff;
    border-color: #ced4da;
    color: #008080;
  }
  
  .offcanvas-body form .input-group .btn:hover {
    background-color: #f8f9fa;
  }