/* Topbar Dropdown Styles */
.user-dropdown-btn {
  border: none !important;
  background: none !important;
  padding: 0.5rem !important;
  color: inherit !important;
  text-decoration: none !important;
  box-shadow: none !important;
  border-radius: 6px !important;
  transition: background-color 0.2s ease !important;
}

.user-dropdown-btn:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
  color: inherit !important;
}

.user-dropdown-btn:focus {
  box-shadow: none !important;
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.user-dropdown-btn::after {
  display: none !important;
}

.user-dropdown-btn .user-info {
  pointer-events: none;
}

.user-dropdown-menu {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 200px;
  margin-top: 0.5rem;
  z-index: 1050 !important;
}

/* Ensure Bootstrap dropdown displays correctly */
.user-dropdown-menu.show {
  display: block !important;
}

.user-dropdown-menu .dropdown-item {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #333;
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease;
}

.user-dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #333;
}

.user-dropdown-menu .dropdown-item i {
  width: 16px;
  text-align: center;
  color: #6c757d;
}

.user-dropdown-menu .dropdown-divider {
  margin: 0.5rem 0;
  border-color: #e0e0e0;
}

.btn-cancel-custom,
.btn-logout-custom {
  width: 170px;
  height: 48px;
  border-radius: 8px;
  padding: 13px 20px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  min-width: 170px;
  box-shadow: none !important;
}

.btn-cancel-custom {
  background-color: #e2e2ec;
  color: #424242;
}

.btn-cancel-custom:hover {
  background-color: #e2e2ec;
  color: #424242;
}

.btn-logout-custom {
  background-color: #3f6cc5;
  color: white;
}

.btn-logout-custom:hover {
  background-color: #3f6cc5;
  color: white;
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
  .user-dropdown-menu {
    min-width: 180px;
  }
}
