.entity-card {
    height: 450px; 
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .entity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .description-container {
    height: 3rem; 
    margin-bottom: 1rem;
    position: relative;
  }
  
  .description-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word; 
    width: 100%;
  }
  
  
  .tooltip-text {
    visibility: hidden;
    width: 100%;
    background-color: #f8f9fa;
    color: #212529;
    text-align: left;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    
   
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    
    
    opacity: 0;
    transition: opacity 0.3s;
    
    
    max-height: 200px;
    overflow-y: auto;
  }
  
 
  .description-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
  }
  
  
  .dropdown-menu {
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 0.875rem;
    color: #212529;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
  }
  
  .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
  }
  
  .dropdown-item:hover, .dropdown-item:focus {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
  }
  

  .add-entity-btn {
    border-radius: 0.375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
  }
  
  .add-entity-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }