/* User Avatar Dropdown Styles */
.user-menu-dropdown {
    position: relative;
    display: inline-block;
}
.user-avatar-btn {
    background: none;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-avatar-btn:hover {
    border-color: #e2a750;
    transform: scale(1.05);
}
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 250px;
    z-index: 1000000;
    display: none;
    overflow: hidden;
}
.user-dropdown-menu.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.user-info-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}
.user-details {
    flex: 1;
    min-width: 0;
}
.user-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-email {
    font-size: 12px;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    margin-top: 4px;
}
.user-badge.admin {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.dropdown-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}
.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
    gap: 10px;
}
.dropdown-item:hover {
    background: #f5f5f5;
}
.dropdown-item.logout {
    color: #dc3545;
}
.dropdown-item.logout:hover {
    background: #fee;
}
.dropdown-item i {
    width: 20px;
    text-align: center;
}
