/* Bossline Header — User Info Component
   Single source of truth. Used on every authenticated page.
   Replaces the duplicated .user-info family from 16 page-specific CSS files. */

.user-info {
    display: none;
    align-items: center;
    gap: 12px;
    background-color: black;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    height: 60px;
    position: relative;
}

.user-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-name {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.user-line {
    border: none;
    border-left: 1px solid white;
    height: 30px;
    margin: 0 4px;
    flex-shrink: 0;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1a1a1a;
    border-radius: 7px;
    padding: 0.5rem 0;
    min-width: 180px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dropdown-menu p {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    margin: 0;
    cursor: pointer;
}

.dropdown-menu p:hover {
    color: rgb(149, 129, 18);
}

.user-info:hover .dropdown-menu {
    display: block;
}
