:root {
  --navbar-height: 56px; /* Default navbar height */
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 48px; /* Adjusted height for smaller screens */
  }
}



/* Sidebar overlay */
.sidebar-overlay {
  display: none;
}

.sidebar-overlay.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1038;
}

/* Sidebar toggle button */
.sidebar-toggle {
  cursor: pointer;
}

/* Additional navbar styles */
.navbar {
  transition: background-color 0.3s ease-in-out;
}

.navbar.sticky-top {
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link {
  font-size: 1.1rem;
  color: #333;
}

.navbar .nav-link.active {
  font-weight: bold;
}

.navbar .dropdown-menu {
  font-size: 1rem;
}

.authButtons {
  display: block !important;
}

.navbar .dropdown:hover .dropdown-menu {
  display: block;
}

.navbar .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.form-inline {
  display: inline-block;
}

.navbar-header.col {
  padding: 0 !important;
}

.navbar {
  background: #fff;
  padding-left: 16px;
  padding-right: 16px;
  border-bottom: 1px solid #d6d6d6;
  box-shadow: 0 0 4px rgba(0,0,0,.1);
}

.nav-link img {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin: -8px 0;
  float: left;
  margin-right: 10px;
}

.navbar .navbar-brand {
  color: #555;
  padding-left: 0;
  padding-right: 50px;
  font-family: 'Merienda One', sans-serif;
}

.navbar .navbar-brand i {
  font-size: 20px;
  margin-right: 5px;
}

/* navbar.css */
.user-image {
  width: 100px;
  height: 100px;
}

.brand-text {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  font-family: 'Merienda One', sans-serif !important;
}

.brand-link .fa-cube {
  margin-right: 8px;
}



.search-box {
  position: relative;
}

.search-box input {
  box-shadow: none;
  padding-right: 35px;
  border-radius: 3px !important;
}

.search-box .input-group-addon {
  min-width: 35px;
  border: none;
  background: transparent;
  position: absolute;
  right: 0;
  z-index: 9;
  padding: 7px;
  height: 100%;
}

.search-box i {
  color: #a0a5b1;
  font-size: 19px;
}

.navbar .nav-item i {
  font-size: 18px;
}

.navbar .dropdown-item i {
  font-size: 16px;
  min-width: 22px;
}

.navbar .nav-item.open > a {
  background: none !important;
}

.navbar .dropdown-menu {
  border-radius: 1px;
  border-color: #e5e5e5;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.navbar .dropdown-menu a {
  color: #777;
  padding: 8px 20px;
  line-height: normal;
}

.navbar .dropdown-menu a:hover, .navbar .dropdown-menu a:active {
  color: #333;
}

.navbar .dropdown-item .material-icons {
  font-size: 21px;
  line-height: 16px;
  vertical-align: middle;
  margin-top: -2px;
}

.navbar .badge {
  color: #fff;
  background: #f44336;
  font-size: 11px;
  border-radius: 20px;
  position: absolute;
  min-width: 10px;
  padding: 4px 6px 0;
  min-height: 18px;
  top: 5px;
}

.navbar a.notifications, .navbar a.messages {
  position: relative;
  margin-right: 10px;
}

.navbar a.messages {
  margin-right: 20px;
}

.navbar a.notifications .badge {
  margin-left: -8px;
}

.navbar a.messages .badge {
  margin-left: -4px;
}

.navbar .active a, .navbar .active a:hover, .navbar .active a:focus {
  background: transparent !important;
}

@media (min-width: 1200px) {
  .form-inline .input-group {
    width: 300px;
    margin-left: 30px;
  }
}

@media (max-width: 1199px) {
  .form-inline {
    display: block;
    margin-bottom: 10px;
  }
}

@media (max-width: 1199px) {
  .input-group {
    width: 100%;
  }
}
