header {
  background-color: var(--color-white);
  z-index: 9999;
}

[data-theme="dark"] .nav-logo {
  filter: invert(1) brightness(100);
}

.search-bar {
  min-width: 400px;
}

.search-bar input::-webkit-input-placeholder {
  color: var(--color-first);
  font-weight: 400
}

.search-bar input:-ms-input-placeholder {
  color: var(--color-first);
  font-weight: 400
}

.profile-circle {
  background-color: var(--color-second);
  color: var(--color-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.profile-large {
  width: 60px;
  height: 60px;
  font-size: 24px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--color-dark);
  font-size: 1.25rem;
}

.notification-dot {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -2px;
  left: 52%;
  margin: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.nav-profile .dropdown-menu {
  min-width: 320px;
}

.nav-profile {
  border-left: 1px solid var(--bg-gray2);
}

/* Header Nav Notification */
.nav-notification .dropdown-menu {
  min-width: 300px;
}

.nav-notification .dropdown-menu .dropdown-body {
  max-height: 450px;
  overflow-y: auto;
  position: relative;
}

.nav-notification .dropdown-menu .drop-down-item {
  position: relative;
}

.nav-notification .dropdown-menu .drop-down-item .notification-remove {
  min-height: 24px;
  min-width: 24px;
  text-align: center;
  border-radius: 30px;
  opacity: 0;
  transition: .2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-notification .dropdown-menu .drop-down-item .notification-remove:hover {
  background: var(--bg-light-gray)
}

.nav-notification .dropdown-menu .drop-down-item:hover .notification-remove {
  opacity: 1
}

/* Header Nav Transaction */
.nav-transaction .dropdown-menu {
  min-width: 220px;
}


/* Footer */
footer {
  bottom: 0;
  width: calc(100% - 100px);
  z-index: 1000;
  margin-left: 100px;
  transition: margin-left 0.3s ease, width 0.3s ease;
}

footer.has-slide-menu {
  margin-left: 360px;
  width: calc(100% - 360px);
  transition: margin-left 0.3s ease, width 0.3s ease;
}

@media screen and (max-width: 1200px) {
  footer.has-slide-menu {
    margin-left: 340px;
    width: calc(100% - 340px);
  }
}

@media screen and (max-width: 991px) {
  footer {
    margin-left: 0 !important;
    width: 100% !important;
  }

  footer.has-slide-menu {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

@media screen and (max-width: 576px) {
  footer {
    padding: 8px 0;
  }

  footer .container {
    padding: 0 12px;
  }
}

/*================== @media screen ==================*/
@media screen and (max-width: 1300px) {
  .search-bar {
    min-width: 260px;
  }
}

@media screen and (max-width: 991px) {
  .search-bar {
    min-width: 240px;
  }

  .notification-dot {
    width: 18px;
    height: 18px;
  }

  .notification-dot .iconSize-20 {
    width: 18px;
    height: 18px;
  }
}

/* ========= Mobile + Tablet View (max-width: 991px) ========= */
@media screen and (max-width: 991px) {

  /* Navbar wrapper */
  .navbar.navbar-custom {
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  /* Left section: Menu + Logo */
  .navbar.navbar-custom .d-flex.align-items-center.gap-2,
  .navbar.navbar-custom .d-flex.align-items-center.gap-2.gap-xl-3 {
    width: 50%;
  }

  /* Search bar full width & below header */
  .navbar.navbar-custom .search-bar {
    order: 3;
    width: 100% !important;
    min-width: 100%;
    padding-top: 10px;
  }

  /* Right icon section – shift to right side */
  .navbar.navbar-custom .d-flex.align-items-center.gap-md-3.gap-2 {
    width: 37% !important;
  }

  /* Hide profile section on mobile/tablet */
  .navbar.navbar-custom .nav-profile {
    display: none !important;
  }

  /* Currency / transaction / notification spacing */
  .navbar.navbar-custom .icon-btn {
    padding: 0;
  }

  /* Search input fix */
  .navbar.navbar-custom .search-bar input {
    height: 40px;
    border-radius: 6px;
  }
}

/* @media screen and (max-width: 767px) {
  .navbar.navbar-custom {
    position: relative;
  }
  .navbar.navbar-custom .search-bar {
    left: 0;
    min-width: 100%;
    width: 100%;
    order: 3;
  }
  .navbar.navbar-custom .nav-profile {
    border-left: none;
  }
  .navbar.navbar-custom .menu-btn {
    padding-left: 0 !important;
  }
  .profile-circle {
    width: 32px;
    height: 32px;
  }
  
  header {
    position: relative;
  }
  
  .main-layout-container {
    padding-top: 0 !important;
  }
}
@media screen and (max-width: 576px) {
  .nav-notification .dropdown-menu {
    min-width: 90vw;
    max-width: 90vw;
  }
  
  .navbar.navbar-custom {
    flex-wrap: wrap;
    padding: 8px 12px;
  }
  
  .navbar.navbar-custom .search-bar {
    order: 3;
    width: 100%;
    margin-top: 8px;
  }
} */
/*================== @media screen END ==================*/  
  header {
    position: relative;
  }
  
  .main-layout-container {
    padding-top: 0 !important;
  }
}
@media screen and (max-width: 576px) {
  .nav-notification .dropdown-menu {
    min-width: 90vw;
    max-width: 90vw;
  }
  
  .navbar.navbar-custom {
    flex-wrap: wrap;
    padding: 8px 12px;
  }
  
  .navbar.navbar-custom .search-bar {
    order: 3;
    width: 100%;
    margin-top: 8px;
  }
} */
/*================== @media screen END ==================*/