/* Site NavBar Partial Styles */

/* Profile icon dropdown trigger styling */
.profile-icon-dropdown.btn-link {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}

.profile-icon-dropdown.btn-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
  color: #fff !important;
}

.profile-icon-dropdown.btn-link:active,
.profile-icon-dropdown.btn-link.show,
.profile-icon-dropdown.btn-link[aria-expanded="true"] {
  background-color: rgba(255, 255, 255, 0.25) !important;
  transform: scale(1.05);
  color: #4a90e2 !important; /* Visible blue color when active */
}

.profile-icon-dropdown.btn-link.show i,
.profile-icon-dropdown.btn-link[aria-expanded="true"] i {
  color: #4a90e2 !important; /* Icon color changes to visible blue */
}

.profile-icon-dropdown.btn-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.4);
  outline: none;
}

.profile-icon-dropdown.btn-link::after {
  display: none; /* Remove Bootstrap's default dropdown arrow */
}

/* Ensure dropdown is fully visible */
.header_btns_group .dropdown-menu {
  z-index: 1050 !important;
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header_btns_group .dropdown.show .dropdown-menu,
.header_btns_group .dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: block !important;
}

/* Mobile dropdown button styling */
#accountDropdownMobile.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.625rem 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

#accountDropdownMobile.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#accountDropdownMobile.btn-outline-light:active,
#accountDropdownMobile.btn-outline-light.show {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(0);
}

#accountDropdownMobile.btn-outline-light:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

#accountDropdownMobile.btn-outline-light .btn_icon {
  transition: transform 0.3s ease;
}

#accountDropdownMobile.btn-outline-light.show .btn_icon {
  transform: rotate(180deg);
}

/* Professional dropdown menu styling */
.wall-dropdown-menu {
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 0.75rem;
  padding: 0.5rem 0;
  background: #fff;
  overflow: hidden;
  animation: dropdownFadeIn 0.2s ease-out;
}

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

.wall-dropdown-menu .dropdown-item {
  padding: 0.875rem 1.25rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  font-weight: 500;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  background: transparent;
  position: relative;
}

.wall-dropdown-menu .dropdown-item i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
  color: #6c757d;
  transition: all 0.2s ease;
}

.wall-dropdown-menu .dropdown-item:hover {
  background: linear-gradient(90deg, #f8f9fa 0%, #f1f3f5 100%);
  color: #1a1a1a;
  padding-left: 1.5rem;
}

.wall-dropdown-menu .dropdown-item:hover i {
  color: #495057;
  transform: scale(1.1);
}

.wall-dropdown-menu .dropdown-item.text-danger {
  color: #dc3545;
  margin-top: 0.25rem;
}

.wall-dropdown-menu .dropdown-item.text-danger i {
  color: #dc3545;
}

.wall-dropdown-menu .dropdown-item.text-danger:hover {
  background: linear-gradient(90deg, #fff5f5 0%, #ffe5e5 100%);
  color: #c82333;
  padding-left: 1.5rem;
}

.wall-dropdown-menu .dropdown-item.text-danger:hover i {
  color: #c82333;
  transform: scale(1.1);
}

.wall-dropdown-menu .dropdown-divider {
  margin: 0.5rem 0.75rem;
  border-top: 1px solid #e9ecef;
  opacity: 0.6;
}

/* Ensure dropdown works properly */
.header_btns_group .dropdown {
  position: relative;
}

/* Add subtle hover effect on button label */
#accountDropdown .btn_label {
  transition: all 0.2s ease;
}

#accountDropdown:hover .btn_label {
  letter-spacing: 0.3px;
}

/* Prevent horizontal scrolling and ensure page width matches navbar */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
}

.page_wrapper {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative !important;
}

/* Cart badge hidden by default */
#cartBadge {
  display: none;
}

