/* 
  work_user_functions.css 
  Styles for the 3-dot paragraph menu icon and its dropdown.
*/

/* Give extra bottom padding so text doesn't go behind the menu icon */
.paragraph-content {
    position: relative;
    padding-bottom: 50px; /* Space for the 3-dot icon */
  }
  
  .paragraph-menu-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
  
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  
    border: 1px solid #ccc;
    transition: background-color 0.2s ease;
  }
  
  .paragraph-menu-icon:hover {
    background-color: #ddd;
  }
  
  /* The hidden menu that appears on click */
  .paragraph-menu {
    position: absolute;
    bottom: 50px; /* Appear above the icon */
    right: 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 225px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 8px 0;
  }
  
  .paragraph-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .paragraph-menu ul li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
  }
  
  .paragraph-menu ul li a:hover {
    background-color: #f2f2f2;
  }
  
  /* Hide the menu by default with a utility class .d-none (also toggled by JS) */
  .d-none {
    display: none !important;
  }
  